Agnost AI
← Leaderboard

Svelte

https://mcp.svelte.dev/mcp

Lets agents fetch official Svelte 5/SvelteKit docs, autofix Svelte components, and generate Playground links.

Developer tools4 toolsv0.0.1Streamable HTTP
A-

88.0/100

#4 of 32 · #2 in Developer tools

Reviewed 23h ago·Scan took 12.0s·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.svelte.dev/mcp so AI agents can use it better. It scored 88/100 (A-) on the Agnost MCP Leaderboard. Top fixes: 1. Document the undescribed svelte-autofixer parameter (e.g., which of desired_svelte_version/async/filename it is, accepted values and defaults) and state that the tool returns issues/suggestions as a list. 2. Add outputSchemas for get-documentation and list-sections describing the returned structure (section title, path, use_cases, content) so agents can chain list-sections -> get-documentation reliably. 3. Tighten when-to-use guidance: tell agents to call list-sections first to discover valid titles/paths for get-documentation, and replace the 'ALWAYS ask the user' instruction in playground-link with a concise note on when a link is appropriate and its input format (files map, entry App.svelte). Per-tool fixes: - svelte-autofixer: Static analysis of a Svelte component/module: returns a list of issues and suggested fixes (it does not modify code). Run it on any Svelte code before returning that code to the user, and re-run after applying fixes until no issues remain. `code` is the full source of a .svelte or .svelte.ts/js file. 'code' parameter has no description Output format of the suggestions is unspecified Doesn't say whether to re-run the tool after applying fixes 1 of 4 parameter(s) have no description - list-sections: Lists all Svelte 5/SvelteKit doc sections as '* title, use_cases, path'. use_cases are comma-separated keywords (features, project types, 'always' for fundamentals). Match them to the user's intent, then pass all relevant titles/paths to get-documentation in one call. Verbose; the use_cases examples (e-commerce, slider) take up many tokens 'Always run FIRST for any Svelte query' conflicts with get-documentation's advice to rely on own knowledge first No outputSchema — agents can't tell what the tool returns - get-documentation: Retrieves full markdown docs for one or more Svelte 5/SvelteKit sections, matched by title (e.g. "$state") or path (e.g. "cli/overview") from list-sections output. Pass all needed sections in one array call; output is token-heavy, so prefer own knowledge plus svelte-autofixer for simple tasks. Unmatched names return a not-found note. Doesn't describe the output format (raw markdown? concatenated sections?) Conflicting guidance: says call list-sections first, but also says try autofixer/own knowledge before calling No behavior described for unmatched section names No outputSchema — agents can't tell what the tool returns - playground-link: Returns a shareable svelte.dev Playground URL that encodes the given files. Use it only for code delivered in chat, after the user agrees; never use it for code already written to the user's project. Put all imported files flat at the root of `files`. Doesn't state what is returned (a URL string) Grammar errors ('if it wants', 'if are importing') The multi-file note is duplicated in the parameter description 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

6 bad-input tests · 6 clear errors

87/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 67% · 1.3 calls/task

90/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 · ~2,099 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 77/100 · output matched schema 1/1

87/100 · 15 pts

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

Response size

median ~5,780 tokens · p95 ~9,925 · 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 354ms · p95 593ms · 0 timeouts

100/100 · 10 pts

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

Connection & login

handshake 613ms · Streamable HTTP

100/100 · 10 pts

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

Metadata & discoverability

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

78/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 · get-documentation.section

Model sees it · "Invalid arguments for tool get-documentation: [{"kind":"schema","type":"object","expected":"\"section\"","received":"undefined","message":"Invalid key: Expected"

90

Left out a required field · playground-link.name

Model sees it · "Invalid arguments for tool playground-link: [{"kind":"schema","type":"object","expected":"\"name\"","received":"undefined","message":"Invalid key: Expected \"na"

90

Sent the wrong type · playground-link.name

Model sees it · "Invalid arguments for tool playground-link: [{"kind":"schema","type":"string","input":12345,"expected":"string","received":"12345","message":"Invalid type: Expe"

90

Left out a required field · svelte-autofixer.code

Model sees it · "Invalid arguments for tool svelte-autofixer: [{"kind":"schema","type":"object","expected":"\"code\"","received":"undefined","message":"Invalid key: Expected \"c"

90

Sent the wrong type · svelte-autofixer.code

Model sees it · "Invalid arguments for tool svelte-autofixer: [{"kind":"schema","type":"string","input":12345,"expected":"string","received":"12345","message":"Invalid type: Exp"

70

Called a tool that doesn't exist · —

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

✓

opus-5-5Show me the official Svelte 5 documentation for the $state rune.

Right tool first try · 10.4s · get-documentation

✓

opus-5-5What documentation sections are available for SvelteKit and Svelte 5?

Right tool first try · 5.9s · list-sections

✓

opus-5-5Find the SvelteKit docs explaining how routing and +page.svelte files work.

Right tool first try · 6.5s · get-documentation

✓

haiku-5-5Show me the official Svelte 5 documentation for the $state rune.

Right tool first try · 3.8s · get-documentation

✓

haiku-5-5What documentation sections are available for SvelteKit and Svelte 5?

Right tool first try · 4.3s · list-sections

✓

haiku-5-5Find the SvelteKit docs explaining how routing and +page.svelte files work.

Got there after trying list-sections · 4.3s · list-sections → get-documentation

✓

gpt-5.5Show me the official Svelte 5 documentation for the $state rune.

Got there after trying list-sections · 9.7s · list-sections → get-documentation

✓

gpt-5.5What documentation sections are available for SvelteKit and Svelte 5?

Right tool first try · 4.4s · list-sections

✓

gpt-5.5Find the SvelteKit docs explaining how routing and +page.svelte files work.

Got there after trying list-sections · 7.4s · list-sections → get-documentation

Top 3 fixes

  1. 1

    Document the undescribed svelte-autofixer parameter (e.g., which of desired_svelte_version/async/filename it is, accepted values and defaults) and state that the tool returns issues/suggestions as a list.

  2. 2

    Add outputSchemas for get-documentation and list-sections describing the returned structure (section title, path, use_cases, content) so agents can chain list-sections -> get-documentation reliably.

  3. 3

    Tighten when-to-use guidance: tell agents to call list-sections first to discover valid titles/paths for get-documentation, and replace the 'ALWAYS ask the user' instruction in playground-link with a concise note on when a link is appropriate and its input format (files map, entry App.svelte).

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.