Tools your AI can actually call
After this, you'll be able to explain why MCP is different from prompting, identify the minimum permissions a tool needs, and sketch a tool schema you would actually trust to run on your systems.
Complete Compounding Engineering Patterns first; this lesson builds on the codification loop you established there by giving your agent real tools to act on your systems.
Levels 4 and 5 solve for context. Level 7 solves for capability. MCP (Model Context Protocol) is how you give your agent hands. Instead of thinking about your database or CI pipeline, it can write to them, run them, and read the results. You define what a tool does and what inputs it takes. The model decides when to call it.
A custom skill packages a repeatable workflow into a named, invocable behavior. A PR review skill that runs linting and pattern checks. A deploy skill that validates the build before pushing. A test generation skill that knows your codebase's conventions. These are not prompts you type each time. They are capabilities the agent can use on its own when the task calls for them.
Least-privilege applies to AI tools as much as any system. An MCP server that can write files, execute commands, and call external APIs has a large blast radius if something goes wrong. Define the minimum permissions each tool needs and be explicit about what it cannot do. Treat MCP tool responses the same way you treat user input. A retrieved document can contain instructions the model may follow.
The ceiling at Level 7 is that the agent can act on your systems but still cannot verify whether what it did was correct. That self-correction loop is what Level 8 builds.
Paste this into Claude
I want to design a least-privilege MCP tool for one step I do manually after every agent session (e.g. running tests, checking lint, querying a dev database). Here's the step: [describe the manual step in one sentence]. Help me sketch the tool schema. For each piece, give me a concrete answer: (1) the tool name as a verb phrase, (2) the inputs and their types, (3) what it returns, (4) the minimum filesystem and shell permissions it actually needs, (5) what it must NOT be able to do, and (6) one realistic way it could go wrong if I scoped permissions too broadly. Then write the schema as a single JSON block I can adapt.
Check yours against
Use AI to apply this lesson to your current work. Share your situation, ask for one concrete next step, and check the answer against this test: Identify the minimum permissions a single MCP tool needs to complete one manual step in your workflow, and name at least one failure mode that broader permissions would have amplified.
Identify the minimum permissions a single MCP tool needs to complete one manual step in your workflow, and name at least one failure mode that broader permissions would have amplified.
Pulling this out of your own head now is the part that actually moves it into long-term memory. Re-reading only feels like it does.
Without scrolling up, pick one manual step you repeat after Claude finishes a task. Name the minimum permission a tool needs to do it, and one thing a broader permission could break.
One good answer: 'My manual step is checking my supplier folder each morning for new price files. The tool needs read-only access to that one folder. With write access to my whole drive, a bad tool response could overwrite my files.' If your permission is the least the step needs (read-only if it only reads, one folder rather than the whole drive), it holds. 'Access to everything' fails.
MCP gives the agent real hands on your systems. The work at Level 7 is not 'connect more tools.' It is scoping each tool to the smallest permission that lets the job get done.