MCP tool search · 1 of 3

How AI clients find MCP tools

Once an agent has more than a few dozen tools, most clients stop sending every tool's full definition to the model. They defer tools: the model gets something small up front and pulls in full definitions when it needs them. How the right tool gets found is where they differ, and there are four families:

xAI Grok's remote MCP doesn't defer: it sends every tool's full definition every time. Gemini CLI's deferral behaviour isn't documented.

The practical consequence for anyone writing an MCP server: the same tool can make it into one client's tool selection and be absent from another's. With keyword search, a user's words have to appear in your tool's name or description ("purchases" finds nothing if your tools only say "orders"). With embeddings, meaning is enough. With model-driven browsing, the tool's name and the server's description carry almost all the weight.

Client by client

Each fact below says how I know it: docs (the vendor's own documentation), source (the client's published code, at a commit), or measured (my own API calls, 19 November 2026). Where nobody says, it says "not stated".

ClientDeferred by default?How it matchesFields searchedResults per search
Claude APIno: you mark defer_loading: trueBM25 or regex (Python re.search, case-insensitive)name, description, argument names, argument descriptions5 by default; the model can ask for 1 to 10,000
Claude Codeyes, all MCP toolsnot stated which variantnot statednot stated
OpenAI hosted tool_searchno: you mark functions or a whole MCP serverkeyword match inside the namespace the model picks (measured)name and description, not arguments (measured)gpt-5.4: every match; gpt-6.2-astra: at most 8 (measured)
Codex (source)yes, all MCP toolsBM25 (Rust bm25 crate)name (3 spellings), title, description, top-level argument names, the server's name and description; not argument descriptions8 by default; the model can set a limit
Gemini API (preview)no: you mark functions or a whole MCP serverthe model names the exact tools it wants; no search on Google's side (measured)the model reads names and descriptionsthe tools the model names (1 to 5 in my tests)
Copilot in VS Codeyesembeddings for Claude models; OpenAI's hosted search for OpenAI modelsnot statednot stated
Cursoryes, for MCPmodel-driven: descriptions synced to a folder per server, the agent lists and reads themwhatever the agent readsn/a
Antigravityyes, all MCP tools are lazy unless marked eagermodel-driven: the agent reads each tool's schema file before calling itn/an/a
Kiroyes in the IDE (1.3+) and CLI V3 (2.31+); opt-in in V2V3: the model loads exact tool IDs (model-driven); V2: a "legacy tool_search", mechanism not statednames and descriptionsnot stated
Copilot CLIyes, from about 30 tools, on supported models (Claude 4.0+ families, GPT-5.4+)not statedname, description, argument names and descriptionsnot stated
Grok remote MCPnono search: every definition is sentn/an/a
Gemini CLInot documentednot documentedn/an/a

Two details that matter in practice. Claude Code's docs say it cuts server instructions and up-front tool descriptions at 4,096 characters. Tool descriptions loaded through search can be up to 16,384 characters, but search matching reads only the first 4,096. In Codex's source, the server's name and description are indexed into every one of its tools, so a server whose description matches the request lifts all its tools. That matters when servers compete.

What nobody publishes

Some of these differences become visible in the rankings and API calls in The same MCP tool ranks 23rd in one simulation and 7th in another. Their practical implications for server authors are explored in Making MCP tools findable across AI clients.

Sources

copy for AI · more from niksa →