I Measured 8 Public APIs as MCP Tools. Most Break Before the Agent Starts.
The easy way to give an AI agent an API is to turn every endpoint into an MCP tool. Most converters do exactly that: one operation, one tool.
I wanted to know what that actually produces for real APIs. So on 28 Nov 2026 I downloaded the official public OpenAPI specs of eight well-known APIs and counted.
The clients have limits
First, the limits on the other side. Every MCP client handles large tool lists differently:
- VS Code (GitHub Copilot Chat): 128 tools per request. Over that, the request fails with "Cannot have more than 128 tools per request".
- Windsurf: 100 tools at a time, across all your MCP servers.
- Cursor: older versions sent only the first 40 MCP tools to the agent. Newer versions give the agent tool names first and load details on demand.
- Claude Code: no fixed count, but once tool definitions pass 10% of the context window, tool search switches on.
What eight APIs look like as tools
One tool per operation, straight from each official spec:
- Swagger Petstore (sample): 19 tools, about 1,900 tokens
- Slack Web API: 174 tools, about 25,800 tokens
- Twilio (API v2010): 197 tools, about 89,300 tokens
- Asana: 271 tools, about 152,700 tokens
- OpenAI API: 388 tools, about 110,200 tokens
- Stripe: 612 tools, about 474,700 tokens
- Jira Cloud: 630 tools, about 216,100 tokens
- GitHub REST API: 1,281 tools, about 453,000 tokens
The token figures are rough: I built a basic tool definition for every operation, measured it as JSON and divided the characters by 4. Deeper schemas would add more, so treat them as on the low side.
What stood out
Seven of the eight go over VS Code's 128. Only the Petstore sample fits. GitHub alone is ten times the limit.
Three need more than 200,000 tokens just to describe their tools. Stripe, GitHub and Jira. That's larger than many models' whole context window, before the agent reads a single message.
A tool's cost varies a lot. From about 100 tokens (Petstore) to nearly 800 (Stripe), because big request bodies and long descriptions travel with every tool on every request.
Some tools have nothing to go on. 47 of Twilio's 197 operations (24%) have neither a summary nor a description. A model choosing from that list only has the name.
Some names are long. 29 of GitHub's operation IDs and 5 of Stripe's are longer than 64 characters. The current MCP specification allows up to 128, but an earlier proposal set 64, and some clients add the server's name in front of every tool name, so long names can still run over. Short names are the safe choice.
Why fewer tools work better
It isn't only the token bill. With a long list of similar tools, a model has to tell create_invoice from create_invoice_item from finalize_invoice on descriptions alone, and it gets that wrong more often as the list grows.
GitHub measured this in Copilot. It cut the default toolset to 13 core tools and added embedding-based tool routing; on its benchmarks, that routing reached 94.5% tool use coverage against 69.0% for the static list.
How many tools should an MCP server have?
There's no official number, but the limits point the same way:
- Stay under 40 per connection. That fits every client above and leaves room for the user's other servers.
- Start with the jobs, not the endpoints. List the 5 to 15 questions people will actually ask, and keep the endpoints that answer them. Leave out health checks, admin routes and duplicates.
- Group the rest. If you really need hundreds of operations, put them in groups the agent opens one at a time.
- Make every tool easy to tell apart. One plain sentence on what it does and when to use it, clear parameter names, and a name under 64 characters.
This is the problem we built MCPEasy around: it turns an API into a hosted MCP server and puts large APIs into groups of at most 40, so the agent starts with four tools and opens only the group it needs.
The full table, every client's limit with its source, and how I measured it are on the MCP tool limits page.
How many tools does your biggest MCP server expose?