Agnost AI
← Leaderboard

Gitmcp · modelcontextprotocol/typescript-sdk

https://gitmcp.io/modelcontextprotocol/typescript-sdk

Lets an agent read, semantically search, and code-search the modelcontextprotocol/typescript-sdk GitHub repository docs, plus fetch referenced URLs.

Developer tools4 toolsv1.1.0Streamable HTTP
C+

66.0/100

#30 of 33 · #4 in Developer tools

Reviewed 23h ago·Scan took 33.8s·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://gitmcp.io/modelcontextprotocol/typescript-sdk so AI agents can use it better. It scored 66/100 (C+) on the Agnost MCP Leaderboard. Top fixes: 1. 2 call(s) timed out. Long work should start a job the agent can check back on. 2. Finish the truncated descriptions: fetch_typescript_sdk_docs ends at 'Always call this tool first if asked', search_typescript_sdk_code at 'Returns matching files for you to', and fetch_generic_url_content at 'mentioned in pr'. These cut-offs hide the guidance an agent needs to choose between tools. 3. Spell out when to use each tool. Say when to use search_typescript_sdk_docs (semantic, needs a natural-language query) versus search_typescript_sdk_code (exact-match GitHub code search, needs literal identifiers like 'McpServer'). Also state whether docs search requires a prior fetch_typescript_sdk_docs call. Per-tool fixes: - search_typescript_sdk_docs: Semantic search over the modelcontextprotocol/typescript-sdk documentation. Returns the most relevant text excerpts. Use it for specific questions, such as how to register a tool or configure a transport, when fetching the full docs would be too much. query: a natural-language question or topic. Doesn't describe the return shape (chunks, number of results, whether sources are included) 'within the fetched documentation' leaves it unclear whether fetch_typescript_sdk_docs must be called first No guidance on how to phrase the query (natural language vs keywords) No outputSchema — agents can't tell what the tool returns No readOnlyHint/destructiveHint annotations — clients can't tell safe tools from destructive ones No human-readable title - fetch_typescript_sdk_docs: Fetches the main documentation file (e.g. README.md or llms.txt) of the GitHub repo modelcontextprotocol/typescript-sdk and returns it as full markdown text. Takes no arguments. Call this first for any question about the MCP TypeScript SDK. Then use search_typescript_sdk_docs for narrow lookups inside the docs, or search_typescript_sdk_code for source code. Doesn't say which documentation file is fetched (README? llms.txt?) or the output format/size 'Useful for general questions' is vague about when to use it instead of search_typescript_sdk_docs Doesn't state that it takes no parameters No outputSchema — agents can't tell what the tool returns No readOnlyHint/destructiveHint annotations — clients can't tell safe tools from destructive ones No human-readable title - search_typescript_sdk_code: Exact-match code search in modelcontextprotocol/typescript-sdk via the GitHub Search API. Returns matching file paths and URLs, 30 per page. Use it to find implementations of a symbol or identifier (e.g. 'McpServer'), not for conceptual questions. To read a file, pass its URL to fetch_generic_url_content. page starts at 1. Doesn't explain how to 'query further' on the returned files (e.g. with fetch_generic_url_content on raw URLs) Doesn't explain the exact-match query syntax or whether GitHub qualifiers are supported Doesn't say when to prefer this over the docs search No outputSchema — agents can't tell what the tool returns No readOnlyHint/destructiveHint annotations — clients can't tell safe tools from destructive ones No human-readable title - fetch_generic_url_content: Fetches an absolute http(s) URL and returns its content as text, respecting robots.txt (blocked URLs return an error). Use it only to follow links found in docs or code search results. url must be absolute, e.g. https://modelcontextprotocol.io/docs. Doesn't state the returned format (raw HTML vs extracted text/markdown) Doesn't mention failure behavior when a URL is blocked by robots.txt No outputSchema — agents can't tell what the tool returns No readOnlyHint/destructiveHint annotations — clients can't tell safe tools from destructive ones No human-readable title 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

7 bad-input tests · 6 clear errors

72/100 · 20 pts

↳ Clear errors that name the fix get ~3× more successful retries

Task success across agents

opus-5-5: 1/3 · haiku-5-5: 1/3 · gpt-5.5: 0/3 · first-call success 22% · 0.2 calls/task

42/100 · 15 pts

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

Tool count & token cost

4 tools · ~991 tokens · 2 overlapping pairs

88/100 · 15 pts

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

Schema & docs accuracy

Descriptions 66/100 · 0/4 declare outputSchema

67/100 · 15 pts

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

Response size

median ~2,650 tokens · p95 ~2,713 · has limit params

88/100 · 10 pts

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

Latency & long calls

median 1709ms · p95 15004ms · 2 timeouts

33/100 · 10 pts

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

Connection & login

handshake 732ms · Streamable HTTP

90/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 ✓

27/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_typescript_sdk_docs.query

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

75

Sent the wrong type · search_typescript_sdk_docs.query

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

75

Left out a required field · search_typescript_sdk_code.query

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

75

Sent the wrong type · search_typescript_sdk_code.query

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

75

Left out a required field · fetch_generic_url_content.url

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

75

Sent the wrong type · fetch_generic_url_content.url

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

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 ~810 tokens per task on average.

✕

opus-5-5Give me an overview of the MCP TypeScript SDK and how to install it.

Timed out after 25s · 25.0s

✕

opus-5-5How do I set up a Streamable HTTP transport with the MCP TypeScript SDK?

Timed out after 25s · 25.0s

✓

opus-5-5Find where the McpServer class is defined in the typescript-sdk repo.

Right tool first try · 4.1s · search_typescript_sdk_code

✕

haiku-5-5Give me an overview of the MCP TypeScript SDK and how to install it.

Timed out after 25s · 25.0s

✕

haiku-5-5How do I set up a Streamable HTTP transport with the MCP TypeScript SDK?

Timed out after 25s · 25.0s

✓

haiku-5-5Find where the McpServer class is defined in the typescript-sdk repo.

Right tool first try · 3.6s · search_typescript_sdk_code

✕

gpt-5.5Give me an overview of the MCP TypeScript SDK and how to install it.

Timed out after 25s · 25.0s

✕

gpt-5.5How do I set up a Streamable HTTP transport with the MCP TypeScript SDK?

Timed out after 25s · 25.0s

✕

gpt-5.5Find where the McpServer class is defined in the typescript-sdk repo.

Timed out after 25s · 25.0s

Top 3 fixes

  1. 1

    2 call(s) timed out. Long work should start a job the agent can check back on.

  2. 2

    Finish the truncated descriptions: fetch_typescript_sdk_docs ends at 'Always call this tool first if asked', search_typescript_sdk_code at 'Returns matching files for you to', and fetch_generic_url_content at 'mentioned in pr'. These cut-offs hide the guidance an agent needs to choose between tools.

  3. 3

    Spell out when to use each tool. Say when to use search_typescript_sdk_docs (semantic, needs a natural-language query) versus search_typescript_sdk_code (exact-match GitHub code search, needs literal identifiers like 'McpServer'). Also state whether docs search requires a prior fetch_typescript_sdk_docs call.

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.