Resources, prompts and tools
medium 6 minResources supply addressable data, prompts supply reusable message templates, and tools describe operations.
Where it shows up
The same pattern appears across everyday software.
Cache a tool catalog for two shop employees
A buyer opens the shop catalog. The client checks for a compatible entry under the response’s allowed cache scope and expiry. A miss retrieves the caller’s tool metadata. The client preserves list order and honors the supplied caching information. Calling reserve_stock requires current authorization and available stock. A catalog hit supplies neither.