Concepts
Enforcement pipeline
What happens to one tool call, in order.
- Authenticate the MCP server's token (or the agent's sign-in), apply its rate limits (tighter for riskier levels) and the organization's, and refuse any tool the server does not have.
- Classify the action (
aws:s3:DeleteBucket): your organization's own level if it set one, else Tracehold's reviewed rating, else the cloud's own data (AWS's access levels), raised where that understates the risk. An unknown action is treated as Destructive, so it is never silently allowed. See Risk levels. - Note where it runs: the environment you labelled the account with (Where a call runs).
- Decide: exceptions first, then the server's guardrails. A call whose arguments look hostile (injection text, a plaintext credential) is sent to a person even if it would have been allowed.
- Record the call, its session and the decision, and append it to the audit chain before anything runs.
- Act:
- Allow: hand it to your connector, which mints a key for this one call, runs it in your cloud and reports the outcome; the agent gets the result, and the outcome is appended to the audit chain.
- Ask a person: hold it, notify approvers (Slack, email, PagerDuty), and run it once after approval, when the agent's wait returns or it repeats the call (Approvals).
- Block: refuse with the reason, and a safer alternative when Tracehold has one.
- Monitor mode: allowed calls run as above; a call production would hold or block is only recorded, and nobody is asked.
What decisions see#
Decisions never see raw arguments; they see a fixed input built by the steps
above: action, risk_level, cloud_provider, parameters_hash,
agent_id, task_id, organization_id, user (for an agent signed in as
a person: their id, email and role), blast_radius (the account's
environment, the impact_plane read from the action, and older fields
kept for existing exceptions), requested_at and enforcement_mode. It is
defined once, in policy/engine.py; Exceptions
lists what a rule can match.
Arguments are kept, encrypted, only for calls that wait for a person, so the reviewer can see what they approve.