Included in LaunchLesson 2 of 3·22 min·Last verified December 2, 2026

Tools, permissions and spending limits for an agent

Every tool you hand an agent is a permission, so you give it the fewest tools and the narrowest rights the job needs, cap its steps and spend, put a person in front of irreversible actions, and keep its own limits, logs and grader out of its reach.

Your company in the Lab:
Kate
Kate · CEO of Qahwa Box

Our developer set up the ordering agent with the company admin key because it was the fastest way to get going. What should it be allowed to do, and what should it never touch?

Lesson goal

Choose the fewest tools and the narrowest rights for the proposed agent, set step and spend caps from measured runs, and name the actions that need a person plus the things the agent must never edit.

Every tool is a permission

An agent can only do what its tools let it do, so choosing tools is choosing permissions. OWASP names the risk of getting this wrong excessive agency, and traces it to three causes: functions the agent does not need, rights beyond what the task requires, and acting on high-impact operations without checking or approval1. The first fix is to offer the model only the tools the application truly needs1.

Fewer tools also work better. Anthropic’s guidance on tool design advises building a small number of well-scoped tools around real workflows instead of exposing every endpoint of a system, and giving each a clear description, like an onboarding note for a new teammate3. A tool that does one job, with parameter names that cannot be misread, leaves the model fewer ways to go wrong. The same guide advises error messages that say how to fix the problem rather than returning an opaque code3, and the engineering team’s earlier guide adds that tools should be designed so mistakes are hard to make2.

A practical test for each tool: write one sentence saying what it lets the agent change in the world. If the sentence is “read an order”, the tool is safe to grant widely. If it is “send an email to any address” or “write to any table”, it needs a gate, which the third section covers.

Checkpoint · Choose the decision

Qahwa Box wants an agent that answers customers' questions about their orders. Which set of tools is the best starting point?

Your confidence in the answer:
Choose an answer first

The rest of this lesson is on the Launch plan and up

You have read the scenario and the first section. With Launch or higher you finish the walkthrough and the interactive tool, make the lesson decisions, run its task on your company in the Lab and ask Adam AI. The Free plan includes 2 lessons a week.

Launch from 49 USD a month, or 490 USD a year

Question before you subscribe? Email hello@upgradiq.com