Best Practices Guide

    What an LLM Governance Policy Should Specify for AI Agents and Tool Calls

    An LLM governance policy for AI agents should state which tools and MCP servers an agent may reach, what each may do on which resources, what data may pass through tool inputs and outputs, how often calls may occur, when a human must approve, and what evidence each call produces. Write every clause as a testable control with a condition, an enforcement action, and an evidence output, and place the check in the execution path, independent of the agent.

    What a tool-call evidence record should contain

    • Action classification
    • Risk score, if one is used
    • Authorization outcome
    • Approval identifier, where a human approved
    • Execution result
    • Policy version applied

    Why prompt-era policies fail for agents

    Most LLM governance policies were written for prompts and model outputs. They describe acceptable use, content restrictions, and review of generated text. An agent adds a different risk surface: it invokes tools, calls APIs, connects to MCP servers, and acts on enterprise systems. A policy that never mentions tool-level permissions, argument handling, approval triggers, or evidence cannot be tested, and it cannot show an auditor what an agent was allowed to do or what it did.

    The fix is not a longer policy. It is a policy whose clauses are specific enough to become controls. OWASP's guidance on excessive agency and agent security, along with MITRE ATLAS, points in the same direction: minimum tool sets, per-tool permission scoping, independent pre-execution checks, graduated enforcement, thresholds, and structured decision records. A NIST draft (SP 2400-102e2026, an initial public draft and not a final standard) describes evaluating each proposed action against an explicit policy before it executes.

    On timing, the EU AI Act's governance and general-purpose AI obligations have applied since 2 August 2025. As of December 2026, the high-risk dates are 2 December 2027 for stand-alone systems and 2 August 2028 for systems embedded in products, replacing 2 August 2026. Map your clauses to the Act using those dates.

    Clauses for inventory, authorization, and permission scoping

    Start with an inventory clause. The policy should require a maintained list of every tool and MCP server an agent may call, with an owner and a stated purpose. Anything not on the list is denied by default. This addresses unvetted or malicious tools, which the NIST draft notes run with the agent's privileges and can observe its working state. Add a vetting requirement before a server or tool description is admitted, since a tool's description is also an input the agent trusts.

    Next, write an authorization clause at the level of tool, operation, and resource, not just agent name or tool name. A reporting agent may have read access to one data set and no write access anywhere. State that internal and user-facing agents use separate tool sets, because they sit at different trust levels. This is the policy form of the minimum-tools principle and the direct answer to over-permissioned tools.

    Finally, require caller identity to carry through downstream calls. Where tools are shared across agents or users, the identity, tenant, restrictions, and tool policy of the original caller should travel with each request. This matters most for prompt injection. A legitimate tool can be invoked by an adversary through injected instructions, so the clause must not depend on the agent's own judgment about whether a call is appropriate.

    Clauses for data handling, thresholds, and human approval

    Data handling needs explicit language for both directions. Agents can pass credentials, file contents, or environment variables as tool arguments without regard to data classification. The clause should define which data classes may appear in arguments and responses, and what happens when they do: redact the value, block the call, or escalate. Tool responses deserve the same treatment before they are passed to another agent or back into the model context.

    Thresholds belong in the policy as numbers and behaviors. Specify invocation limits per agent, per tool, and per time window, and state what a breach triggers: halt, rate limit, or escalate. A circuit-breaker clause turns a runaway loop from an incident into a bounded event.

    Escalation conditions should follow consequence and reversibility. Low-consequence, easily reversed actions can be auto-approved. High-consequence or irreversible actions, such as deleting records, moving money, or changing access rights, route to a named human approver. A graduated model of audit, warn, block, and escalate lets you apply stricter responses only where the risk justifies the friction. The tradeoff is real: too many approval triggers produce queues that people click through, so define them narrowly and review the rate of approvals and denials.

    Clause map: policy language, runtime action, and evidence

    Each row pairs a clause with the action that enforces it and the record it should generate. If a clause has no runtime action in this mapping, treat it as procedural and say so in the policy.

    • Tool and MCP server inventory: Action: block calls to anything not listed. Evidence: tool or server identifier and authorization outcome.
    • Permission scoping: Action: allow or block by tool, operation, and resource. Evidence: requested operation, resource, and policy version applied.
    • Data handling on arguments and outputs: Action: redact or block by data class. Evidence: data class detected and action taken.
    • Invocation thresholds: Action: rate limit, halt, or escalate on breach. Evidence: threshold crossed and resulting action.
    • Human approval conditions: Action: escalate high-consequence or irreversible calls. Evidence: approval identifier, approver, and decision.
    • Evidence retention: Action: write a structured record for every call. Evidence: the record itself, kept for the stated retention period.

    Enforce in the execution path, not after the fact

    A clause is enforceable only if something can act on it before the call runs. The agent proposes an action. An independent policy service or execution component then validates scope, privilege, and approval state before execution. The agent cannot be the party that checks its own request.

    Complete mediation gives three valid placements for that check: inside the tool, in an independent policy decision point between the tool and the downstream system, or in the downstream system itself. The test for each tool is simple: can the agent or the tool bypass the check? If yes, the clause is not enforced.

    Classify every clause as in-path enforceable or procedural. Tool authorization, argument handling, rate limits, and approval gating can be enforced at runtime. Vetting an MCP server, assigning owners, and setting retention periods are procedural, although their outputs (the inventory, the owner list) feed runtime decisions. Sandboxing sits beneath policy checks as a containment layer, which is especially useful for coding agents.

    Trussed is one example of this pattern. It enforces policy in the execution path across models, agents, tools, and MCP servers, applying allow, redact, block, rate limit, and escalate for human approval to individual interactions and tool calls. The enforcement itself generates audit-ready evidence, mapped to frameworks including NIST and the EU AI Act. Its scope is individual interactions and tool calls, not transaction-level governance or end-to-end workflow tracing.

    From policy clause to runtime action

    Allow

    The call is within the agent's authorized tools, operations, and resources.

    Redact

    Sensitive values are removed from tool arguments or responses before they pass.

    Block

    The call falls outside scope or targets an unvetted tool or server.

    Rate limit

    An invocation threshold is exceeded, so calls are slowed or halted.

    Escalate

    A high-consequence or irreversible action waits for human approval.

    Test your clauses against the execution path

    See how enforcement at runtime turns tool-call policy into allow, redact, block, rate limit, and escalate decisions, with audit-ready evidence for each one.

    See How Evidence Is Produced