Agent Auth Gateway v1.0

Guides / 7 min read

Designing a Tool Allowlist an Agent Can Actually Live With

Published 2026-11-14 · Reviewed 2026-11-14 · By the Ingenious AI team

An allowlist is a hypothesis about what an agent's job actually is. Draw it from the job description and it will be wrong in both directions — permitting tools the job never needed, forbidding the three it cannot live without.

The short answer

Build the allowlist from evidence: start from two weeks of the agent's real tool calls, classify each tool by effect, and write the list as reads allowed, writes capped, destructive and external actions behind approval or denied. Then maintain it as a living policy — a request path for additions with reasons attached, a quarterly pruning of tools the agent has stopped using, and simulation of any change against recorded traffic before it ships. The list's quality is measured by two numbers: how rarely legitimate work is refused, and how completely the dangerous catalogue is outside it.

Check your own setup as you read: run the free Spend Guard self-check or test a policy in the playground — five minutes, no signup, and the gaps it names map to the controls below.

Worked example: 41 tools whittled to 13, then grown to 16 on evidence

A fictional facilities-management firm, Ironbound Services, began its helpdesk agent with the vendor's default allowlist: 41 tools, including vendor payment release and a bulk-delete for work orders. A log review showed the agent had ever used 13. The payment and delete tools had never been touched legitimately — they were pure exposure, carried for a year. Ironbound cut the list to the observed 13, moved two write tools behind amount caps, and denied the destructive pair outright.

The tighter list did not freeze the agent's usefulness, because additions had a path: the agent's owner could request a tool with the task evidence, approved against the recorded logs. Over the next two quarters the list grew to 16 — three additions, each justified by real tasks the refusals had surfaced. The refusal log became the design document: every denied call was either an incident prevented or a list gap with a name on it, and the quarterly review sorted one from the other.

Start from traffic, not from the job description

Job descriptions describe intentions; logs describe the job. Two weeks of real calls — which tools, which arguments, which hours — draws the allowlist's first draft with a fidelity no workshop achieves. Tools in the catalogue but never in the logs start outside the list, whatever their theoretical usefulness: adding a tool on evidence is a small, logged decision, while removing one after an incident is a postmortem action item. Ironbound's 41-to-13 cut removed no capability the agent had ever used.

Structure the list in tiers, not a flat yes

A useful allowlist has shape: a read tier allowed freely within the agent's resources; a write tier allowed with caps, argument limits and full logging; an approval tier for irreversible or external actions; and a denied tier that no approval can open from inside a run. The tiers let the list say nuanced things — 'yes, up to $200, to these suppliers' — that a flat list cannot, and nuance is what keeps legitimate work from being refused often enough that the team demands the list be loosened wholesale.

Refusals are the list's feedback loop

Every refusal is data: either the control working or the list mis-drawn. Review refusals on a cadence — weekly while a list is young — and classify each as prevented-harm or blocked-work. Blocked-work refusals with a legitimate pattern become addition requests with the evidence attached; prevented-harm refusals become the stories that keep the list funded. A list whose refusals nobody reads drifts in both directions at once: gaps stay open, and workarounds grow in the dark.

Prune what the agent stopped using

Agents' jobs change: integrations are replaced, workflows retire, a tool that was essential in March is untouched by September — but it remains on the list, an open door into a system nobody is watching anymore. Quarterly, compare the list against actual calls and retire unused tools to the denied tier, where they can be re-added on evidence if the work returns. Pruning is the half of allowlist maintenance nobody schedules, which is why exposure accumulates monotonically in fleets that only ever add.

Allowlist anti-patterns to audit for

Four anti-patterns appear in almost every inherited list. The vendor default, never reviewed, carrying tools from a sales demo. The wildcard — one entry so broad it quietly includes the destructive tools the list elsewhere denies. The fossil — tools for an integration retired last year, still permitted, pointing at a system nobody monitors. And the shadow list — a second allowlist inside the agent's own configuration that disagrees with the gateway's, so nobody can say which one governs. Audit for these four by name in the quarterly prune; each is a finding with a straightforward fix, and together they account for most of the exposure that allowlist reviews exist to remove.

Five actions to design a living allowlist

  1. Draft the allowlist from two weeks of real tool calls, classified by effect — never from the vendor catalogue or the job description alone.
  2. Structure it in tiers: reads allowed, writes capped, irreversible and external actions behind approval, a denied tier no run can open.
  3. Remove every tool the agent has never used; make additions an evidence-backed request with the task named.
  4. Review refusals weekly while the list is young and classify each as prevented harm or blocked work.
  5. Prune quarterly against actual usage, retiring untouched tools to denied until real work requests them back.

Source note and related guides

Figures in the worked example are illustrative, drawn from a fictional company created for this guide; the controls, failure patterns and procedures described are the gateway's documented behaviour — see the Agent Auth Gateway documentation and the policy patterns in allowlists vs denylists, spend caps and the agent kill switch. Reviewed by the Ingenious AI team, 2026-11-14.

Sources

  • NIST AI Risk Management Framework (AI RMF 1.0), the voluntary framework for managing AI risk across design, development and use: nist.gov, 2023
  • OWASP Top 10 for Large Language Model Applications, the OWASP GenAI Security Project's risk list for LLM and agent systems: owasp.org, 2025
  • RFC 6749, The OAuth 2.0 Authorization Framework, the IETF standard behind scoped, expiring access tokens: rfc-editor.org, 2012

Frequently asked questions

How do I build a tool allowlist for an agent?

From evidence: two weeks of the agent's real calls, classified by effect, structured into tiers — reads allowed, writes capped, irreversible actions behind approval, destructive ones denied. Ironbound's evidence-based list held 13 of the vendor's 41 defaults.

What happens when the allowlist blocks legitimate work?

That refusal is the feedback loop working: it surfaces with the task named, the owner requests the tool with evidence, and the addition is logged. A list with a request path can stay tight; a list without one gets loosened wholesale under pressure.

Should unused tools stay on the list just in case?

No. A tool the agent never uses is pure exposure. Retire it to the denied tier quarterly; if real work returns, the refusal log will request it back with evidence attached.

How is an allowlist different from a denylist?

An allowlist defines what is permitted and everything else is refused; a denylist defines what is forbidden and everything else passes. Allowlists fail safe for general tool access; denylists suit a small set of catastrophic actions layered on top.

How often should allowlists be reviewed?

Refusals weekly while the list is young, and a full prune quarterly against actual usage. Agents' jobs drift, and an unreviewed list accumulates both gaps and stale permissions.

Governing agents in production?

Spend caps, approval queues, policy simulation, burn forecasting, and step-up lockdowns — all built into the gateway. Free tier to start. Or test policies in the playground with no signup.

Share this: X Facebook LinkedIn WhatsApp
← The Unit Economics of Agent Spend, Per C… All guides Kill Switch Drills: Testing Your Agent's… →