Agnost AI
← Leaderboard

Perplexity Docs

https://docs.perplexity.ai/mcp

Search and browse Perplexity's public API documentation and OpenAPI specs, and report documentation problems to the docs team.

Docs & knowledge3 toolsv1.0.0Streamable HTTP
B

75.0/100

#27 of 33 · #24 in Docs & knowledge

Reviewed 23h ago·Scan took 27.7s·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://docs.perplexity.ai/mcp so AI agents can use it better. It scored 75/100 (B) on the Agnost MCP Leaderboard. Top fixes: 1. Agents got stuck retrying in 33% of tasks. 2. 2 call(s) timed out. Long work should start a job the agent can check back on. 3. Trim query_docs_filesystem_perplexity's description under 2 KB: keep the supported commands, path layout (`/` root, docs pages plus OpenAPI specs) and one example, and drop the repeated read-only caveats. Per-tool fixes: - submit_feedback: Add: 'Sends the report to the Perplexity docs team; only call when the user asks to report an issue or confirms. Returns a confirmation.' Doesn't say feedback is sent to a docs team externally or whether user consent is needed No indication of what is returned on success No outputSchema — agents can't tell what the tool returns - query_docs_filesystem_perplexity: Trim the examples list to 4 key commands and merge the statelessness paragraph into one sentence to cut tokens while keeping the path-discovery and truncation guidance. Very long; some guidance (path conversion, stateless cd) could be condensed Overlaps with search tool for keyword lookups despite workflow note Description is over 2 KB — Claude Code truncates tool metadata at 2 KB No outputSchema — agents can't tell what the tool returns - search_perplexity: Expand the query param: 'Natural-language or keyword query, e.g. "how to authenticate API requests"; returns top matching doc chunks with titles and page paths.' 'query' param described only as 'Search query' with no guidance on phrasing or length Doesn't state number of results returned or ranking No outputSchema — agents can't tell what the tool returns 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

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

71/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,173 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 85/100 · 0/3 declare outputSchema

81/100 · 15 pts

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

Response size

median ~5,123 tokens · p95 ~8,764 · 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 838ms · p95 10001ms · 2 timeouts

47/100 · 10 pts

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

Connection & login

handshake 974ms · 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 · search_perplexity.query

Model sees it · "Input validation error: Invalid arguments for tool search_perplexity: query: Required"

90

Sent the wrong type · search_perplexity.query

Model sees it · "Input validation error: Invalid arguments for tool search_perplexity: query: Expected string, received number"

90

Left out a required field · query_docs_filesystem_perplexity.command

Model sees it · "Input validation error: Invalid arguments for tool query_docs_filesystem_perplexity: command: Required"

90

Sent the wrong type · query_docs_filesystem_perplexity.command

Model sees it · "Input validation error: Invalid arguments for tool query_docs_filesystem_perplexity: command: Expected string, received number"

55

Called a tool that doesn't exist · —

Protocol error (often hidden from the model) · "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 ~8,997 tokens per task on average.

✓

opus-5-5How do I call the Perplexity Sonar API's chat completions endpoint with streaming enabled?

Right tool first try · 8.8s · search_perplexity

✓

opus-5-5What models does the Perplexity API offer, and which one supports deep research?

Right tool first try · 7.1s · search_perplexity

✓

opus-5-5Find every place in the Perplexity OpenAPI spec that mentions search_domain_filter.

Right tool first try · 8.4s · query_docs_filesystem_perplexity → query_docs_filesystem_perplexity → query_docs_filesystem_perplexity

✓

haiku-5-5How do I call the Perplexity Sonar API's chat completions endpoint with streaming enabled?

Right tool first try · 4.8s · search_perplexity

✓

haiku-5-5What models does the Perplexity API offer, and which one supports deep research?

Right tool first try · 8.1s · search_perplexity → search_perplexity → search_perplexity

✕

haiku-5-5Find every place in the Perplexity OpenAPI spec that mentions search_domain_filter.

Didn't finish in 4 turns · 19.0s · query_docs_filesystem_perplexity → query_docs_filesystem_perplexity → query_docs_filesystem_perplexity → query_docs_filesystem_perplexity

✓

gpt-5.5How do I call the Perplexity Sonar API's chat completions endpoint with streaming enabled?

Right tool first try · 15.0s · search_perplexity → search_perplexity

✕

gpt-5.5What models does the Perplexity API offer, and which one supports deep research?

Didn't finish in 4 turns · 18.4s · search_perplexity → query_docs_filesystem_perplexity → search_perplexity → query_docs_filesystem_perplexity

✓

gpt-5.5Find every place in the Perplexity OpenAPI spec that mentions search_domain_filter.

Right tool first try · 9.0s · query_docs_filesystem_perplexity

Top 3 fixes

  1. 1

    Agents got stuck retrying in 33% of tasks.

  2. 2

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

  3. 3

    Trim query_docs_filesystem_perplexity's description under 2 KB: keep the supported commands, path layout (`/` root, docs pages plus OpenAPI specs) and one example, and drop the repeated read-only caveats.

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.