Skip to main content
Glama

Policy precedence check

wever_policy-precedence-check
Read-only

Agent Oversight: submit a standing policy set in advance (per-action and period limits, allowed and blocked counterparties, who may approve exceptions), a momentary approval (approver, amount, counterparty, expiry) and the action taken or proposed. The signed report says which instruction governs and why, whether the action sat inside both, and the exact point of conflict when they disagree. Standing limits are part of the instruction. An action against policy text is wever_policy-fit-check. Verdict outside_standing_policy, outside_approval or inside_both. POST /api/policy-precedence-check. Reads only the material in the call: no network request, fetch, money movement, message, sharing, configuration change or external write. 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-oversight-contract. Human page: https://weverlabs.com/agent-oversight/.

Input Schema

NameRequiredDescriptionDefault
labelNoOptional name recorded in the report.
actionYes
approvalYes
standingYesThe standing policy set in advance.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations it discloses that the tool reads only the material in the call — no network request, fetch, money movement, message, sharing, configuration change or external write — which is important given the POST route and the false idempotentHint. It also documents pricing (0.10 USDC per call on Base via x402 exact, 10 free signed-wallet calls per rolling 30 days), the X-Wever-Wallet-Proof requirement bound to the exact JSON arguments and route, and the Ed25519 signed receipt returned.

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?

Nearly every sentence carries real information, but it is delivered as a single dense run-on that mixes semantics, verdict names, payment mechanics, auth headers and links without paragraph or list structure. An agent can parse it, but the front-loaded purpose is quickly buried under operational detail, and repeated 'signed report/signed receipt' phrasing could be tightened.

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 nested, multi-object check with no output schema, the definition still describes the report contents and verdict enumeration, spells out read-only scope, and documents cost, free-tier limits, wallet-proof binding and the contract/human reference URLs. Nothing an agent needs to invoke it correctly or anticipate the response appears missing.

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 coverage is only 50% and the parameters are deeply nested, yet the prose covers most of the semantic surface: per-action and period limits, allowed and blocked counterparties, who may approve exceptions, and for the approval the approver, amount, counterparty and expiry, plus taken vs proposed status. It does not explain the interaction of spent_in_period with period_limit or how free-text 'text' fields are weighed against structured limits, leaving some interpretation to the schema.

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 names the specific inputs compared (standing policy set, momentary approval, action taken or proposed) and the concrete output (which instruction governs, whether the action sat inside both, and the exact conflict point). It also names the sibling it is not — 'An action against policy text is wever_policy-fit-check' — so an agent can separate it from the many neighboring policy tools without opening a schema.

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

Usage Guidelines4/5

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

It gives explicit routing: submit standing + approval + action here, but use wever_policy-fit-check for an action judged against policy text. It also enumerates the outcome space (outside_standing_policy, outside_approval, inside_both), which clarifies when a call is warranted. It stops short of a full when-not list (e.g. what to do if there is no approval record at all), so not a top score.

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.