AssemblyAI Docs
https://mcp.assemblyai.com/docs
Search and browse AssemblyAI's public documentation and OpenAPI specs, and report documentation problems to the docs team.
80.0/100
#17 of 33 · #15 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://mcp.assemblyai.com/docs so AI agents can use it better. It scored 80/100 (B+) on the Agnost MCP Leaderboard.
Top fixes:
1. Agents got stuck retrying in 33% of tasks.
2. Trim query_docs_filesystem_assembly_ai's description below 2 KB. Move the long command reference into a resource and keep a short list of supported commands (ls, cat, grep, find) with one example path, so Claude Code doesn't truncate it.
3. Add outputSchemas. search_assembly_ai should return results with title, URL and snippet fields, and query_docs_filesystem_assembly_ai should return stdout text plus an error field. This tells agents what they get back and which URLs to cite.
Per-tool fixes:
- query_docs_filesystem_assembly_ai: Condense the sandbox disclaimer to one sentence. Trim the examples to 4 or 5 of the most distinct commands, keeping the statelessness, 30KB truncation and .mdx path rules. Very long; the sandbox-safety paragraph and the examples list could be condensed Placeholder example paths add tokens without site-specific value Description is over 2 KB — Claude Code truncates tool metadata at 2 KB No outputSchema — agents can't tell what the tool returns
- search_assembly_ai: Expand the query param: 'Natural-language or keyword query, e.g. "speaker diarization" or "how to authenticate"'. Also state that results are excerpt snippets with titles and URL paths, and say how many are returned. Query param description 'Search query' gives no guidance on phrasing or length Doesn't state number of results returned or whether results are snippets vs full pages No outputSchema — agents can't tell what the tool returns
- submit_feedback: Add: 'Only submit when the user agrees or explicitly asks; returns a confirmation of submission.' Doesn't say whether user consent is needed before sending feedback to the docs team Return value / confirmation not described 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 100% · 2.1 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,183 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 ~3,103 tokens · p95 ~23,875 · 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 637ms · p95 2298ms · 0 timeouts
96/100 · 10 pts
↳ After a client cancels a long call, ~39% of sessions end
Connection & login
handshake 995ms · 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 ✕
35/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_assembly_ai.query
Model sees it · "Input validation error: Invalid arguments for tool search_assembly_ai: query: Required"
Sent the wrong type · search_assembly_ai.query
Model sees it · "Input validation error: Invalid arguments for tool search_assembly_ai: query: Expected string, received number"
Left out a required field · query_docs_filesystem_assembly_ai.command
Model sees it · "Input validation error: Invalid arguments for tool query_docs_filesystem_assembly_ai: command: Required"
Sent the wrong type · query_docs_filesystem_assembly_ai.command
Model sees it · "Input validation error: Invalid arguments for tool query_docs_filesystem_assembly_ai: 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,392 tokens per task on average.
opus-5-5How do I enable speaker diarization when transcribing audio with AssemblyAI?
Right tool first try · 8.8s · search_assembly_ai
opus-5-5Find AssemblyAI's guide to real-time streaming transcription in Python.
Right tool first try · 5.3s · search_assembly_ai
opus-5-5Grep the AssemblyAI OpenAPI spec for every parameter related to 'language_detection'.
Didn't finish in 4 turns · 9.8s · query_docs_filesystem_assembly_ai → query_docs_filesystem_assembly_ai → query_docs_filesystem_assembly_ai → query_docs_filesystem_assembly_ai
haiku-5-5How do I enable speaker diarization when transcribing audio with AssemblyAI?
Right tool first try · 4.1s · search_assembly_ai
haiku-5-5Find AssemblyAI's guide to real-time streaming transcription in Python.
Right tool first try · 5.6s · search_assembly_ai → search_assembly_ai
haiku-5-5Grep the AssemblyAI OpenAPI spec for every parameter related to 'language_detection'.
Didn't finish in 4 turns · 5.3s · query_docs_filesystem_assembly_ai → query_docs_filesystem_assembly_ai → query_docs_filesystem_assembly_ai → query_docs_filesystem_assembly_ai
gpt-5.5How do I enable speaker diarization when transcribing audio with AssemblyAI?
Right tool first try · 5.4s · search_assembly_ai
gpt-5.5Find AssemblyAI's guide to real-time streaming transcription in Python.
Right tool first try · 4.2s · search_assembly_ai
gpt-5.5Grep the AssemblyAI OpenAPI spec for every parameter related to 'language_detection'.
Didn't finish in 4 turns · 10.3s · query_docs_filesystem_assembly_ai → query_docs_filesystem_assembly_ai → query_docs_filesystem_assembly_ai → query_docs_filesystem_assembly_ai
Top 3 fixes
- 1
Agents got stuck retrying in 33% of tasks.
- 2
Trim query_docs_filesystem_assembly_ai's description below 2 KB. Move the long command reference into a resource and keep a short list of supported commands (ls, cat, grep, find) with one example path, so Claude Code doesn't truncate it.
- 3
Add outputSchemas. search_assembly_ai should return results with title, URL and snippet fields, and query_docs_filesystem_assembly_ai should return stdout text plus an error field. This tells agents what they get back and which URLs to cite.