Agnost AI
← Leaderboard

LangGraph (GitMCP)

https://gitmcp.io/langchain-ai/langgraph

Lets an agent fetch, semantically search, and code-search the LangGraph GitHub repository's documentation and source, plus fetch referenced URLs.

Docs & knowledge4 toolsv1.1.0Streamable HTTP
B-

73.0/100

#29 of 33 · #26 in Docs & knowledge

Reviewed 23h ago·Scan took 33.1s·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/langchain-ai/langgraph so AI agents can use it better. It scored 73/100 (B-) on the Agnost MCP Leaderboard. Top fixes: 1. Agents got stuck retrying in 11% of tasks. 2. 1 call(s) timed out. Long work should start a job the agent can check back on. 3. Clarify the ordering between fetch_langgraph_documentation and search_langgraph_documentation: say that search works on its own, without a prior fetch, and that fetch returns the full llms.txt/README, which can be very large. Today 'Always call this tool first' and 'within the fetched documentation' conflict. Per-tool fixes: - fetch_langgraph_documentation: Fetches the full primary documentation file (e.g. llms.txt or README) of langchain-ai/langgraph as text; no inputs. Use first for broad/overview questions; for specific APIs or topics prefer search_langgraph_documentation. Output may be large. Doesn't say which file is fetched (README? llms.txt?) or how large the output may be 'Always call this tool first' may waste tokens when a targeted search would suffice No guidance contrasting with search_langgraph_documentation 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_langgraph_documentation: Semantic search over langchain-ai/langgraph docs; returns top matching doc chunks with source paths. Use for specific concept/API questions; use natural-language queries. Does not require calling fetch_langgraph_documentation first. Unclear whether fetch must be called first ('within the fetched documentation') Doesn't describe return format or number of results Query format guidance missing (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_generic_url_content: Fetches an absolute http(s) URL (respecting robots.txt) and returns its content as text/markdown. Use for links found in previously fetched LangGraph docs or code search results. Return format not stated (raw HTML, markdown, text?) URL param doesn't require absolute http(s) format in schema 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_langgraph_code: Exact-match code search in langchain-ai/langgraph via GitHub Search API. Use identifiers (e.g. 'StateGraph') not sentences. Returns file paths and URLs (30 per page); fetch contents with fetch_generic_url_content. Doesn't explain GitHub code search query syntax or that exact-match means keywords/identifiers work best Return format vague ('matching files') — paths, URLs, snippets? No guidance on how to then read a matched file 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: 3/3 · haiku-5-5: 2/3 · gpt-5.5: 3/3 · first-call success 67% · 1.9 calls/task

77/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 · ~960 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 64/100 · 0/4 declare outputSchema

66/100 · 15 pts

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

Response size

median ~1,479 tokens · p95 ~12,646 · has limit params

81/100 · 10 pts

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

Latency & long calls

median 1725ms · p95 12909ms · 1 timeouts

49/100 · 10 pts

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

Connection & login

handshake 1316ms · Streamable HTTP

84/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_langgraph_documentation.query

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

75

Sent the wrong type · search_langgraph_documentation.query

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

75

Left out a required field · search_langgraph_code.query

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

75

Sent the wrong type · search_langgraph_code.query

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

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

✓

opus-5-5Give me an overview of what LangGraph is and its main concepts.

Right tool first try · 15.8s · fetch_langgraph_documentation → fetch_generic_url_content

✓

opus-5-5How do I add persistence with checkpointers in LangGraph?

Right tool first try · 11.6s · search_langgraph_documentation

✓

opus-5-5Find where the StateGraph class is defined in the langgraph repo.

Right tool first try · 4.2s · search_langgraph_code

✓

haiku-5-5Give me an overview of what LangGraph is and its main concepts.

Right tool first try · 10.6s · fetch_langgraph_documentation → fetch_generic_url_content

✕

haiku-5-5How do I add persistence with checkpointers in LangGraph?

Timed out after 25s · 25.0s

✓

haiku-5-5Find where the StateGraph class is defined in the langgraph repo.

Right tool first try · 4.7s · search_langgraph_code

✓

gpt-5.5Give me an overview of what LangGraph is and its main concepts.

Right tool first try · 19.8s · fetch_langgraph_documentation → fetch_generic_url_content → fetch_generic_url_content → fetch_generic_url_content

✓

gpt-5.5How do I add persistence with checkpointers in LangGraph?

Got there after trying fetch_langgraph_documentation · 23.6s · fetch_langgraph_documentation → search_langgraph_documentation → fetch_generic_url_content → fetch_generic_url_content

✓

gpt-5.5Find where the StateGraph class is defined in the langgraph repo.

Got there after trying fetch_langgraph_documentation · 9.3s · fetch_langgraph_documentation → search_langgraph_code

Top 3 fixes

  1. 1

    Agents got stuck retrying in 11% of tasks.

  2. 2

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

  3. 3

    Clarify the ordering between fetch_langgraph_documentation and search_langgraph_documentation: say that search works on its own, without a prior fetch, and that fetch returns the full llms.txt/README, which can be very large. Today 'Always call this tool first' and 'within the fetched documentation' conflict.

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.