Cartesia Docs
https://docs.cartesia.ai/mcp
Search, browse, and query Cartesia's voice AI documentation, and report documentation problems to the docs team.
82.0/100
#10 of 33 · #9 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://docs.cartesia.ai/mcp so AI agents can use it better. It scored 82/100 (B+) on the Agnost MCP Leaderboard.
Top fixes:
1. Agents got stuck retrying in 33% of tasks.
2. Trim query_docs_filesystem_cartesia_docs below 2 KB: move command examples into a compact list of supported commands (ls, cat, grep, find) and drop repeated warnings so Claude Code doesn't truncate it.
3. Clarify when to use search_cartesia_docs (semantic lookup by topic) versus query_docs_filesystem_cartesia_docs (exact path reads, grep for literal strings), and say what each returns: snippets with URLs vs raw page text.
Per-tool fixes:
- submit_feedback: Add: 'Sends feedback to the Cartesia docs team. Only submit when the user agrees. Returns a confirmation.' Doesn't say whether the user should confirm before submitting, or that the feedback is sent externally to the docs team Doesn't say what the tool returns No outputSchema — agents can't tell what the tool returns
- query_docs_filesystem_cartesia_docs: Trim the examples to three. Add one line on quoting, e.g. 'use double quotes for patterns containing spaces'. Long description; the examples and output-truncation guidance could be condensed Command quoting and escaping rules for the single string param are not stated Description is over 2 KB — Claude Code truncates tool metadata at 2 KB No outputSchema — agents can't tell what the tool returns
- search_cartesia_docs: Describe the query param as 'Natural-language question or keywords, e.g. "how to stream TTS over websocket"'. State the maximum number of results returned. Note that omitting version searches the latest docs. 'query' param described only as 'Search query' with no guidance on natural-language vs keyword phrasing Doesn't say how many results are returned or how they are ranked Version filter gives no hint of which versions exist 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: 2/3 · first-call success 100% · 2.3 calls/task
76/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,152 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,176 tokens · p95 ~11,771 · no limit params
54/100 · 10 pts
↳ Big responses overflow the agent's context; ~30% of search responses exceed 25k tokens
Latency & long calls
median 524ms · p95 955ms · 0 timeouts
100/100 · 10 pts
↳ After a client cancels a long call, ~39% of sessions end
Connection & login
handshake 735ms · 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 ✕
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_cartesia_docs.query
Model sees it · "Input validation error: Invalid arguments for tool search_cartesia_docs: query: Required"
Sent the wrong type · search_cartesia_docs.query
Model sees it · "Input validation error: Invalid arguments for tool search_cartesia_docs: query: Expected string, received number"
Left out a required field · query_docs_filesystem_cartesia_docs.command
Model sees it · "Input validation error: Invalid arguments for tool query_docs_filesystem_cartesia_docs: command: Required"
Sent the wrong type · query_docs_filesystem_cartesia_docs.command
Model sees it · "Input validation error: Invalid arguments for tool query_docs_filesystem_cartesia_docs: 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 ~12,192 tokens per task on average.
opus-5-5How do I stream text-to-speech audio over WebSockets with Cartesia's Sonic model?
Right tool first try · 8.9s · search_cartesia_docs
opus-5-5What output audio formats and sample rates does the Cartesia TTS API support?
Right tool first try · 8.8s · search_cartesia_docs → query_docs_filesystem_cartesia_docs
opus-5-5List all documentation pages under the API reference section of the Cartesia docs.
Right tool first try · 14.2s · query_docs_filesystem_cartesia_docs → query_docs_filesystem_cartesia_docs → query_docs_filesystem_cartesia_docs
haiku-5-5How do I stream text-to-speech audio over WebSockets with Cartesia's Sonic model?
Right tool first try · 5.7s · search_cartesia_docs
haiku-5-5What output audio formats and sample rates does the Cartesia TTS API support?
Right tool first try · 5.1s · search_cartesia_docs → query_docs_filesystem_cartesia_docs
haiku-5-5List all documentation pages under the API reference section of the Cartesia docs.
Right tool first try · 8.6s · query_docs_filesystem_cartesia_docs → query_docs_filesystem_cartesia_docs → query_docs_filesystem_cartesia_docs
gpt-5.5How do I stream text-to-speech audio over WebSockets with Cartesia's Sonic model?
Right tool first try · 10.8s · search_cartesia_docs → query_docs_filesystem_cartesia_docs
gpt-5.5What output audio formats and sample rates does the Cartesia TTS API support?
Right tool first try · 9.6s · search_cartesia_docs → search_cartesia_docs → query_docs_filesystem_cartesia_docs
gpt-5.5List all documentation pages under the API reference section of the Cartesia docs.
Didn't finish in 4 turns · 7.9s · query_docs_filesystem_cartesia_docs → query_docs_filesystem_cartesia_docs → query_docs_filesystem_cartesia_docs → query_docs_filesystem_cartesia_docs
Top 3 fixes
- 1
Agents got stuck retrying in 33% of tasks.
- 2
Trim query_docs_filesystem_cartesia_docs below 2 KB: move command examples into a compact list of supported commands (ls, cat, grep, find) and drop repeated warnings so Claude Code doesn't truncate it.
- 3
Clarify when to use search_cartesia_docs (semantic lookup by topic) versus query_docs_filesystem_cartesia_docs (exact path reads, grep for literal strings), and say what each returns: snippets with URLs vs raw page text.