Trigger.dev Docs
https://trigger.dev/docs/mcp
Search and browse Trigger.dev documentation and OpenAPI specs, and report documentation problems to the docs team.
83.0/100
#7 of 33 · #6 in Docs & knowledge
Fix it with your coding agent
Free. Paste this into Claude Code, Cursor or Codex inside your server's repo.
Improve the MCP server at https://trigger.dev/docs/mcp so AI agents can use it better. It scored 83/100 (B+) on the Agnost MCP Leaderboard.
Top fixes:
1. Trim query_docs_filesystem_trigger_dev's description under 2 KB: keep the supported commands, root layout and one example, and move the long usage guidance into a resource so Claude Code doesn't truncate it.
2. State when to use search_trigger_dev (open-ended conceptual questions) versus query_docs_filesystem_trigger_dev (exact paths, grep for a symbol, reading full pages or OpenAPI specs), and add outputSchemas describing the returned results (title, URL, snippet / command stdout).
3. Document submit_feedback's parameters (page URL or path format, problem category enum, description length) and add an outputSchema. Mark it clearly as the only write tool so agents call it only when they find a real documentation defect.
Per-tool fixes:
- query_docs_filesystem_trigger_dev: Name search_trigger_dev explicitly. Condense the examples list to 4 representative commands. The description is very long, and the examples and output-handling notes add token cost. It calls the search tool 'the search tool' instead of using its exact name, search_trigger_dev. Description is over 2 KB — Claude Code truncates tool metadata at 2 KB No outputSchema — agents can't tell what the tool returns
- submit_feedback: Add: 'Only submit when the user agrees or a clear doc error is confirmed; returns a confirmation of submission.' It does not say whether the user should be consulted or asked to confirm before sending feedback. It does not say what the tool returns after submission. No outputSchema — agents can't tell what the tool returns
- search_trigger_dev: Change the parameter description to 'Natural-language or keyword query, e.g. "retry failed tasks"'. Also reference the exact tool name query_docs_filesystem_trigger_dev. The 'query' parameter is described only as 'Search query', with no guidance on phrasing (natural language vs keywords). The result count and result format are not specified. It refers to 'query_docs_filesystem', but the actual tool name is 'query_docs_filesystem_trigger_dev'. No outputSchema — agents can't tell what the tool returns
Keep tool names stable. Add readOnlyHint/destructiveHint annotations and outputSchema where missing.Score breakdown
Weighted by what breaks agents in 100M+ real MCP calls.
Error quality
5 bad-input tests · 4 clear errors
83/100 · 20 pts
↳ Clear errors that name the fix get ~3× more successful retries
Task success across agents
opus-5-5: 3/3 · haiku-5-5: 3/3 · gpt-5.5: 3/3 · first-call success 89% · 1.4 calls/task
94/100 · 15 pts
↳ The same tool can fail 0% of the time in one client and 13% in another
Tool count & token cost
3 tools · ~2,181 tokens · 1 overlapping pairs
94/100 · 15 pts
↳ The top 3 tools usually get >99% of calls; the rest just cost context
Schema & docs accuracy
Descriptions 86/100 · 0/3 declare outputSchema
82/100 · 15 pts
↳ Declared output schemas that don't match real output break calls
Response size
median ~2,887 tokens · p95 ~6,487 · no limit params
62/100 · 10 pts
↳ Big responses overflow the agent's context; ~30% of search responses exceed 25k tokens
Latency & long calls
median 609ms · p95 2307ms · 0 timeouts
96/100 · 10 pts
↳ After a client cancels a long call, ~39% of sessions end
Connection & login
handshake 1224ms · Streamable HTTP
94/100 · 10 pts
↳ After a login or permission error, ~1 in 5 sessions end
Metadata & discoverability
metadata 45/100 · Listed in the official MCP Registry ✕ · mcp.json manifest ✕ · Setup page in the browser ✕
23/100 · 5 pts
↳ The basics. Necessary, but not what makes agents succeed
What your errors look like to an agent
We sent deliberately bad inputs. Errors that name the bad field and the valid values get ~3× more successful retries in real agent traffic.
Left out a required field · search_trigger_dev.query
Model sees it · "Input validation error: Invalid arguments for tool search_trigger_dev: query: Required"
Sent the wrong type · search_trigger_dev.query
Model sees it · "Input validation error: Invalid arguments for tool search_trigger_dev: query: Expected string, received number"
Left out a required field · query_docs_filesystem_trigger_dev.command
Model sees it · "Input validation error: Invalid arguments for tool query_docs_filesystem_trigger_dev: command: Required"
Sent the wrong type · query_docs_filesystem_trigger_dev.command
Model sees it · "Input validation error: Invalid arguments for tool query_docs_filesystem_trigger_dev: command: Expected string, received number"
Called a tool that doesn't exist · —
Protocol error (often hidden from the model) · "Tool __agnost_nonexistent_tool__ not found"
We let a real AI agent use it
3 AI models got realistic tasks and the full tool list. We checked if the first call was right, how many calls it took, and if it finished the job. It used ~7,394 tokens per task on average.
opus-5-5How do I schedule a recurring cron task in Trigger.dev v3?
Right tool first try · 7.1s · search_trigger_dev
opus-5-5Find the Trigger.dev docs on configuring retries and maxAttempts for a task.
Right tool first try · 8.7s · search_trigger_dev
opus-5-5List the documentation pages under the Trigger.dev management API reference section.
Right tool first try · 7.1s · query_docs_filesystem_trigger_dev
haiku-5-5How do I schedule a recurring cron task in Trigger.dev v3?
Right tool first try · 5.8s · search_trigger_dev
haiku-5-5Find the Trigger.dev docs on configuring retries and maxAttempts for a task.
Right tool first try · 3.8s · search_trigger_dev
haiku-5-5List the documentation pages under the Trigger.dev management API reference section.
Right tool first try · 5.6s · query_docs_filesystem_trigger_dev → query_docs_filesystem_trigger_dev
gpt-5.5How do I schedule a recurring cron task in Trigger.dev v3?
Right tool first try · 10.1s · search_trigger_dev → query_docs_filesystem_trigger_dev → query_docs_filesystem_trigger_dev
gpt-5.5Find the Trigger.dev docs on configuring retries and maxAttempts for a task.
Right tool first try · 5.5s · search_trigger_dev
gpt-5.5List the documentation pages under the Trigger.dev management API reference section.
Got there after trying search_trigger_dev · 11.1s · search_trigger_dev → query_docs_filesystem_trigger_dev
Top 3 fixes
- 1
Trim query_docs_filesystem_trigger_dev's description under 2 KB: keep the supported commands, root layout and one example, and move the long usage guidance into a resource so Claude Code doesn't truncate it.
- 2
State when to use search_trigger_dev (open-ended conceptual questions) versus query_docs_filesystem_trigger_dev (exact paths, grep for a symbol, reading full pages or OpenAPI specs), and add outputSchemas describing the returned results (title, URL, snippet / command stdout).
- 3
Document submit_feedback's parameters (page URL or path format, problem category enum, description length) and add an outputSchema. Mark it clearly as the only write tool so agents call it only when they find a real documentation defect.