Skip to main content
Glama

State reconciliation check

wever_state-reconciliation-check
Read-only

Agent Recovery: submit a recovery flow: each piece of state the agent works from (a balance, task states, sent items, orders, bookings, records or something else) with the system record it is checked against, when the agent’s view is checked against it after an interruption (before new work, after new work has started, on a schedule or never) and what happens when they differ (the system record wins, the agent’s view wins, work stops for a person or the difference is only logged), and whether new work waits for reconciliation to finish, plus optionally the recoveries seen with when reconciliation finished, when new work started and the differences found and settled. The signed report says whether the agent’s view is reconciled against the system’s record before new work starts, and names every view never checked, checked only after new work or trusted over the record, no hold on new work and every recovery seen starting work before reconciliation (the agent resuming on its own stale picture), then every check only on a schedule, every difference only logged and every difference left unsettled, with the fix for each. This reads agreement on state after an interruption: expected settlements against received transfers are wever_settlement-reconciliation-check, cached context that can outlive a change is wever_cache-staleness-check and what an interrupted task’s reported state shows is wever_partial-state-check. Verdict resumes_on_stale_state, reconciliation_gaps, reconciliation_unverified or reconciled_before_work. POST /api/state-reconciliation-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-recovery-contract. Human page: https://weverlabs.com/agent-recovery/.

Input Schema

NameRequiredDescriptionDefault
flowNoThe recovery flow, such as resume after a crash.
gateNoNew work waits until reconciliation finishes.
runsNoRecoveries seen, with when reconciliation finished and new work started.
itemsYesEach piece of state the agent works from.
labelNoOptional name recorded in the report.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Goes well past the annotations: it discloses that reads touch only call material with no network request, money movement, message, sharing or configuration change, and adds pricing (0.10 USDC via x402 exact plus 10 signed-wallet free calls per 30 days), the required X-Wever-Wallet-Proof binding to the exact JSON arguments and route, the POST endpoint, and the Ed25519 signed receipt in the response. That is real operational context an agent cannot infer from readOnlyHint/openWorldHint alone.

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?

A single run-on sentence spanning most of the description tries to carry the flow definition, and the long enumeration of 'every view never checked, checked only after new work, trusted over the record, no hold on new work...' duplicates the enum values already in the schema. Pricing, auth binding and endpoint appear after the wall of text, so important call mechanics are not front-loaded.

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 paid, signed, single-purpose POST tool with no output schema, the description still tells the agent what the report proves, the four possible verdicts, the contract path and the human page. Nothing needed to call it or interpret the result is absent.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3. The description's parameter prose (state plus the record checked against, when reconciliation happens, what happens on mismatch, whether new work waits, optional runs) largely restates the schema field descriptions rather than adding new meaning, though it does frame them as one coherent flow.

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?

States a specific verb and resource ("submit a recovery flow" for state reconciliation after an interruption) and enumerates the verdicts it returns. It explicitly separates itself from wever_settlement-reconciliation-check, wever_cache-staleness-check and wever_partial-state-check by describing the distinct object each one reads, so an agent can pick correctly without opening schemas.

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?

The routing sentence names three alternatives and the exact condition that selects each (settlements vs transferred funds, cache that outlives a change, an interrupted task's reported state). What is missing is a stated agent-workflow trigger and any negative case beyond 'use the sibling instead', so it falls short of full when/when-not coverage.

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.