MCP Resources vs Tools vs Prompts: Stop Putting Everything in a Tool
The three primitives in the Model Context Protocol, what the model actually sees, and a rule of thumb for Dataverse, files, and internal APIs.
Tag
Articles tagged Claude on The Augmented Dev.
6 articles
The three primitives in the Model Context Protocol, what the model actually sees, and a rule of thumb for Dataverse, files, and internal APIs.
Use Claude Code hooks to enforce policy at the moment actions happen — before edits, before tool calls, on session start — without relying on pre-commit hooks everyone learns to bypass.
From zero to a working Model Context Protocol server in about 100 lines — tools, resources, a local client test, and the traps that will bite you on day one.
A precise look at Claude's prompt caching — how the cache hit math actually works, the 5-minute and 1-hour TTL variants, and the subtle mistakes that silently disable it.
The tool-use features of the Claude API look straightforward in the docs. These are the production patterns that separate a demo from a system that handles real traffic — parallel tool calls, retry loops, error recovery, and tool_choice tactics.
The Claude Agent SDK is the fastest path to a capable coding-style agent. The raw messages API is the fastest path to understanding what your agent is doing. Here's when each is the right tool.