Skip to content

How Models Discover and Choose MCP Tools

What happens between connecting MCP servers and a model calling a tool, and how hosts manage large tool sets.

Editorial team 1 min read

When a host connects to MCP servers, their tools must reach the model in a usable form.

Discovery

After initialisation, the client asks each server for its list of tools, resources and prompts. Servers can notify the client when these lists change.

Presentation to the Model

The host converts tool definitions into the model's function-calling format and includes them in requests. Hosts may prefix tool names with server names to avoid clashes.

Selection

The model reads the task and the tool descriptions, then decides whether a tool would help, which one, and with what arguments.

Large Tool Sets

With many servers connected, tool definitions can consume significant context and make selection harder. Hosts manage this by:

  • Letting users enable only needed servers.
  • Loading full tool definitions on demand, with a search step to find relevant tools.
  • Grouping or filtering tools by task.

Approval and Execution

The host may ask the user to approve the call, then sends it to the right server and returns the result to the model.

Implications for Server Authors

Distinct names and precise descriptions matter because your tools compete for the model's attention with everyone else's.

More in MCP

All MCP guides →
MCP Guide · 1 min

MCP Architecture: Hosts, Clients and Servers

How the Model Context Protocol is structured: the host application, the clients it creates and the servers that expose capabilities.

MCP 1 min read 2 Sep 2025

MCP Guide · 2 min

MCP Tools, Resources and Prompts

The three main things an MCP server can offer, who controls each, and when to use which.

MCP 2 min read 1 Sep 2025

MCP Guide · 1 min

MCP Transports: stdio and HTTP

How MCP messages travel: standard input and output for local servers, HTTP for remote ones, and how to choose.

MCP 1 min read 31 Aug 2025

MCP Guide · 1 min

Building Your First MCP Server

A walkthrough of the steps to create a simple MCP server that exposes a tool, and how to test it.

MCP 1 min read 30 Aug 2025