Courier Docs
https://www.courier.com/docs/mcp
Search and browse Courier's notification platform documentation and OpenAPI specs, and report documentation problems.
81.0/100
#13 of 33 · #12 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://www.courier.com/docs/mcp so AI agents can use it better. It scored 81/100 (B+) on the Agnost MCP Leaderboard.
Top fixes:
1. Agents got stuck retrying in 22% of tasks.
2. Trim query_docs_filesystem_courier's description below 2 KB so it isn't truncated; move command examples into the parameter schema and keep only supported commands, path layout, and output limits.
3. Clarify when to use search_courier (conceptual or keyword lookup) versus query_docs_filesystem_courier (exact paths, grep over OpenAPI specs, reading full pages), and state what each returns, such as titles, URLs, and snippets.
Per-tool fixes:
- submit_feedback: Add: 'Sends feedback to the Courier docs team and returns a confirmation. Only submit when the user agrees or a clear doc error was verified.' Doesn't say what the tool returns or confirms Doesn't say whether the agent should get user consent before submitting, since it sends data externally No outputSchema — agents can't tell what the tool returns
- query_docs_filesystem_courier: Name search_courier explicitly in the workflow section. Merge the duplicated path-guessing guidance into one sentence to cut tokens. Very long; some repetition (path discovery advice repeated with search tool workflow) Refers to 'the search tool' without naming search_courier Description is over 2 KB — Claude Code truncates tool metadata at 2 KB No outputSchema — agents can't tell what the tool returns
- search_courier: Expand the query param description: 'Natural-language or keyword query, e.g. "send SMS with Twilio provider"'. Also state how many results are returned. Query param description 'Search query' gives no guidance on phrasing or length Doesn't state number of results returned or ranking 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: 2/3 · haiku-5-5: 2/3 · gpt-5.5: 2/3 · first-call success 89% · 2.3 calls/task
66/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,167 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 85/100 · 0/3 declare outputSchema
81/100 · 15 pts
↳ Declared output schemas that don't match real output break calls
Response size
median ~1,891 tokens · p95 ~7,981 · no limit params
69/100 · 10 pts
↳ Big responses overflow the agent's context; ~30% of search responses exceed 25k tokens
Latency & long calls
median 632ms · p95 917ms · 0 timeouts
100/100 · 10 pts
↳ After a client cancels a long call, ~39% of sessions end
Connection & login
handshake 874ms · Streamable HTTP
100/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_courier.query
Model sees it · "Input validation error: Invalid arguments for tool search_courier: query: Required"
Sent the wrong type · search_courier.query
Model sees it · "Input validation error: Invalid arguments for tool search_courier: query: Expected string, received number"
Left out a required field · query_docs_filesystem_courier.command
Model sees it · "Input validation error: Invalid arguments for tool query_docs_filesystem_courier: command: Required"
Sent the wrong type · query_docs_filesystem_courier.command
Model sees it · "Input validation error: Invalid arguments for tool query_docs_filesystem_courier: 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 ~8,911 tokens per task on average.
opus-5-5How do I send a notification with Courier's Node.js SDK?
Right tool first try · 6.5s · search_courier
opus-5-5Find the OpenAPI definition for Courier's POST /send endpoint and list its request body fields.
Didn't finish in 4 turns · 9.2s · query_docs_filesystem_courier → query_docs_filesystem_courier → query_docs_filesystem_courier → query_docs_filesystem_courier
opus-5-5What channels does Courier support for routing, e.g. email, SMS, and push failover?
Right tool first try · 10.6s · search_courier → query_docs_filesystem_courier
haiku-5-5How do I send a notification with Courier's Node.js SDK?
Right tool first try · 5.3s · search_courier → query_docs_filesystem_courier
haiku-5-5Find the OpenAPI definition for Courier's POST /send endpoint and list its request body fields.
Didn't finish in 4 turns · 7.7s · query_docs_filesystem_courier → query_docs_filesystem_courier → query_docs_filesystem_courier → query_docs_filesystem_courier
haiku-5-5What channels does Courier support for routing, e.g. email, SMS, and push failover?
Right tool first try · 4.5s · search_courier
gpt-5.5How do I send a notification with Courier's Node.js SDK?
Right tool first try · 5.1s · search_courier
gpt-5.5Find the OpenAPI definition for Courier's POST /send endpoint and list its request body fields.
Didn't finish in 4 turns · 7.8s · search_courier → search_courier → query_docs_filesystem_courier → query_docs_filesystem_courier
gpt-5.5What channels does Courier support for routing, e.g. email, SMS, and push failover?
Right tool first try · 7.3s · search_courier → query_docs_filesystem_courier
Top 3 fixes
- 1
Agents got stuck retrying in 22% of tasks.
- 2
Trim query_docs_filesystem_courier's description below 2 KB so it isn't truncated; move command examples into the parameter schema and keep only supported commands, path layout, and output limits.
- 3
Clarify when to use search_courier (conceptual or keyword lookup) versus query_docs_filesystem_courier (exact paths, grep over OpenAPI specs, reading full pages), and state what each returns, such as titles, URLs, and snippets.