# MCP Tools vs Resources vs Prompts

> The three things an MCP server can offer: tools that act, resources that supply data and prompts that people pick. Explained simply for your AI interview.

**In short:** An MCP server (a connector for the Model Context Protocol) offers three things. Tools are functions the model can ask the app to run, resources are data the app reads for context, and prompts are templates a user picks. The big difference is who decides when each one is used.

AI and LLM interview question Q165, Agents and tool use. Intermediate, common (our estimate). From Venkat R. Murty's free Interview Kit: https://designervenkat.online/interview/ai/mcp-tools-vs-resources-vs-prompts

## Say it in 30 seconds

MCP is a standard way for an AI app to reach outside systems. A server offers three things. Tools are functions the model can ask the app to run, like paying a claim, so your app should make a person say yes first. Resources are data the app loads for context, like a policy wording. Prompts are templates a user picks, like a claim checklist. When I design one, I ask who decides: the model, the app, or the user.

## Say it in 2 minutes

MCP, the Model Context Protocol, is a standard way for an AI app to connect to outside systems. The part that does the connecting is called a server. Each server can offer three kinds of thing, and interviewers want you to know the difference between them.

A tool is a function the model can ask the app to run. It is for actions, such as paying a claim or sending a letter. A resource is data the app can read by its address, such as the wording of a policy. A prompt is a ready-made template that a user picks, such as a checklist for reviewing a motor claim.

The main thing to say is who decides. The model decides when to use a tool. The app decides when to load a resource. The user decides when to run a prompt. The spec states these as design intent, and says the protocol does not mandate any specific user interaction model, so my own code has to hold the line.

I also say that reading can still be risky. A resource can carry text written by a customer that tells the model what to do, which is indirect prompt injection, meaning hidden text that tries to give the model orders. So I never put an action behind a resource, and I treat resource text as untrusted.

## What are MCP tools, resources and prompts, in plain words?

MCP, the Model Context Protocol, gives an AI app one common way to reach outside systems, such as a claims database or a document store. A small program called an MCP server does the connecting. The spec says a server can expose three core primitives, which means three basic building blocks.

Think of a claims desk at an insurance office. The clerk has a button that sends a payment. The filing cabinet holds the policy wording. The laminated checklist for a motor claim is what a senior handler reaches for. One desk, three jobs, and a different person decides on each.

The real case I use below is a motor claims assistant at a mid-size insurer. Its MCP server offers all three kinds of thing to the app, and each one is started by someone different.

- **MCP server:** The program that offers tools, resources and prompts to an AI app.
- **Tool:** A function the model can ask the app to run, such as a payment.
- **Resource:** Data the app can read, found by its address, such as a policy wording.
- **Prompt:** A ready template with blanks to fill in, such as a claim review checklist.
- **URI:** The address of one resource, written like a web link.

## Who starts each one, and why does it matter?

The three differ mainly by who starts them. The spec gives each one an intended owner, and that is the answer interviewers want to hear.

- **The model decides: Tool: a function or action.** The model asks for it when it thinks it fits, and the app runs it.
- **The app decides: Resource: data to read.** The app loads it as context, for example before the model answers.
- **The user decides: Prompt: a template.** A person picks it, like a slash command in the app.

> "Tools in MCP are designed to be model-controlled, meaning that the language model can discover and invoke tools automatically" (MCP specification, tools)
>
> "Resources in MCP are designed to be application-driven, with host applications determining how to incorporate context based on their needs" (MCP specification, resources)
>
> "Prompts are designed to be user-controlled, meaning they are exposed from servers to clients with the intention of the user being able to explicitly select them for use" (MCP specification, prompts)

Notice the pattern in the spec: tools are 'model-controlled', resources are 'application-driven' and prompts are 'user-controlled'. These are design intent. The protocol itself does not mandate any specific user interaction model, so your app has to enforce who decides, in code.

## How do the three work together on one claim?

Here is one claim, with made-up numbers. A handler opens claim 4471 after a rear-end crash. The policy has a £250 excess and the repair quote is £1,900, so the payment would be £1,650.

The handler picks the review prompt. The app loads the policy wording as context, so the model knows the excess. The model sees the checklist, notices the photos are missing, and still asks to pay £1,650 through the payment tool. The handler sees that request before any money moves, which is why the approval gate exists.

*Diagram, Who starts each MCP primitive: Three starters sit on the left, the three primitives in the middle, and what each one leads to on the right. The payment waits for a person, whatever the model asks for.*
1. The handler picks the review prompt from the menu.
2. The app loads the policy wording before the model answers.
3. The model asks to call the payment tool.
4. The prompt starts the checklist the model follows.
5. The policy text sits in the model's context, with the excess.
6. The payment waits for a person's approval before it moves.

Under the hood each primitive has a list call to discover it, and a retrieval or execution call to use it: tools/call runs a tool, resources/read reads one, and prompts/get returns a prompt with its blanks ready to fill. The app holds the payment until the handler approves it, and checks the amount against a limit in code. The model only asks, and the app decides.

## Where do teams get this wrong?

Two mistakes are worth watching for in a first version. The first is to make everything a tool, so the model can do anything the API allows. The second is to hide an action inside a resource, because a resource feels like just reading. Both skip the approval step a gated tool gives you.

Resource text is also untrusted input. A customer's note in the claim can carry a hidden order. OWASP's 2026 list names an MCP server's output as one place where injected text can arrive, which is the same risk as prompt injection.

> "For trust & safety and security, there SHOULD always be a human in the loop with the ability to deny tool invocations" (MCP specification, tools)

1. **Put actions in tools:** Payments, letters and status changes are tools, and the app sets a limit on each one in code.
2. **A person says yes first:** The app shows the exact action and waits for the handler to approve it.
3. **Resources only read:** A resource returns data. If something has to change, it belongs in a tool.
4. **Treat resource text as data:** Customer notes and emails can hide orders, so the app never lets that text pick a tool on its own.

> **Tip:** Asked which one to build? Ask who should start it. A person means a prompt, the app means a resource, and the model means a tool behind an approval gate.

## What does the interviewer want to hear?

**A strong answer covers**

- [ ] Tools act, resources supply data, prompts are templates.
- [ ] Who decides: the model for tools, the app for resources, the user for prompts.
- [ ] A real example of each from a job, such as a claims assistant.
- [ ] Actions go in tools, behind an approval gate.
- [ ] Resource text is untrusted input, the same as prompt injection.
- [ ] The spec calls these design intent, so your code must enforce them.

**Common traps**

- Trap: "They are three names for the same thing." Better: They differ by who starts them and what they may do. Tools act, resources supply data, prompts are templates.
- Trap: "A resource is only data, so reading it is always safe." Better: Data can carry hidden orders. Treat resource text as untrusted, as you would a web page.
- Trap: "The protocol keeps tool calls safe." Better: The spec says a human SHOULD always be in the loop, able to deny tool calls. Your app must build that gate, because the protocol does not mandate any specific user interaction model.

## Can you spot the risky design?

**Spot the wrong design:** The claims server lists four items. Which one is built wrong?

A. Resource: the policy wording for claim 4471, read-only
B. Prompt: Review a motor claim, with the claim number as a blank
C. Tool: pay_claim(claim_id, amount), capped in code and held for approval
D. Resource: the payment for claim 4471, which sends the money when it is read

**Answer:** D. Reading should never move money. The spec lists automatic context inclusion as one thing an app could do with resources, so an action hidden in a resource can skip the approval a tool would get. Payments belong in a tool with a limit and a person's yes.

**Quick check:** A claims team wants the model to mark claim 4471 as closed in the claims system. Which MCP primitive fits?

A. A resource, since the model reads claims
B. A tool, since closing a claim changes data
C. A prompt, since a handler picks it
D. No MCP primitive can change data

**Answer:** B. Changing a record is an action, so it is a tool. The model asks, and your code runs a check, such as a person's approval, before anything changes. A resource is for reading, and a prompt is a template a person picks.

## Can you answer these from memory?

**Flash cards**

- **What is an MCP tool?** A function the model can ask the app to run, such as a payment. Actions go here.
- **What is an MCP resource?** Data the app reads by its address, such as a policy wording. It is for reading.
- **What is an MCP prompt?** A ready template with blanks that a person picks, such as a review checklist.
- **Who decides for each one?** Tools: the model. Resources: the app. Prompts: the user.
- **Why can a resource be risky?** Someone else may write its text, and that text can carry hidden instructions.
- **Where does a payment belong?** In a tool, with a limit in code and a person's approval before it runs.

## Likely follow-up questions

- Q164 What is the Model Context Protocol (MCP)? https://designervenkat.online/interview/ai/what-is-the-model-context-protocol
- Q156 What is tool (function) calling? https://designervenkat.online/interview/ai/what-is-tool-calling
- Q177 What makes a good tool set? https://designervenkat.online/interview/ai/what-makes-a-good-tool-set
- Q166 What changed in the 2026-07-28 MCP spec? (full answer coming)
- Q201 What is prompt injection? https://designervenkat.online/interview/ai/what-is-prompt-injection
- Q167 MCP vs a plain REST API? https://designervenkat.online/interview/ai/mcp-vs-a-plain-rest-api

## Learn it in depth

- [MCP data and transport layers](https://designervenkat.online/learn/ai-engineering/mcp-layers)
