MCP · Lesson 36 of 120
Resources or Tools
How to choose.
Some data could be a resource or a tool. The returns policy could be either. How do we choose? Think about who decides when it's used.

- Resource or tool?
- Who decides?
- Choose by use
How to choose
If the user or app picks it as context, make it a resource. If the model should fetch it when needed, make it a tool. If it needs complex inputs, or changes anything, it must be a tool.
| Situation | Use |
|---|---|
| User attaches it | resource |
| Model fetches when needed | tool |
| Complex inputs | tool |
| Changes anything | tool |
| Large, stable reference | resource |
Both is fine
Many servers expose the same data both ways. A resource for the user to attach, and a search tool for the model. Not every host supports resources well, so tools are the safer default for model access.
| key | value |
|---|---|
| Both ways | common |
| Resources | user context |
| Tools | model access |
| Default | tools for models |
Summary
Use resources for context the user or app chooses, and tools for anything the model fetches or changes. Next, resource updates.
Key takeaways- User picks: resource
- Model fetches: tool
- Changes: tool
Next up: Resource Updates — changed notifications