Agnost Docs
https://docs.agnost.ai/mcp
Search, browse, and query Agnost AI documentation and OpenAPI specs, and report documentation problems.
86.0/100
#3 of 33 · #2 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.agnost.ai/mcp so AI agents can use it better. It scored 86/100 (A-) on the Agnost MCP Leaderboard.
Top fixes:
1. Trim query_docs_filesystem_agnost_ai's description below 2 KB so Claude Code doesn't truncate it. Move the long command reference into a resource and keep the supported commands, the path layout, and one example inline.
2. Add outputSchemas to all three tools. Specify search result fields (title, URL, snippet), the filesystem query stdout format, and the submit_feedback acknowledgement shape.
3. Say when to use search_agnost_ai versus query_docs_filesystem_agnost_ai: semantic search for conceptual questions, filesystem grep/cat for exact strings, full pages, or OpenAPI spec lookups. Document the query parameter format for each.
Per-tool fixes:
- search_agnost_ai: Expand the query param description: 'Natural-language or keyword query, e.g. "how to authenticate API requests"'. Note the result count and format, e.g. 'returns top N chunks with title, snippet, and page path'. 'query' parameter described only as 'Search query' with no guidance on phrasing or length Does not say how many results are returned or how they are ranked No outputSchema — agents can't tell what the tool returns
- query_docs_filesystem_agnost_ai: Cut the repeated path guidance into a single 'Paths' paragraph and list every supported utility explicitly instead of 'basic text utilities'. Very long; some guidance repeats (path discovery and .mdx conversion are explained more than once) Supported command list ends in 'plus basic text utilities', which is vague 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 the feedback to the Agnost docs team and returns a confirmation. Only submit when the user asks to report an issue or agrees to it.' Does not say what the tool returns (e.g. a confirmation or ID) Does not say the feedback is sent to an external team or whether the user should consent first 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 100% · 1.2 calls/task
99/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,180 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 87/100 · 0/3 declare outputSchema
82/100 · 15 pts
↳ Declared output schemas that don't match real output break calls
Response size
median ~1,865 tokens · p95 ~2,968 · no limit params
75/100 · 10 pts
↳ Big responses overflow the agent's context; ~30% of search responses exceed 25k tokens
Latency & long calls
median 786ms · p95 1365ms · 0 timeouts
96/100 · 10 pts
↳ After a client cancels a long call, ~39% of sessions end
Connection & login
handshake 1068ms · 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_agnost_ai.query
Model sees it · "Input validation error: Invalid arguments for tool search_agnost_ai: query: Required"
Sent the wrong type · search_agnost_ai.query
Model sees it · "Input validation error: Invalid arguments for tool search_agnost_ai: query: Expected string, received number"
Left out a required field · query_docs_filesystem_agnost_ai.command
Model sees it · "Input validation error: Invalid arguments for tool query_docs_filesystem_agnost_ai: command: Required"
Sent the wrong type · query_docs_filesystem_agnost_ai.command
Model sees it · "Input validation error: Invalid arguments for tool query_docs_filesystem_agnost_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 ~6,463 tokens per task on average.
opus-5-5How do I install the Agnost AI SDK to track my MCP server analytics?
Right tool first try · 8.7s · search_agnost_ai
opus-5-5Find the Agnost AI docs on configuring user identification for MCP tool calls.
Right tool first try · 7.1s · search_agnost_ai
opus-5-5List all documentation pages available in the Agnost AI docs filesystem.
Right tool first try · 7.2s · query_docs_filesystem_agnost_ai
haiku-5-5How do I install the Agnost AI SDK to track my MCP server analytics?
Right tool first try · 5.0s · search_agnost_ai
haiku-5-5Find the Agnost AI docs on configuring user identification for MCP tool calls.
Right tool first try · 5.3s · search_agnost_ai → search_agnost_ai
haiku-5-5List all documentation pages available in the Agnost AI docs filesystem.
Right tool first try · 5.3s · query_docs_filesystem_agnost_ai
gpt-5.5How do I install the Agnost AI SDK to track my MCP server analytics?
Right tool first try · 6.3s · search_agnost_ai
gpt-5.5Find the Agnost AI docs on configuring user identification for MCP tool calls.
Right tool first try · 7.4s · search_agnost_ai → query_docs_filesystem_agnost_ai
gpt-5.5List all documentation pages available in the Agnost AI docs filesystem.
Right tool first try · 6.8s · query_docs_filesystem_agnost_ai
Top 3 fixes
- 1
Trim query_docs_filesystem_agnost_ai's description below 2 KB so Claude Code doesn't truncate it. Move the long command reference into a resource and keep the supported commands, the path layout, and one example inline.
- 2
Add outputSchemas to all three tools. Specify search result fields (title, URL, snippet), the filesystem query stdout format, and the submit_feedback acknowledgement shape.
- 3
Say when to use search_agnost_ai versus query_docs_filesystem_agnost_ai: semantic search for conceptual questions, filesystem grep/cat for exact strings, full pages, or OpenAPI spec lookups. Document the query parameter format for each.