Skip to main content
Glama

Risk reversibility check

wever_risk-reversibility-check
Read-only

Agent Risk: submit one planned action and the effects it leaves outside itself: the action with its id, what it puts at stake, its unit and its description, read for wording that marks it final such as non-refundable, all sales final or cannot be undone; each effect with its id, what it leaves behind (such as the sent order or the moved funds), how it is undone (automatically, on request, by a compensating action such as a refund, not at all, or not known), what undoing it costs, how long undoing stays possible, whether undoing it needs the counterparty to agree and whether the undo has been run and worked; how long a mistake in the action takes to notice; and optionally the share of the action’s value at which an undo counts as costly (10 when left out). The signed report gives the action with any final wording, every effect with its undo, its cost and that cost’s share of the action’s value, its window in hours and its status as reversible, irreversible, closes_early, costly, needs_counterparty, compensating, unverified or unknown, and counts the effects reversible, irreversible, closing before a mistake is noticed, costly and unverified, and names an irreversible action: an effect that cannot be undone, an undo window that closes before a mistake would be noticed and wording that marks the action final; then an undo that costs a large share of the action’s value, an undo that needs the counterparty to agree and an effect undone only by a compensating action, with the fix for each. An undo not stated, untimed, uncosted or never run leaves the action unverified. This reads one action’s undo before it is taken, the undo side the Agent Recovery checks plan for after a failure: a task system’s undo design for the effects it leaves is wever_rollback-path-check, the record a recovery leaves is wever_recovery-record-check, recovering a lost result behind a settled payment is wever_payment-recovery-check, whether one move to a new system can be reversed is wever_migration-return-check and the reversibility of a money option is wever_money-fit-check. Verdict risk_irreversible, risk_reversal_costly, risk_reversal_unverified or risk_reversible. POST /api/risk-reversibility-check. Reads only the recorded material about the planned action in the call: no network request, fetch, money movement, message, configuration change or external write; the planned action is not taken, paused, approved or undone and no limit, position or dependency is changed. Agent Risk reads the consequences of an action the agent plans to take, before it takes it: how much it puts at stake against the agent’s limits, whether it can be undone, how far a failure would spread beyond its target, the worst credible outcome against what the principal can absorb, whether it piles value into one place, what it depends on staying available or true, whether acting now is itself the risk and whether repeating or chaining it multiplies the risk. It is not confidence in information (the wever_uncertainty checks read how sure the information behind a decision is; a risk check reads what the action costs if it goes wrong: uncertainty is about what the agent knows, risk is about what the action can do), not permission (wever_consent-scope-check reads whether the principal’s grant covers a use and wever_authority-scope-check reads whether the agent may act at all; a risk check reads the consequences of an action already permitted, and a permission never makes an action safe), not an agreement’s exposure (wever_negotiation-risk-check reads the value handed over before a counterparty pays under one proposed agreement; a risk check reads one action the agent is about to take) and not sorting work (the wever_triage checks sort, route and escalate a queue of work; a risk check assesses one planned action before it runs). Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/agent-risk-contract. Human page: https://weverlabs.com/agent-risk/.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "wever_risk-reversibility-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOptional name recorded in the report.
actionYes
effectsNoEach effect the action leaves outside itself.
cost_percentNoAn undo costing at or above this share of the action’s value counts as costly; 10 when left out.
noticed_withinNoHow long a mistake in the action takes to notice, such as 2 days.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, but the description goes well beyond them: no network request, no money movement, nothing fetched, the planned action is not taken/paused/approved/undone, plus the paid x402 pricing (0.10 USDC per call, 10 free signed-wallet calls per rolling 30 days), the X-Wever-Wallet-Proof binding requirement, and an Ed25519 signed receipt. That is real disclosure an agent needs beyond the annotation flags.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single dense run-on block that begins with a data dictionary rather than front-loading the purpose, and it repeats itself — the schema's field descriptions are paraphrased almost verbatim, and the 'Agent Risk reads ... not X ... not Y' catalogue consumes several hundred words. The information is valuable but far more of it is spent than required to call the tool correctly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex nested-input tool with no output schema, the description carries the return-value burden well: it enumerates the report contents (action with final wording, per-effect undo/cost/cost share/window/status), the counted totals, the named irreducible risks with their fixes, the unverified rule, and the four possible verdicts. Auth, pricing and safety posture are all present, so an agent is not left guessing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 80%, so the baseline is 3, and the description adds genuine meaning on top: it explains what cost_percent is used for (the share at which an undo counts as costly, defaulting to 10), names the undo modes as a decision set, and ties inputs to derived outputs (statuses reversible/irreversible/closes_early/costly/needs_counterparty/compensating/unverified/unknown). It also restates much of the schema's own wording, which limits it below a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource — reading one planned action's undo effects before it is taken — and explicitly contrasts itself with five named siblings (wever_rollback-path-check, wever_recovery-record-check, wever_payment-recovery-check, wever_migration-return-check, wever_money-fit-check), each with the distinguishing condition. An agent can route between these without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the when (before an action is taken, on the undo side that Agent Recovery checks after a failure), the when-not (not confidence in information, not permission, not agreement exposure, not queue sorting — each with the sibling that handles it instead), and the verdict outcomes that tell the caller what result to expect. This is unusually complete routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources