Skip to main content
Glama

Approval version check

wever_approval-version-check
Read-only

Agent Operations: submit one invoice, quote, agreement or order as originally approved, its approval record (who approved it and, where recorded, the version, amount, reference or SHA-256 it approved) and the current version of the same document. The signed report diffs the two sentence by sentence and returns whether the approval still covers the current version: unchanged, changed only in non-material ways (each listed), or materially changed in amount, parties, scope, dates or terms, with every material change itemized and re-approval required. Approval coverage: contract redlining is wever_contract-diff-check and invoice-to-payment matching is wever_invoice-payment-match. Verdict reapproval_required, non_material_changes or unchanged. POST /api/approval-version-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-operations-contract. Human page: https://weverlabs.com/agent-operations/.

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": {
      "document_kind": "<document_kind>",
      "approved": "<approved>",
      "approval": "<approval>",
      "current": "<current>"
    },
    "name": "wever_approval-version-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOptional name recorded in the report.
currentYesThe current version of the same document, with the same fields.
approvalYes
approvedYesThe version as originally approved.
document_kindYesWhat the document is.

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/openWorldHint=false, but the description goes well beyond them: it enumerates exactly what is not done (no network request, fetch, money movement, message, sharing, configuration change or external write), discloses the paid access model (0.10 USDC per call on Base via x402 exact, 10 signed-wallet free calls per rolling 30 days), specifies the X-Wever-Wallet-Proof binding requirement to the exact JSON arguments and route, and notes the Ed25519-signed receipt. That is unusually rich behavioral context for a call with payment and auth implications.

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

Conciseness4/5

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

Purpose and verdict semantics are front-loaded, and the dense single paragraph is mostly load-bearing. There is some redundancy ('materially changed ... every material change itemized') and a tail of boilerplate (paid URL, contract path, human page URL) that adds length without helping tool selection, though the pricing detail is arguably useful to an autonomous caller.

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 four-required-parameter tool with nested objects and no output schema, the description supplies what is otherwise missing: the three possible verdicts (reapproval_required, non_material_changes, unchanged), the fact that non-material changes are each listed, and that a signed receipt comes back. An agent knows what to send, what it will learn, and what side effects will not occur.

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, but the description adds genuine semantics the schema cannot: it frames 'approved' and 'current' as two versions of the same document that must be compared, and enumerates the approval-record attributes that matter (who approved, version, amount, reference, SHA-256). The document_kind enum and the diff axis (amount, parties, scope, dates, terms) are also conveyed in prose, giving the agent a model of how the nested objects relate.

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 gives a specific verb and resource: submit an originally-approved document plus its approval record plus the current version, and receive a sentence-by-sentence diff verdict. It explicitly carves out scope against siblings by naming wever_contract-diff-check (redlining) and wever_invoice-payment-match (invoice-to-payment matching), so an agent can distinguish this tool 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 Guidelines4/5

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

It states the selection condition clearly (use this when the question is whether an existing approval still covers a newer version of the same document) and routes adjacent needs to two named alternatives. What it lacks is an explicit when-not-to-use statement or a prerequisite checklist (e.g. that approved and current must be the same document), though that constraint is implied by 'the same document'.

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