MCP Tools, Resources and Prompts
In this article
- Sort what an MCP server offers into tools, resources and prompts by asking who decides when each one is used.
- Read a `tools/list` result and name the request that runs a tool, reads a resource or fetches a prompt.
- Explain why a prompt's text is input from the server and not a rule the host must follow.
- Spot a capability that should not be exposed, and say why listing it never makes a call allowed.
- Terms defined here: MCP tool, MCP resource, MCP prompt, capability discovery.
Overview
MCP, the Model Context Protocol, lets a server offer an outside system to AI apps in a standard way. [1,2,3] You are writing the MCP server for a shop's orders, and you have four things to offer: an order lookup the model can run, an address change, a page of one order's details that the app can attach, and a ready-made message for reporting a late parcel. Each goes out in one of three forms, a tool, a resource or a prompt, and the form decides who triggers it: the AI model, the app around it, or the person typing. Pick the wrong form and the app either never uses the capability or uses it when nobody meant to.
Afterwards you can sort any capability into the right form, read the list a server sends back, explain why a server's ready-made message is not a rule, and spot the one capability that should not be offered at all.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- Who decides
- What a client sees
- Three triggers, three requests
- Prompt text comes from the server
- Listed is not permitted
- The rule at work
- Sources
- Check yourself, 13 questions