Agnost AI
← Leaderboard

Socket

https://mcp.socket.dev

Check open-source package supply-chain scores, browse package files, and review Socket organization security alerts and threat feeds.

Security7 toolsv0.4.0Streamable HTTP
B-

74.0/100

#22 of 32 · #1 in Security

Reviewed 23h ago·Scan took 7.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://mcp.socket.dev/ so AI agents can use it better. It scored 74/100 (B-) on the Agnost MCP Leaderboard. Top fixes: 1. Agents got stuck retrying in 33% of tasks. 2. Add outputSchemas for all seven tools, especially depscore (per-category 0-100 scores plus alert list) and package_files (path, size, hash tree), so agents can parse results reliably. 3. Trim the repeated 'using the `X` tool from Socket' phrasing and put the key information first: accepted ecosystems/PURL format for depscore and package_files, plus batch limits for depscore. Per-tool fixes: - threat_feed: Give a meaning for each filter code, e.g. 'spy (spyware)'. Add: 'Use this for registry-wide malicious packages, not your org's own dependency alerts (use alerts for those).' Filter codes mjo, kes, spy, ano, ucf, ptp, ual are not explained Distinction from alerts is unclear Bad-input test (missing required: org_slug) got an unhelpful error: "Streamable HTTP error: Error POSTing to endpoint: {"error":"invalid_request","error_description":"Authentication require" Bad-input test (wrong type: org_slug) got an unhelpful error: "Streamable HTTP error: Error POSTing to endpoint: {"error":"invalid_request","error_description":"Authentication require" No outputSchema — agents can't tell what the tool returns - depscore: Add: 'For individual alerts on a package use alerts (org-scoped); for known malware use threat_feed. Accepts up to N packages per call.' Doesn't say when to use alerts or threat_feed instead for org-level or malware questions No batch size limit stated for packages array No outputSchema — agents can't tell what the tool returns - alerts: Add: 'Covers alerts on packages the org monitors in its repos. For globally flagged malware use threat_feed; for scoring a single package use depscore. Each alert includes type, severity, package and repo.' Doesn't say how it differs from threat_feed or depscore Return fields per alert not described severity, category and artifact_type use comma strings with no enum validation Bad-input test (missing required: org_slug) got an unhelpful error: "Streamable HTTP error: Error POSTing to endpoint: {"error":"invalid_request","error_description":"Authentication require" Bad-input test (wrong type: org_slug) got an unhelpful error: "Streamable HTTP error: Error POSTing to endpoint: {"error":"invalid_request","error_description":"Authentication require" No outputSchema — agents can't tell what the tool returns - organizations: List the Socket organizations the authenticated user belongs to, returning each org's name and org_slug. Call this first to get org_slug for alerts and threat_feed. Return fields beyond org_slug not described Redundant phrase 'with the `organizations` tool' No outputSchema — agents can't tell what the tool returns - package_file_contents: Add: 'For large files, or to find specific symbols, prefer package_file_grep.' Doesn't advise using package_file_grep for large files No outputSchema — agents can't tell what the tool returns - package_files: Add: 'If the call errors because multiple artifacts exist, retry with an artifactId taken from the error message.' Doesn't say how to find the right artifactId when one is required No outputSchema — agents can't tell what the tool returns - package_file_grep: Caching detail is of marginal use to the agent 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

7 bad-input tests · 3 clear errors

63/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: 1/3 · first-call success 33% · 1.3 calls/task

38/100 · 15 pts

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

Tool count & token cost

7 tools · ~3,820 tokens · 2 overlapping pairs

85/100 · 15 pts

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

Schema & docs accuracy

Descriptions 87/100 · 0/7 declare outputSchema

83/100 · 15 pts

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

Response size

median ~43 tokens · p95 ~43 · has limit params

100/100 · 10 pts

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

Latency & long calls

median 445ms · p95 621ms · 0 timeouts

100/100 · 10 pts

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

Connection & login

handshake 718ms · Streamable HTTP

100/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 ✕

10/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 · depscore.packages

Model sees it · "Invalid tool arguments. Validation failed at: /packages (required field), /packages (schema constraint)"

80

Sent the wrong type · depscore.packages

Model sees it · "Invalid tool arguments. Validation failed at: /packages (schema constraint)"

50

Left out a required field · alerts.org_slug

Protocol error (often hidden from the model) · "Streamable HTTP error: Error POSTing to endpoint: {"error":"invalid_request","error_description":"Authentication required for this tool"}"

50

Sent the wrong type · alerts.org_slug

Protocol error (often hidden from the model) · "Streamable HTTP error: Error POSTing to endpoint: {"error":"invalid_request","error_description":"Authentication required for this tool"}"

50

Left out a required field · threat_feed.org_slug

Protocol error (often hidden from the model) · "Streamable HTTP error: Error POSTing to endpoint: {"error":"invalid_request","error_description":"Authentication required for this tool"}"

50

Sent the wrong type · threat_feed.org_slug

Protocol error (often hidden from the model) · "Streamable HTTP error: Error POSTing to endpoint: {"error":"invalid_request","error_description":"Authentication required for this tool"}"

70

Called a tool that doesn't exist · —

Model sees it · "Unknown tool: __agnost_nonexistent_tool__"

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,283 tokens per task on average.

✓

opus-5-5Before I add lodash to my project, check its Socket supply chain and vulnerability scores.

Right tool first try · 4.6s · depscore

✕

opus-5-5Which Socket organizations do I belong to?

Every tool call failed · 6.2s · organizations → organizations

✕

opus-5-5Show me the list of files published in the npm package express version 4.18.2.

Every tool call failed · 5.5s · package_files

✓

haiku-5-5Before I add lodash to my project, check its Socket supply chain and vulnerability scores.

Right tool first try · 4.0s · depscore

✕

haiku-5-5Which Socket organizations do I belong to?

Every tool call failed · 4.6s · organizations → organizations

✕

haiku-5-5Show me the list of files published in the npm package express version 4.18.2.

Every tool call failed · 4.6s · package_files → package_files

✓

gpt-5.5Before I add lodash to my project, check its Socket supply chain and vulnerability scores.

Right tool first try · 3.6s · depscore

✕

gpt-5.5Which Socket organizations do I belong to?

Every tool call failed · 3.2s · organizations

✕

gpt-5.5Show me the list of files published in the npm package express version 4.18.2.

Every tool call failed · 3.7s · package_files

Top 3 fixes

  1. 1

    Agents got stuck retrying in 33% of tasks.

  2. 2

    Add outputSchemas for all seven tools, especially depscore (per-category 0-100 scores plus alert list) and package_files (path, size, hash tree), so agents can parse results reliably.

  3. 3

    Trim the repeated 'using the `X` tool from Socket' phrasing and put the key information first: accepted ecosystems/PURL format for depscore and package_files, plus batch limits for depscore.

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.