Skip to main content
Glama

Risk exposure check

wever_risk-exposure-check
Read-only

Agent Risk: submit one planned action and the limits it runs under: the action with its id, the unit it counts in, what it puts at stake if it goes as planned, the most it puts at stake if it goes wrong (the worst case, not the expected case), how that worst case was reached, whether the worst case has no ceiling, such as an open-ended liability, whether a person approved it at its worst case and its description, read for wording that sizes it on the expected case such as should be fine or on average; each limit with its id, name, kind (a cap on one action, a cap over a period, a total cap or an amount above which a person approves), amount, unit and how much of it is already used; and optionally the share of a limit’s room that counts as near it (80 when left out). The signed report gives the action with its stake and where the stake comes from (the worst case, or the expected case when that is all the plan states), every limit with the room it leaves, the stake’s share of that room and its status as within, approved, near, over, room_unknown, other_unit or unread, and counts the limits within, near, over, with unknown room and in another unit, and names an excessive exposure: a stake over a limit’s room, a stake above an approval threshold with no approval recorded and a worst case with no ceiling; then a stake using most of a limit’s room, a plan that states only the expected stake, wording that sizes the action on the expected case and a worst case with no stated basis, with the fix for each. A cap on one action is read against the whole stake and a period or total cap against the room left after what is used; a limit in another unit is not compared. This reads one action’s worst-case stake against the agent’s limits, the limits the wever_limit checks review: a request’s allow-or-deny preview against a budget policy is wever_agent-budget-guard, a cap design’s scope, window and breach rule is wever_exposure-cap-check, which limit governs each kind of job is wever_limit-scope-check, one cap shared by several agents is wever_shared-cap-check and an agent budget’s five controls are wever_budget-controls-check. Verdict risk_exposure_excessive, risk_exposure_elevated, risk_exposure_unknown or risk_exposure_bounded. POST /api/risk-exposure-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-exposure-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOptional name recorded in the report.
actionYes
limitsNoEach limit the action is read against.
warn_percentNoA stake at or above this share of a limit’s room counts as near it; 80 when left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnlyHint and destructiveHint annotations, the description states that it reads only recorded material in the call, makes no network request or external write, and does not take, pause, approve or undo the action or change any limit or dependency. It also describes the signed report, verdicts, paid access and wallet proof, which are material behavioral details.

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

Conciseness3/5

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

The description is front-loaded with the core operation, but it becomes a long monolithic paragraph mixing input semantics, report format, sibling routing, billing and contract links. Many clauses are useful for a complex tool, but the density and repetition make it harder to scan than necessary.

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?

Given four top-level parameters, nested action and limits objects, no output schema, and a complex risk computation, the description is complete enough: it explains the input semantics, report contents, statuses, verdicts, excessive-exposure findings and remediation guidance. It also clarifies read-only behavior and access mechanics.

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?

The description explains key action semantics beyond the schema: worst case versus expected case, worst_basis, unbounded worst cases, approval at worst case, and reading the action description for expected-case wording. It also explains limit kinds, warn_percent defaulting to 80, and how per-action versus period/total caps are compared, though it still largely restates schema fields such as id, unit and amount.

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 states a specific verb and resource: submit one planned action and its limits, then read the action's worst-case stake against those limits. It explicitly names what it is not and distinguishes itself from wever_agent-budget-guard, wever_exposure-cap-check, wever_limit-scope-check, wever_shared-cap-check and wever_budget-controls-check.

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 gives explicit when-to-use guidance by naming the sibling checks and the conditions that select them, including budget previews, cap design, limit scope, shared caps and budget controls. It also sets boundaries against uncertainty, consent, authority, negotiation risk and triage checks.

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