Resend Docs
https://resend.com/docs/mcp
Search and browse Resend's email API documentation and OpenAPI specs, and report documentation problems.
78.0/100
#23 of 33 · #21 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://resend.com/docs/mcp so AI agents can use it better. It scored 78/100 (B) on the Agnost MCP Leaderboard.
Top fixes:
1. Agents got stuck retrying in 22% of tasks.
2. Responses reach ~26,720 tokens (95th percentile). Add limits, pagination or summaries.
3. Trim query_docs_filesystem_resend's description under 2 KB: list the supported commands (ls, cat, grep, etc.), path layout, and one example, and move the extended guidance into a resource so the 2 KB truncation doesn't cut it off.
Per-tool fixes:
- search_resend: Describe the query param as 'Natural-language or keyword query, e.g. "send email with attachments"; returns top matching doc chunks with titles and URL paths.' Query parameter described only as 'Search query' with no guidance on phrasing (natural language vs keywords) Does not state result count or ranking behavior No outputSchema — agents can't tell what the tool returns
- query_docs_filesystem_resend: Name search_resend explicitly in the workflow section and trim the examples list to the 4 most distinct commands. Very long; some guidance (path conversion, truncation tips) could be condensed Refers to 'the search tool' without naming search_resend explicitly 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: 'Sends feedback to the Resend docs team; confirm with the user before submitting. Returns a confirmation.' Doesn't say what is returned or whether the user should be consulted before submitting Sends data externally but this side effect isn't stated as such 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: 3/3 · gpt-5.5: 2/3 · first-call success 89% · 2.0 calls/task
73/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,161 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 ~2,602 tokens · p95 ~26,720 · no limit params
36/100 · 10 pts
↳ Big responses overflow the agent's context; ~30% of search responses exceed 25k tokens
Latency & long calls
median 706ms · p95 6773ms · 0 timeouts
90/100 · 10 pts
↳ After a client cancels a long call, ~39% of sessions end
Connection & login
handshake 1052ms · 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 ✕
39/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_resend.query
Model sees it · "Input validation error: Invalid arguments for tool search_resend: query: Required"
Sent the wrong type · search_resend.query
Model sees it · "Input validation error: Invalid arguments for tool search_resend: query: Expected string, received number"
Left out a required field · query_docs_filesystem_resend.command
Model sees it · "Input validation error: Invalid arguments for tool query_docs_filesystem_resend: command: Required"
Sent the wrong type · query_docs_filesystem_resend.command
Model sees it · "Input validation error: Invalid arguments for tool query_docs_filesystem_resend: 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,173 tokens per task on average.
opus-5-5How do I send an email with an attachment using Resend's Node.js SDK?
Right tool first try · 9.7s · search_resend
opus-5-5What are the rate limits for the Resend API?
Right tool first try · 5.8s · search_resend
opus-5-5Show me the request body fields for the POST /emails endpoint in Resend's OpenAPI spec.
Didn't finish in 4 turns · 8.2s · query_docs_filesystem_resend → query_docs_filesystem_resend → query_docs_filesystem_resend → query_docs_filesystem_resend
haiku-5-5How do I send an email with an attachment using Resend's Node.js SDK?
Right tool first try · 11.6s · search_resend → query_docs_filesystem_resend
haiku-5-5What are the rate limits for the Resend API?
Right tool first try · 11.2s · search_resend
haiku-5-5Show me the request body fields for the POST /emails endpoint in Resend's OpenAPI spec.
Right tool first try · 7.4s · query_docs_filesystem_resend → query_docs_filesystem_resend → search_resend
gpt-5.5How do I send an email with an attachment using Resend's Node.js SDK?
Right tool first try · 5.3s · search_resend
gpt-5.5What are the rate limits for the Resend API?
Right tool first try · 4.7s · search_resend
gpt-5.5Show me the request body fields for the POST /emails endpoint in Resend's OpenAPI spec.
Didn't finish in 4 turns · 13.3s · search_resend → query_docs_filesystem_resend → query_docs_filesystem_resend → query_docs_filesystem_resend
Top 3 fixes
- 1
Agents got stuck retrying in 22% of tasks.
- 2
Responses reach ~26,720 tokens (95th percentile). Add limits, pagination or summaries.
- 3
Trim query_docs_filesystem_resend's description under 2 KB: list the supported commands (ls, cat, grep, etc.), path layout, and one example, and move the extended guidance into a resource so the 2 KB truncation doesn't cut it off.