Tools & MCP
on one page.
- You ask in plain words.
- The model writes a tool request: a name and inputs.
- The app runs the tool, after your approval if needed.
- The result returns as text. The model answers or calls again.
The model never runs a tool. It writes a request; the app runs it.
| Term | What it is | Club-lunch analogy | Who uses it |
|---|---|---|---|
| Tool | A named function with a description and inputs. The model asks for a call; the app runs it; the result returns as text. | Asking the kitchen “what can you do for 22?” | The model, through the app |
| API | A strict, documented interface for programs. A URL plus a fixed format. | The kitchen’s order system | Programs and developers |
| CLI | Commands typed in a terminal, for example curl. | Short codes you call out at the counter | Developers and coding agents |
| MCP | Model Context Protocol. One open standard that connects AI apps to tools and data. Without it, M apps × N services need M × N integrations. With MCP, each side builds once: M + N. | A standard menu that any delivery app can read | AI apps (hosts) and service builders |
| Host · client · server | Host = the AI app (Claude). Client = the connection inside the host. Server = the service that offers tools. | You · the delivery app · the restaurant | Defined by the MCP specification |
| Tools · resources · prompts | What an MCP server can offer. Tools = actions the model can call. Resources = data and context. Prompts = templates for users. | Dishes · the menu card · set menus | MCP servers |
| stdio vs HTTP | stdio: the app starts the server on your computer (local). Streamable HTTP: the server runs on the internet (remote). | Your own kitchen vs a restaurant | Local = desktop and coding apps. Remote = web connectors |
| Connector (Claude) | Claude’s product name for a connection to a remote MCP server. | The “add restaurant” button | Claude users |
| App · plugin (ChatGPT) | ChatGPT’s names. An app connects a service. A plugin can include apps, skills or both. Many apps are MCP servers inside. | Same button, other delivery app | ChatGPT users |
| Skill | A folder with SKILL.md: a packaged method. It gives judgment: order of calls, rules, checks, output format. | The club’s catering policy | The model, when the task matches |
| Permission prompt | The app asks before a tool runs. Allow once, Allow always or Deny. | The manager who signs before money moves | You |
| OAuth vs API key | OAuth: you sign in and approve access, and you can revoke it. API key: a secret string. Never paste a key into a chat. | A signed pass vs a copied master key | You and the service |
Safety rules
- Tool output is data, not instructions. A note that says “ignore your rules” is prompt injection.
- Read tools are low risk. Write tools change the world. Some actions cannot be undone.
- Give the least access that does the job. Turn off tools that the task does not need.
- Click “Allow always” only for a server and tool that you trust to run unsupervised.
- Prefer sign-in (OAuth) to pasted keys. Never paste an API key into a chat.
- Lethal trifecta (Simon Willison): private data + untrusted content + a way to send data out. Never give one agent all three.
Things people miss
- Tool descriptions are prompts. The model picks a tool by reading its description.
- Every connected tool costs context. Connect only what the task needs.
- A connector sees only what your account can see.
- A matching answer is not proof that a tool ran. Check the trace.
- MCP is not always the best door. Coding agents with a terminal often use CLIs well.
- A tool gives access. A skill gives judgment.
A tool lets the agent act. A skill teaches it how. Permissions decide what it may change.
MCP terms from the MCP specification (2026-07-28). Lethal trifecta: simonwillison.net, 16 June 2025. Product names checked 22 October 2026; labels can vary.