Why does MCP have a 'prompt' primitive separate from tools and resources?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Prompts are user-invoked reusable templates; tools are model-invoked; resources are host-pulled. Each primitive owns a distinct invocation pattern, and overloading one for another's job fights the protocol.
Imagine the AI app has a small menu of pre-written request templates, like recipe cards. Each card has a name (like /code-review or /summarize-meeting) and a few blanks the user fills in. When the user picks a card and fills in the blanks, the app sends a polished request to the model. The user never needs to remember the perfect wording; the template handles that. MCP prompts are these cards, but instead of the app inventing them, they come from MCP servers. A GitHub server can ship a /pr-review card. A Notion server can ship a /weekly-summary card. The user picks them from the same menu, and any MCP-aware app reads them the same way. The key difference from tools is that the model does not pick prompts; the user does.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
5 min: state the three-way invocation split, walk the prompts/list and prompts/get API, describe the rendered output shape as a structured message list, contrast MCP prompts with system prompts and with tools, and close with three concrete examples of prompts from realistic servers.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Confusing MCP prompts with system prompts or with tools. MCP prompts are user-invoked reusable templates; tools are model-invoked functions; system prompts are static host configuration.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.