Agnost AI
← Leaderboard

Langfuse Docs

https://langfuse.com/api/mcp

Search, fetch, and index Langfuse documentation pages, and submit user-approved docs feedback to the Langfuse team.

Docs & knowledge4 toolsv0.1.0Streamable HTTP
B+

83.0/100

#5 of 33 · #4 in Docs & knowledge

Reviewed 23h ago·Scan took 18.4s·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://langfuse.com/api/mcp so AI agents can use it better. It scored 83/100 (B+) on the Agnost MCP Leaderboard. Top fixes: 1. Document the 3 undescribed submitFeedback parameters (e.g., feedback text, optional email, page/context fields) with formats and constraints, and add destructiveHint=false/readOnlyHint=false annotations so clients know it sends data externally. 2. Mark searchLangfuseDocs, getLangfuseDocsPage, and getLangfuseOverview with readOnlyHint=true and add outputSchemas describing returned results (search hits with URLs/snippets, raw Markdown, llms.txt index). 3. Clarify selection between tools: tell agents to use getLangfuseOverview to find paths, getLangfuseDocsPage when a specific path/URL is known, and searchLangfuseDocs for open-ended questions; add human-readable titles. Per-tool fixes: - submitFeedback: Add schema descriptions: feedback = 'The user's feedback text, including an optional reply email they provided'; goal = 'What the user was trying to accomplish when the issue arose'; referenceUrl = 'Optional link to the relevant page or issue'. State the return value, and set destructiveHint/openWorldHint. Parameters 'feedback' and 'goal' have no descriptions; 'goal' purpose unclear Does not say what the tool returns (confirmation, ID?) Sends data externally but has no destructiveHint annotation 3 of 5 parameter(s) have no description 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 - searchLangfuseDocs: Replace the last two sentences with: 'If the answer lives on one known page, use getLangfuseDocsPage instead.' 'If a specific page is needed call getLangfuseDocsPage first' is confusing; it implies calling the page tool before search _meta mention is of little use to the agent No outputSchema — agents can't tell what the tool returns No human-readable title - getLangfuseOverview: Say: 'Call once per session when you need to find candidate doc paths for getLangfuseDocsPage. Skip it if you already know the page or are only asking a conceptual question.' 'when needed' is vague about when to call it versus going straight to search No outputSchema — agents can't tell what the tool returns No human-readable title - getLangfuseDocsPage: Shorten the changelog note to: 'Changelog pages (/changelog/...) only confirm when a feature shipped; their code may be outdated.' Also state what is returned for unknown paths. The changelog guidance is long relative to the core description No behavior is described for invalid or missing paths No outputSchema — agents can't tell what the tool returns 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 · 7 clear errors

89/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: 3/3 · gpt-5.5: 3/3 · first-call success 89% · 1.0 calls/task

92/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 · ~1,715 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 83/100 · 0/4 declare outputSchema

77/100 · 15 pts

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

Response size

median ~5,317 tokens · p95 ~17,359 · no limit params

44/100 · 10 pts

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

Latency & long calls

median 272ms · p95 5536ms · 0 timeouts

90/100 · 10 pts

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

Connection & login

handshake 400ms · 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 ✕

39/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.

90

Left out a required field · submitFeedback.targetType

Model sees it · "MCP error -32602: Input validation error: Invalid arguments for tool submitFeedback: Required at targetType Required at target Required at feedback"

100

Sent an option that doesn't exist · submitFeedback.targetType

Model sees it · "MCP error -32602: Input validation error: Invalid arguments for tool submitFeedback: Invalid enum value. Expected 'skill' | 'mcp-tool' | 'cli' | 'docs' | 'publi"

90

Left out a required field · searchLangfuseDocs.query

Model sees it · "MCP error -32602: Input validation error: Invalid arguments for tool searchLangfuseDocs: Required at query"

90

Sent the wrong type · searchLangfuseDocs.query

Model sees it · "MCP error -32602: Input validation error: Invalid arguments for tool searchLangfuseDocs: Expected string, received number at query"

90

Left out a required field · getLangfuseDocsPage.pathOrUrl

Model sees it · "MCP error -32602: Input validation error: Invalid arguments for tool getLangfuseDocsPage: Required at pathOrUrl"

90

Sent the wrong type · getLangfuseDocsPage.pathOrUrl

Model sees it · "MCP error -32602: Input validation error: Invalid arguments for tool getLangfuseDocsPage: Expected string, received number at pathOrUrl"

70

Called a tool that doesn't exist · —

Model sees it · "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,306 tokens per task on average.

✕

opus-5-5How do I trace an OpenAI call in Python with Langfuse?

Used getLangfuseDocsPage instead of searchLangfuseDocs · 6.8s · getLangfuseDocsPage

✓

opus-5-5Show me the contents of the Langfuse observability overview page at /docs/observability/overview.

Right tool first try · 11.3s · getLangfuseDocsPage

✓

opus-5-5Give me an index of the main Langfuse documentation sections so I can see what's covered.

Right tool first try · 9.0s · getLangfuseOverview

✓

haiku-5-5How do I trace an OpenAI call in Python with Langfuse?

Right tool first try · 11.7s · searchLangfuseDocs

✓

haiku-5-5Show me the contents of the Langfuse observability overview page at /docs/observability/overview.

Right tool first try · 5.6s · getLangfuseDocsPage

✓

haiku-5-5Give me an index of the main Langfuse documentation sections so I can see what's covered.

Right tool first try · 3.7s · getLangfuseOverview

✓

gpt-5.5How do I trace an OpenAI call in Python with Langfuse?

Right tool first try · 9.2s · searchLangfuseDocs

✓

gpt-5.5Show me the contents of the Langfuse observability overview page at /docs/observability/overview.

Right tool first try · 7.9s · getLangfuseDocsPage

✓

gpt-5.5Give me an index of the main Langfuse documentation sections so I can see what's covered.

Right tool first try · 7.6s · getLangfuseOverview

Top 3 fixes

  1. 1

    Document the 3 undescribed submitFeedback parameters (e.g., feedback text, optional email, page/context fields) with formats and constraints, and add destructiveHint=false/readOnlyHint=false annotations so clients know it sends data externally.

  2. 2

    Mark searchLangfuseDocs, getLangfuseDocsPage, and getLangfuseOverview with readOnlyHint=true and add outputSchemas describing returned results (search hits with URLs/snippets, raw Markdown, llms.txt index).

  3. 3

    Clarify selection between tools: tell agents to use getLangfuseOverview to find paths, getLangfuseDocsPage when a specific path/URL is known, and searchLangfuseDocs for open-ended questions; add human-readable titles.

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.