DEV Community

Cover image for AI agents trust your MCP server's tool list blindly. We read 100 of them
Suncly
Suncly

Posted on AI-assisted

AI agents trust your MCP server's tool list blindly. We read 100 of them

Imagine you shipped an MCP server last month.

One of your tools is called get_orders. Its description says: "Returns the customer's recent orders. Read-only." You wrote that line in thirty seconds, between two pull requests.

Tonight at 2 a.m., an AI agent you've never heard of, run by a company you've never talked to, connects to your server. It reads that line. It has no other information about your tool: it can't see your code, and there's no person to ask. So it believes you, and it acts.

Every MCP server makes promises like that to every agent that connects. We wanted to know what those promises look like across the ecosystem, so we read 100 of them.

What we did

We took the official MCP Registry and ranked the companies behind its remote servers by how well known their website is, using Tranco, a public research ranking of popular domains. Then we connected to their servers best-known first, the way an agent would: the MCP handshake, then tools/list. We called no tools and sent no credentials.

We kept going until 100 servers had answered. That took 445 servers from 390 companies; most of the others need a sign-in before they show anything. The method was published before we collected a single number, and every server's raw answer is public.

Finding 1: one tool list can cost a third of the context window

In most clients, every connected server's tool list goes into the model's context and is sent again with every request.

Tokens Share of a 200k window
Lightest server 155 under 0.1%
Typical server (median) about 3,600 about 2%
Heaviest server (ZAP-Hosting, 233 tools) 64,713 about 32%
Three heaviest together 121,974 about 61%

The heaviest one isn't sloppy: at about 280 tokens per tool it's leaner than the typical server (about 380). It just has a lot of tools. Size adds up quietly, and nothing tells you before you connect.

26 of the 100 servers stay under 1,000 tokens. Examples of compact tool lists: FusionAuth docs (155), Infobip (167), iVisa (238), GameAnalytics docs (239), ImageKit devtools (354).

Finding 2: the big names label their tools

96.5% of the 1,345 tools set readOnlyHint or destructiveHint explicitly. 90 of the 100 servers label every tool. The other 10 label none, which under the protocol's defaults means an agent should assume any of their tools may change or destroy data.

That's far better than the Registry as a whole: a random sample by other researchers (arXiv 2609.10962) found 58.8% of tools with no annotations at all. On their definition, our sample has 3.5%.

Finding 3: tools are explained, their inputs often aren't

Every one of the 1,345 tools has a description. But 17.2% of the input parameters have none, and 42 of the 100 servers leave at least one input unexplained. When an agent meets a parameter called q or id with no description, it guesses.

Check your own server in 30 seconds

Count it the same way we did: take the tools arrays from your tools/list response (all pages combined) and count them as compact JSON with OpenAI's o200k_base tokenizer.

import json
import tiktoken  # pip install tiktoken

# tools.json: the "tools" arrays from your tools/list response, all pages combined into one list
tools = json.load(open("tools.json"))
text = json.dumps(tools, separators=(",", ":"), ensure_ascii=False)
print(len(tiktoken.get_encoding("o200k_base").encode(text)), "tokens")
Enter fullscreen mode Exit fullscreen mode

Other models' tokenizers count somewhat differently, so treat it as a comparison, not an exact bill. Clients that load tools on demand or cache prompts pay less.

If your number is high: move rarely used tools into a second server, cut descriptions that only repeat the schema, and give every input parameter a one-line description.

The question this data can't answer

Go back to get_orders.

Everything above measures what servers say. The label says read-only. The description says "the customer's recent orders". But does the tool really only read? Does it return recent orders, or all of them, or someone else's?

Almost nobody checks this systematically. Not the Registry, not the client, and usually not the builder, because the code works, the tests pass, and the description was written in thirty seconds. The agent at 2 a.m. is often the first one to find out.

That's what Release 2 is about, planned for mid-December: we'll call each read-only tool three times and check every answer against the tool's own description. Every builder sees their result privately at least 10 days before publication, with a free retest and a right to reply.

Who we are

We're Suncly, a small team from Tallinn. We test whether AI agents and MCP servers do what they claim, and we sign the results so anyone can verify them. The index is independent of that: a server's place in it is never for sale.

All the data, every raw server response and the method are open (CC BY 4.0): https://github.com/Suncly-Tech/mcp-reliability-index

If you build an MCP server and want to know, before an agent finds out, whether your tools do what their descriptions promise: suncly.com

So, honestly: when did someone last check what your tool descriptions promise?

Top comments (3)

Collapse
 
agentwareshq profile image
agentwares •

Finding 3 is the one I'd keep an eye on. An undescribed id or q parameter is where the agent has to guess, and a wrong guess on an id doesn't just fail the call — it can act on the wrong resource entirely. That's a different failure mode from a long description; it costs tokens and still leaves the agent guessing.

One thing worth adding to your Release 2 plan: for tools that claim to be read-only, check whether the host actually treats the annotation as load-bearing. Several clients use readOnlyHint to decide whether to ask the user for confirmation before a call, so a tool mislabeled as read-only can skip the approval gate altogether. The annotation isn't decoration — it's the only thing standing between the agent and an unconfirmed write.

Collapse
 
suncly profile image
Suncly •

Thanks, that's a sharp distinction. An undescribed id is worse than a vague one because a wrong guess can still succeed, just on the wrong resource, and nothing in the response tells you.

Agreed on readOnlyHint being load-bearing. Some clients skip the confirmation prompt for tools marked read-only, so a mislabel isn't cosmetic: it moves a write past the approval gate. That's why we treat the annotation as a claim to verify, not as metadata. In Release 2 we only call tools where the hint and a manual read of the name and description agree, and we check each answer against the description.

Catching a hidden write reliably needs a sandbox and a look at the state before and after the call, which we can't do on other people's production servers. So for the public index we'll report the mismatches we can observe, and say clearly what we couldn't check.

Out of curiosity, are you working on the server side or the client side? Would be good to compare notes.

Collapse
 
jsbry profile image
Joshua Bryan •

Useful contrast from a different slice. We graded 14 popular open-source Go and Rust servers from source. 12 could be read, and 8 of those 12 leave readOnlyHint or destructiveHint unset on at least one tool, and 8 have a tool with no title. Your 96.5% is per tool across registry remotes and ours is per server, so both can be true: the gaps sit in a few tools per server. And it cuts both ways. A missing destructiveHint should make a client assume destructive, while a wrong readOnlyHint skips the confirmation entirely.