H-12Safety, Boundaries & RecoveryStrategyEngineering

Cheap Speculation & Declared Blast Radius

Declare reversibility and risk per tool, enable cheap dry-runs and rollbacks, and keep Productive Friction while removing Dead Friction.

Human UXAgent AXUser control and freedom→Declared blast radius

It starts as a chore. The cloud bill is up, so on a Friday afternoon an infrastructure agent gets a simple task: find storage volumes in the account that aren't attached to any server and have sat unused for more than 30 days, then delete them. It has four tools: list_volumes, describe_volume, snapshot_volume and delete_volume.

The team is careful, so the harness asks a human to approve every tool call. The on-call engineer gets the prompts in a chat channel. First list_volumes. Then describe_volume, 23 times, once per unattached volume. Each prompt looks the same: a tool name, a JSON blob, an Approve button. She approves them between other tasks, faster each time.

Prompt 25 reads delete_volume {"volume_id": "vol-0c41"}. It looks exactly like the 24 before it. She clicks Approve.

The volume was 40 days old, which is why it qualified. But it had been detached three hours earlier, during a maintenance window, from a production database replica. Nobody had snapshotted it. The data is gone, and the replica now needs a full rebuild from the primary over the weekend.

Every gate in that session worked as designed. The human approved every call, which is exactly what made the one dangerous call invisible.

Why it happens

A person cleaning up the same account in a cloud console gets plenty of warnings. The list page is free to browse. The Delete button is red and sits behind a menu. The confirmation dialog names the volume, says the action can't be undone, and sometimes makes you type the name. Jakob Nielsen called the principle behind this user control and freedom: people make mistakes, so give them an emergency exit, and make the irreversible things hard to do by accident.

The agent sees none of that. For an agent, a tool is a name, a description and a schema of arguments. Those three things are the only cues it has about what a tool does and how careful to be. The Guide calls these cues schema affordancesLexicon · 31Schema AffordancesUsage cues communicated through tool names, parameters and types., by analogy with the handle that tells your hand to pull. In the hook, list_volumes and delete_volume have the same affordances: a short verb, one string argument, no warning. Nothing in the schema says one of them can destroy data.

The missing property has a name: blast radiusLexicon · 40Blast Radius & ReversibilityDeclared risk scope and undoability properties of a tool action.. It means how much a call can change, and whether that change can be undone. A read has a blast radius of zero. A snapshot adds something you can remove later. A delete of an unbacked volume is permanent. When the tool doesn't declare its blast radius, nobody downstream can act on it. The agent can't, the harness can't, and the approver can't.

So the harness does the only safe thing it can with no information: it gates everything. That gate spreads the same caution evenly across 25 calls, and 24 of them didn't need it. Gates on harmless actions, which block nothing and train people to click through, are dead frictionLexicon · 41Productive vs. Dead FrictionProtective gates on destructive actions versus pointless blocks on safe reads.. A gate that stops a real, irreversible mistake and shows the human what is at stake is productive friction. The goal is to have plenty of the second and none of the first.

The figure below replays the cleanup session both ways, as the approver sees it. Start with the undeclared row, where every call wears the same gate, then look at the declared row and see where the one gate went.

What the human seesWhat she doesWhat happensUndeclared: every call asks for approval1list_volumes()Approve2describe_volume(vol-0a12)Approve… 21 more describe_volume prompts, all the same24describe_volume(vol-0c41)Approve25delete_volume(vol-0c41)ApproveClicks Approve 25 times,faster each time.The delete looks exactlylike the 24 reads.vol-0c41 is goneIt was a prod replica’s disk,detached 3 h ago, with nosnapshot. The replica needs afull rebuild over the weekend.Declared: each tool says what it can break24 reads, no prompt1delete_volume(vol-0c41)Dry-run previewwould_delete: vol-0c41, 500 GBlast_attached: db-orders-replica-2 env prod, detached 3h agosnapshots: 0IrreversibleApproveRejectReads what would belost: a prod replica’sdisk, no snapshot,no way back.An informed decision1 approval instead of 25,and she sees what is atstake before she clicks.
Fig. 12.1The same cleanup session, before and after declaring blast radius. Undeclared, every call needs approval, and the one irreversible delete looks like the 24 harmless reads around it. Declared, reads flow through, and the delete gets a dry-run and one approval that shows what would be lost.

Notice that the declared version isn't less careful. It has the same number of destructive calls behind a gate: one. What changed is that the 24 dead gates are gone, so the one gate left gets the approver's full attention, and it shows her a preview instead of a JSON blob.

The dry-run matters for the agent too. The agent believed vol-0c41 was abandoned, because it was unattached and old. That belief was wrong, and nothing in the session ever checked it against reality. A gap like that, between what the agent thinks the world looks like and what it actually looks like, is world-model driftLexicon · 20World-Model DriftDivergence between the agent's internal beliefs and actual environment state.. A cheap preview is the moment where drift gets caught: the tool reports what the delete would actually touch, and the agent gets to change its mind before anything happens.

Gating everything is the same as gating nothing. It just takes longer.

What it costs

Irreversible mistakes. The expensive failures in infrastructure work are deletes, drops, force-pushes and terminations. A schema that hides which tools do these leaves both the agent and the human guessing, and the guess is usually "it's fine."

Supervision that stops supervising. Approving 25 identical prompts is not oversight. It is a click-through habit, and the habit forms fast. The experience of the human who watches, approves and audits an agent is supervisory UXLexicon · 04Supervisory UXThe human principal's interface for monitoring, steering and auditing agents., and an approval queue full of reads is bad supervisory UX. The person in the loop is there in name only.

Pressure to remove the guardrails. Dead friction is annoying, and annoying gates get removed. The team turns on "approve all for this session," or gives the agent a broader credential that skips the queue. The next session has no gates at all, including on the delete.

Slow, timid agents. An agent that can't preview a change has two options: act blind or not act. Teams that have been burned once usually pick "not act," and the agent becomes a script that asks permission. Most of the value of automating the cleanup is gone.

The fix

In plain words: every tool says how much it can break, every risky tool offers a free preview, and the gates go only where the breakage is real.

  1. Declare blast radius on every tool. Is it read-only? Can it destroy data? Is it safe to repeat? Does it reach outside your system?
  2. Make speculation cheap. Any destructive tool takes a dry-run that reports exactly what would change, and costs nothing to call.
  3. Place friction by risk. No approval on reads. Logging on reversible writes. One informed approval on irreversible actions, showing the dry-run result.

The Model Context Protocol gives the first step a standard shape. An MCP tool can carry four annotations: readOnlyHint (it changes nothing), destructiveHint (it may destroy or overwrite data), idempotentHint (calling it twice with the same arguments does nothing extra) and openWorldHint (it touches systems outside your control, such as the public web). Harnesses can read these and decide which calls need a human.

Here is the delete_volume tool definition from the hook, before and after.

Before · tool definitiondelete_volume → 45 tok
{
  "name": "delete_volume",
  "description": "Deletes a volume.", 1
  "inputSchema": {
    "type": "object",
    "properties": { "volume_id": { "type": "string" } },
    "required": ["volume_id"]
  }
} 2
  1. 1Three words that read exactly like a lookup. Nothing tells the agent, the harness or the approver that the action is permanent.
  2. 2No annotations, so the harness has no way to tell this tool apart from list_volumes. It gates both or neither.
Tokens45
Human approvals in the cleanup session25 approvals
After · tool definitiondelete_volume → 120 tok
{
  "name": "delete_volume",
  "description": "Permanently deletes a volume and its data. Run with dry_run=true first.", 1
  "inputSchema": {
    "type": "object",
    "properties": {
      "volume_id": { "type": "string" },
      "dry_run": { "type": "boolean", "default": true }, 2
      "confirm_token": { "type": "string" } 3
    },
    "required": ["volume_id"]
  },
  "annotations": {
    "readOnlyHint": false,
    "destructiveHint": true, 4
    "idempotentHint": true,
    "openWorldHint": false
  }
}
  1. 1The description states the consequence and the safe first move in one sentence. The agent reads it on every call.
  2. 2Dry-run is the default. A careless call previews instead of deleting, so the cheap path and the safe path are the same path.
  3. 3The real delete needs the token from a dry-run. That adds a turn, which is the point: the agent cannot skip the preview.
  4. 4The annotations let the harness gate this tool, and only this tool. The three read tools carry readOnlyHint: true and flow without approval.
Tokens120
Human approvals in the cleanup session1 approvals
Illustrative example

Pin 1 fixes the affordance. "Deletes a volume" describes the happy path. "Permanently deletes a volume and its data" describes the blast radius, and it costs a dozen tokens.

Pins 2 and 3 make speculation cheap and mandatory. With dry_run defaulting to true, the first call returns a preview like this one:

{
  "dry_run": true,
  "would_delete": { "volume_id": "vol-0c41", "size_gb": 500 },
  "last_attached": { "instance": "db-orders-replica-2", "env": "prod", "detached": "3h ago" },
  "snapshots": 0,
  "reversible": false,
  "confirm_token": "del-vol-0c41-7f2a",
  "expires_in": "10m"
}

An agent reading env: "prod" and detached: "3h ago" has a real chance to stop and ask. If it goes ahead, the approver sees this preview in the prompt instead of a bare ID. The confirm token ties the real delete to the preview: if the volume changes after the dry-run, the token stops working and the agent has to look again.

Pin 4 is the declaration the harness acts on. Note that idempotentHint is true even here: deleting the same volume twice does nothing the first call didn't. That tells the harness a retry after a timeout is safe, which is a different question from whether the first call is safe.

One caution from the spec itself: annotations are hints. A harness should trust them only from servers it trusts, and a server should be audited the way you'd audit any permission system. A tool that lies about readOnlyHint is worse than one that says nothing.

The same pattern on other tools

Every tool falls into one of a few risk classes, and each class deserves its own kind of friction:

Tool shapeDeclared asCheap speculationFriction
List, describe, searchreadOnlyHint: trueNot neededNone
Create, snapshot, tagdestructiveHint: falseValidate inputs onlyLog it
Update in place, apply configdestructiveHint: true, idempotentHint: trueA diff of old and new valuesApprove on prod only
Delete, drop, terminatedestructiveHint: trueA dry-run naming everything affectedOne informed approval
Send email, post, payopenWorldHint: trueA rendered previewApprove, since it can't be recalled

Older tools got here first. terraform plan before terraform apply, kubectl apply --dry-run=server, rsync --dry-run and git clean -n all exist because operators wanted to see a change before making it. Agents need the same thing, and they need it in the tool schema, where they will actually see it.

The other lever is reversibility itself. A delete that moves the volume to a seven-day recycle bin has a much smaller blast radius than one that destroys it. Make actions undoable where you can, and many gates stop being necessary at all.

In MCP terms

The four annotations in the delete_volume definition above are the whole vocabulary MCP has for blast radius. A few details decide whether they actually help the approver.

  • Pessimistic defaults (readOnlyHint, destructiveHint, openWorldHint). A tool with no annotations is assumed to change its environment (readOnlyHint false), possibly destructively (destructiveHint true), and to reach an open world (openWorldHint true). So list_volumes and describe_volume have to say readOnlyHint: true out loud, or a careful client gates them like the delete.
  • Retry safety (idempotentHint). It defaults to false, and like destructiveHint it only means something when readOnlyHint is false. On delete_volume it tells the client that repeating the call after a timeout won't destroy anything new.
  • Confirmation (a client duty). The MCP spec says clients should "Prompt for user confirmation on sensitive operations" and keep a human able to deny any tool call. Annotations help a client pick those operations. Since clients must treat them as untrusted unless the server is trusted, the confirm token lives in the tool, where it holds even if a client ignores every hint.
  • Tool description (description). The annotations speak to the client. The description is what the spec calls a "hint" to the model, so the consequence belongs there in words: "Permanently deletes a volume and its data."
  • Not in the protocol. MCP has no dry-run, preview, undo or reversibility field. dry_run, confirm_token and reversible are ordinary arguments and result fields that you declare in inputSchema and return yourself.

Spot it in your traces

Here is the hook session as it would appear in a trace log. Look at how little separates turn 24 from turn 25.

TraceAn infrastructure agent cleaning up unattached volumes
  1. T1
    list_volumes(state="available")→ 23 volumes, oldest 212 days [approved by human]Twenty-three unattached volumes. Check each one's age.A read that changes nothing waited for a human. This is dead friction, and it starts the click-through habit.
  2. T2
    describe_volume(volume_id="vol-0a12")→ { "created": "212d ago", "state": "available" } [approved by human]Old and unattached. It qualifies.One of 23 identical read approvals. By now the approver is clicking without reading.
  3. T3
    describe_volume(volume_id="vol-0c41")→ { "created": "40d ago", "state": "available" } [approved by human]Older than 30 days and unattached, so it's abandoned.The response omits when the volume was last attached and to what. The agent fills the gap with a guess.
  4. T4
    delete_volume(volume_id="vol-0c41")→ { "deleted": true } [approved by human]Cleanup progressing. Next volume.An irreversible action, approved in the same second as the reads before it. No preview, no snapshot, no way back.

To find the same pattern in your own logs, look for these signals:

  • Approval rate near 100 percent with sub-second approval times. If humans approve almost everything, and fast, the gates are dead friction. Find which tools they are on.
  • Destructive calls with no preview before them. Search for delete, drop, terminate, overwrite and force calls. Check whether the turn before was a dry-run, plan or diff of the same target.
  • Tools with no annotations. List every tool on your MCP servers that has no readOnlyHint or destructiveHint. Per the spec's defaults, a harness should treat those as possibly destructive, which is how reads end up gated.
  • Reasoning that infers safety from age or state. Phrases like "unused, so", "old, so it's safe" or "probably abandoned" right before a destructive call are conclusions the tool should have confirmed.
  • Sessions where the gates were switched off. "Approve all" settings and broad credentials are the long-term symptom of dead friction. Each one is a place where the team gave up on the gate.

Review checklist

Run these against every tool that can change state. Each check takes a minute or two, and the list pastes into a pull request template for new tools.

Review checklist · 7 items
  1. Give every tool explicit readOnlyHint and destructiveHint annotations, even when the answer seems obvious.How to check List all tools on the server. None should be missing both annotations. Spot-check three reads and three writes against the implementation.
  2. Write the consequence into the description of every destructive tool: what it removes, and whether it can be undone.How to check Read the description out of context. Someone who has never seen the tool should know it is permanent.
  3. Give every destructive tool a dry-run that names everything the real call would change and reports whether it is reversible.How to check Call it with dry_run=true on a test resource. Nothing should change, and the response should name the affected resources, their dependencies, and reversible: true or false.
  4. Require the real destructive call to reference a recent dry-run, for example with a short-lived confirm token.How to check Call the destructive tool without a token, then with an expired one. Both should be refused with a message that says to run the dry-run first.
  5. Remove human approval from read-only tools.How to check Run a session that only reads. It should finish without a single approval prompt.
  6. Show the dry-run result in the approval prompt for destructive calls.How to check Trigger an approval for a delete. The prompt should show what would be lost and whether it can be undone, not just the tool name and raw arguments.
  7. Prefer reversible versions of destructive actions where possible: soft delete, recycle bin, automatic snapshot.How to check Delete a test resource, then try to restore it within the retention window. If restore works, consider relaxing the gate.

When laws collide

Declaring risk and adding previews changes how many calls a task takes and what each one returns, so it pulls against some laws and strengthens others.

  • Pulls against · H-08Compositional Accelerators
    Where they clash
    Compositional Accelerators says to batch work on the computer's side: one delete_volumes(ids=[…]) call instead of 23 deletes. A batch delete also multiplies the blast radius of a single approval by 23.
    How to have both
    Batch freely for reads and reversible writes. For destructive batches, the dry-run must list every item with its own risk flags, and the confirm token should cover exactly that list. The human approves one batch, but sees each item that would go.
  • Where they clash
    Token Hygiene asks every response to carry only what helps the next decision. A dry-run adds a full round trip and a preview payload to every destructive action.
    How to have both
    Keep previews compact: affected resources, dependencies, reversibility and the token, nothing else. Skip the dry-run step for actions that are both reversible and cheap, where the undo is the preview.
  • Works with · H-10Poka-Yoke Boundaries
    How they combine
    Poka-Yoke Boundaries rejects bad calls inside the tool before they run. A required confirm token is exactly that: a delete without a fresh preview is a malformed call.
    What you get
    The tool itself enforces the safe sequence, so safety doesn't depend on the agent remembering a rule or the human reading carefully. The gate becomes structural instead of procedural.

Model size shifts the balance a little. A strong model may run a describe call before a delete on its own initiative, but only if the read returns the facts that matter. A smaller model is more likely to take "unattached and old" at face value. Default-on dry-runs protect both, and that is the point of fixing the tool instead of the prompt.

Terms from this page

31Schema Affordances
Usage cues communicated through tool names, parameters and types.
40Blast Radius & Reversibility
Declared risk scope and undoability properties of a tool action.
41Productive vs. Dead Friction
Protective gates on destructive actions versus pointless blocks on safe reads.
20World-Model Drift
Divergence between the agent's internal beliefs and actual environment state.
04Supervisory UX
The human principal's interface for monitoring, steering and auditing agents.
esc

Try “tokens”, “errors”, “stale”, “handoff” or “blast radius”.