Agnost AI
← Leaderboard

Astro Docs

https://mcp.docs.astro.build/mcp

Lets an agent search the official Astro framework documentation for guides, API references, and configuration details.

Docs & knowledge1 toolsv1.0.0Streamable HTTP
B

78.0/100

#24 of 33 · #22 in Docs & knowledge

Reviewed 23h ago·Scan took 9.3s·Descriptions graded by Claude
Fix it

Fix it with your coding agent

Free. Paste this into Claude Code, Cursor or Codex inside your server's repo.

Fix prompt
Improve the MCP server at https://mcp.docs.astro.build/mcp so AI agents can use it better. It scored 78/100 (B) on the Agnost MCP Leaderboard. Top fixes: 1. Expand the search_astro_docs description to state what it returns (e.g., matching doc page titles, URLs, and content snippets) and how many results, ideally with an outputSchema. 2. Document the query parameter: expected format (natural-language question vs. keywords), examples like 'content collections schema' or 'astro:assets Image component', and any length limits. 3. Add readOnlyHint: true and destructiveHint: false annotations, plus guidance on when to use it (Astro-specific APIs, config, integrations) versus general web search. Per-tool fixes: - search_astro_docs: Search the official Astro framework documentation (docs.astro.build) and return matching page excerpts with titles and URLs. Use for questions about Astro APIs, configuration, components, routing, integrations, or deployment, especially for version-specific details. query: a natural-language question or keywords, e.g. 'content collections schema'. Doesn't describe what is returned (snippets, URLs, full pages?) or how many results No guidance on when to use (e.g., Astro APIs, config, integrations) vs. general web knowledge Query param lacks format guidance (keywords vs. natural language questions) No outputSchema — agents can't tell what the tool returns No readOnlyHint/destructiveHint annotations — clients can't tell safe tools from destructive ones Keep tool names stable. Add readOnlyHint/destructiveHint annotations and outputSchema where missing.

Get the full detailed report

Every tool's score, what broke, and a suggested fix for each one, sent to your inbox.

Score breakdown

Weighted by what breaks agents in 100M+ real MCP calls.

Error quality

3 bad-input tests · 2 clear errors

68/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.0 calls/task

100/100 · 15 pts

↳ The same tool can fail 0% of the time in one client and 13% in another

Tool count & token cost

1 tools · ~414 tokens · 0 overlapping pairs

100/100 · 15 pts

↳ The top 3 tools usually get >99% of calls; the rest just cost context

Schema & docs accuracy

Descriptions 42/100 · 0/1 declare outputSchema

59/100 · 15 pts

↳ Declared output schemas that don't match real output break calls

Response size

median ~6,259 tokens · p95 ~7,562 · no limit params

52/100 · 10 pts

↳ Big responses overflow the agent's context; ~30% of search responses exceed 25k tokens

Latency & long calls

median 496ms · p95 590ms · 0 timeouts

100/100 · 10 pts

↳ After a client cancels a long call, ~39% of sessions end

Connection & login

handshake 359ms · Streamable HTTP

100/100 · 10 pts

↳ After a login or permission error, ~1 in 5 sessions end

Metadata & discoverability

metadata 20/100 · Listed in the official MCP Registry ✕ · mcp.json manifest ✕ · Setup page in the browser ✕

10/100 · 5 pts

↳ The basics. Necessary, but not what makes agents succeed

Error quality

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.

75

Left out a required field · search_astro_docs.query

Protocol error (often hidden from the model) · "MCP error -32602: Invalid arguments for tool search_astro_docs: [ { "code": "invalid_type", "expected": "string", "received": "undefined", "pa"

75

Sent the wrong type · search_astro_docs.query

Protocol error (often hidden from the model) · "MCP error -32602: Invalid arguments for tool search_astro_docs: [ { "code": "invalid_type", "expected": "string", "received": "number", "path""

55

Called a tool that doesn't exist · —

Protocol error (often hidden from the model) · "MCP error -32602: Tool __agnost_nonexistent_tool__ not found"

AI agent test

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 ~2,842 tokens per task on average.

✓

opus-5-5How do I define a schema for content collections in Astro?

Right tool first try · 8.7s · search_astro_docs

✓

opus-5-5Show me how to use the Image component from astro:assets to optimize images.

Right tool first try · 8.5s · search_astro_docs

✓

opus-5-5How do I enable server-side rendering with the Node adapter in Astro?

Right tool first try · 7.0s · search_astro_docs

✓

haiku-5-5How do I define a schema for content collections in Astro?

Right tool first try · 4.8s · search_astro_docs

✓

haiku-5-5Show me how to use the Image component from astro:assets to optimize images.

Right tool first try · 4.7s · search_astro_docs

✓

haiku-5-5How do I enable server-side rendering with the Node adapter in Astro?

Right tool first try · 4.3s · search_astro_docs

✓

gpt-5.5How do I define a schema for content collections in Astro?

Right tool first try · 5.8s · search_astro_docs

✓

gpt-5.5Show me how to use the Image component from astro:assets to optimize images.

Right tool first try · 8.5s · search_astro_docs

✓

gpt-5.5How do I enable server-side rendering with the Node adapter in Astro?

Right tool first try · 5.3s · search_astro_docs

Top 3 fixes

  1. 1

    Expand the search_astro_docs description to state what it returns (e.g., matching doc page titles, URLs, and content snippets) and how many results, ideally with an outputSchema.

  2. 2

    Document the query parameter: expected format (natural-language question vs. keywords), examples like 'content collections schema' or 'astro:assets Image component', and any length limits.

  3. 3

    Add readOnlyHint: true and destructiveHint: false annotations, plus guidance on when to use it (Astro-specific APIs, config, integrations) versus general web search.

Tool-by-tool report

description · schema, weakest first

Get the full detailed report

Enter your email and we'll send you the full report: every tool's score, what broke, and a suggested fix for each one. It also unlocks here.