MCP tool search · 2 of 3

The same MCP tool ranks 23rd in one simulation and 7th in another

A comparison of two simulated MCP search rankings, using Sentry's find_organizations as the example.

In toolmenu's simulations, Sentry 0.49.0's find_organizations, searched for as "find organizations", ranks 23rd under the Claude API's BM25 search rules and 7th under Codex's. At their default limits, one Claude API search returns 5 results and one Codex search returns 8: the tool is outside the first set and inside the second. The model can ask for more results or search again; I didn't test whether it does. The tool didn't change. Each client indexes the menu differently.

"find organizations" → find_organizations, one search at each default limit

Claude API simulationtop 5 by default

23rd · outside the top 5

Codex simulationtop 8 by default

7th · inside the top 8

Both clients defer MCP tools: the model searches for the tools it needs instead of receiving every tool definition up front. How their search methods differ is explained in How AI clients find MCP tools. This article examines the consequences through simulated rankings and measured API calls.

Simulated and measured

The results below use two kinds of evidence:

In this article, "missed" means that a tool isn't included in the top results of a single search at the client's default limit. These are defaults, not hard caps: in both clients, the model can request more results or search again. I didn't measure whether it does. "Missed" therefore describes the result of one search, not whether the model eventually gets the tool.

One server at a time (simulated)

Each tool searched for by its own name, as toolmenu's search/findable does; the Claude API's fields and top 5 against Codex's fields and top 8; tool lists from toolmenu's 2026-11-09 bench run.

ServerToolsMissed in Claude API simulation (top 5)Missed in Codex simulation (top 8)Example
Postman 2.15.04240"create collection" puts createCollection 7th in Claude, 1st in Codex
Sentry 0.49.07320"find organizations" puts find_organizations 23rd in Claude, 7th in Codex
Atlassian 2.14.58021"get issue" puts jira_get_issue 16th in Claude, 11th in Codex
Azure DevOps 2.11.04410"work" puts work 13th in Claude, 6th in Codex
Firecrawl 3.36.02810"firecrawl scrape" puts firecrawl_scrape 6th in Claude, 4th in Codex

Eleven other servers (GitHub official, Notion, Stripe, Grafana, Slack, Supabase, HubSpot, Azure, PayPal, Salesforce and Playwright, 8 to 74 tools each) missed nothing in either. The main cause: Claude also searches argument descriptions, so words like "organization" or "project" spread across many tools' arguments bury the tool named for them. Codex doesn't read them.

Several servers together (simulated)

Atlassian, GitHub, Sentry and Azure DevOps. The four server menus contain 244 tools in total; toolmenu's scan reported 243 pooled tools. For Codex, each tool's text also carries its server's name, as Codex's source does.

In the same simulation, 8 tools that rank in the Claude API's top 5 when searched against their own server fall outside its top 5 when all four servers are pooled. GitHub's list_issues ranks 4th on its own and 23rd with the others. None fall outside Codex's top 8. That's one set of four servers. It shows that pooling pushes tools out of the top results, not how often it happens across all servers.

"list issues" → GitHub's list_issues, Claude API simulation

On its own, then with the otherstop 5 by default

OpenAI's hosted search (measured)

A crm namespace with 30 deferred functions and a billing namespace with 10. Most cases had 2 runs per model; "order" had 3. "Update settings" and "zephyrine_mode" had 1 run per model.

Gemini's Tool Retrieval (measured)

gemini-3.6-flash and gemini-4-hydrogen, the same 30 CRM and 10 billing tools as the OpenAI test, all deferred; 2 runs each. Some gemini-3.6-flash runs failed with Google's "high demand" error and were retried once; its "purchased" case has 3 successful runs.

Look-alike tools (measured, 2 runs each)

Two runs show an observation, not a measured rate. They demonstrate that the same vague request can lead to different tool choices on different models.


But as someone who writes servers, the real problem isn't the method. It's that every client does something different and most don't say what. The same tool ranked 23rd in one simulation and 7th in the other. Nothing about the tool changed. Each client indexes the menu differently. Then load four servers together, and tools that ranked in the top results on their own fall outside them. None of that shows up when you test your server alone in one client.

The practical implications for server authors are in Making MCP tools findable across AI clients.

Sources

copy for AI · more from niksa →