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
23rd · outside the top 5
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:
- Simulated: toolmenu ranks a server's tools using the fields and result limits of each client. For the Claude API, that means the BM25 variant documented by Anthropic, using tool names, descriptions, argument names and argument descriptions. For Codex, it means the ranking implemented in its published source, using tool names, titles, descriptions, top-level argument names, and the server's name and description. The simulations use the default limits: 5 for the Claude API and 8 for Codex. The clients' tokenizers and BM25 settings aren't published, so the rankings are approximations, not exact reproductions. These aren't calls to Claude or Codex.
- Measured: my own API calls to OpenAI's hosted tool search and Gemini's Tool Retrieval on 19 November 2026. The run counts are given alongside each set of results.
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.
| Server | Tools | Missed in Claude API simulation (top 5) | Missed in Codex simulation (top 8) | Example |
|---|---|---|---|---|
| Postman 2.15.0 | 42 | 4 | 0 | "create collection" puts createCollection 7th in Claude, 1st in Codex |
| Sentry 0.49.0 | 73 | 2 | 0 | "find organizations" puts find_organizations 23rd in Claude, 7th in Codex |
| Atlassian 2.14.5 | 80 | 2 | 1 | "get issue" puts jira_get_issue 16th in Claude, 11th in Codex |
| Azure DevOps 2.11.0 | 44 | 1 | 0 | "work" puts work 13th in Claude, 6th in Codex |
| Firecrawl 3.36.0 | 28 | 1 | 0 | "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.
- "get issue": Jira's
jira_get_issueis in neither Claude's top 5 nor Codex's top 8; Sentry's fiveget_issue_*tools crowd it out. GitHub'sissue_readis 1st in Claude, outside Codex's top 8. - "get jira issue": still not in Claude's top 5 (Jira's watcher, worklog and transition tools are); 7th in Codex's 8.
- "list projects": Claude's top 5 holds none of the three real "list projects" tools (Azure DevOps
core_list_projects, Jirajira_get_all_projects, Sentryfind_projects); Codex's top 8 includes all three. - "search code":
github/search_codeandazure-devops/search_codecome back side by side; the model must pick the server.
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
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.
- The model's search call carries both a namespace and a text query:
{"paths": ["crm"], "query": "order"}. The docs say nothing about how it matches or how many tools it returns. - It returns only matching tools, not the whole namespace: gpt-5.4 returned 4 of 30 for "order". gpt-6.2-astra sent a different query and returned 8.
- Keyword, not meaning. "purchases" found nothing on either model, though four tools are about orders. "delete" found only
delete_address. - Name and description only. A word only in an argument's name ("zephyrine": 2 runs; the full name "zephyrine_mode": 1 run) or only in an argument's description found nothing, on both models; the same kind of word in the tool's description found the tool in every run.
- The cap depends on the model. "customer" appears in every description: gpt-5.4 returned all 30, in declared order. gpt-6.2-astra returned at most 8, with name matches ranked above description-only matches.
- The two models match differently. gpt-5.4 matches the whole query as one phrase: "account settings" finds a tool described as "Update account settings"; "settings account" finds nothing, and so does "update settings" (a one-run observation). gpt-6.2-astra matches words in any order and ranks them.
- The query is optional. For a small namespace (4 tools) the model sent only
{"paths": [...]}and loaded every tool in it.
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.
- The model names exact tools; nothing is searched on Google's side. "List open orders" loaded exactly
list_open_orderson both models. - It works by meaning. "what customer CUST-12345 has purchased that hasn't shipped" loaded order, shipment and invoice tools (3 on gemini-3.6-flash, 4 to 5 on gemini-4-hydrogen), though no tool says "purchase". OpenAI's keyword search found nothing for "purchases".
- Arguments are invisible but don't stop it. A request naming a word that only an argument's description held ("quokkalith") loaded both export tools and called the right one,
export_data, from its description, "Export account data".
Look-alike tools (measured, 2 runs each)
- Jira's and GitHub's
get_issue, request "Get issue 42", 2 runs each: gpt-5.4 opened Jira and called Jira's; gpt-6.2-astra opened both and called GitHub's; gemini-4-hydrogen loaded both and called both. Three behaviours across two vendors, and none asked the user. - "Get Jira issue PROJ-42" went to Jira on every model. (gemini-3.6-flash with the vague request: not measured, capacity errors.)
- Two namespaces with the same description (
tracker,tracker_v2): for "Get issue 42", gpt-5.4 pickedtracker_v2in one run andtrackerin the other; gpt-6.2-astra opened both and pickedtrackerboth times. For "Show me the bug report about login failures", gpt-6.2-astra picked one of 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
- Claude API tool search (the fields and result count the Claude simulation uses): https:/
/ platform.claude.com/ docs/ en/ agents-and-tools/ tool-use/ tool-search-tool - Codex source at 3869f39 (the fields and result count the Codex simulation uses): https:/
/ , .../github.com/ openai/ codex/ blob/ 3869f39/ codex-rs/ core/ src/ tools/ handlers/ tool_search.rs codex-rs/ , .../core/ src/ tools/ handlers/ mcp.rs codex-rs/ tools/ src/ tool_discovery.rs - OpenAI tool search: https:/
/ developers.openai.com/ api/ docs/ guides/ tools-tool-search - Gemini API Tool Retrieval: https:/
/ , https:/blog.google/ innovation-and-ai/ technology/ developers-tools/ gemini-api-tool-retrieval/ / aistudio.google.com/ docs/ tool-retrieval - toolmenu FINDINGS F23: https:/
/ github.com/ niksa90/ toolmenu/ blob/ 6fa4113267792f930e11899f977cec5084189a7e/ docs/ FINDINGS.md#f23-the-same-tool-different-clients-who-finds-it - Bench data (simulations, and the raw OpenAI and Gemini responses from my runs, 19 Nov 2026): https:/
/ github.com/ niksa90/ toolmenu/ tree/ 6fa4113267792f930e11899f977cec5084189a7e/ bench/ results/ 2026-11-21-tool-search