Skip to main content
Glama

warda

Build a revocation or a reclaim

warda_build_exit

Assemble an unsigned transaction that ENDS this grant and sweeps its balance to the principal. 'revoke' is the emergency stop, signed by the revocation key, effective the moment it confirms — the agent cannot stop it and cannot outrun it beyond the limits it already had. 'reclaim' is the same sweep after the window has closed, signed by the principal key; the covenant enforces the timing with a CLTV, so a reclaim built early simply will not run. THIS SERVER NEVER SEES A KEY. This is the tool a monitor calls when a grant is behaving badly and something has to act.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYes
utxoYesThe grant's CURRENT UTXO. Its address moves after every spend, so a stale one will not be found.
grantYesThe grant, as issued by the principal.
feeSompiNo
lockTimeNoReclaim needs at least expiresAt, and still below the current DAA score. Revoke takes 0.
computeBudgetNo

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure, and it communicates key traits: the transaction is unsigned, the server never sees a key, revoke is effective immediately once confirmed, and reclaim is CLTV-gated. It also discloses that the agent cannot stop or outrun a confirmed revoke. This is strong coverage, though it does not describe error conditions or returned data shape.

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?

The description is front-loaded with the essential action and then expands into the two modes, key safety, and intended use case. Every sentence adds semantic value, though the phrasing 'cannot outrun it beyond the limits it already had' and the uppercase safety line add rhetorical emphasis rather than new information.

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

Completeness4/5

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

For a moderately complex builder with nested objects and no output schema, the description is nearly sufficient: it explains purpose, the two operational modes, timing guarantees, and key handling. It does not explicitly describe the returned unsigned-transaction shape or clarify how `feeSompi` and `computeBudget` should be chosen, but nothing essential to selecting the tool or invoking the main parameters is missing.

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?

The description adds meaningful semantics to the `kind` parameter by explaining what revoke and reclaim do and which key signs each, and it reinforces `lockTime` via the CLTV window. However, with only 50% schema description coverage, the optional `feeSompi` and `computeBudget` parameters receive no added context, and many nested grant fields are left to their names.

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, concrete action: 'Assemble an unsigned transaction that ENDS this grant and sweeps its balance to the principal.' This precisely identifies both the resource (the grant) and the outcome (ending it), and clearly differentiates it from sibling builders like warda_build_spend or warda_build_settlement, which would not terminate the grant.

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 explicitly frames when to use it: 'the tool a monitor calls when a grant is behaving badly and something has to act.' It also separates the two modes—revoke for immediate emergency stop, reclaim for after the window has closed—and even notes that an early reclaim 'simply will not run.' It does not name sibling alternatives explicitly or state when not to use this tool beyond those timing constraints.

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.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool has a distinct role: build_* assembles different transaction types, check_* validates proposals, grant_* derives or reports grant state, and recover_grant restores state from chain data. Even the similar-looking exit and settlement are clearly separated by destination: principal versus parent budget.

Naming Consistency4/5

The set is mostly consistent with a warda_<verb>_<noun> pattern, e.g. build_delegation, check_spend, recover_grant. Two tools, grant_address and grant_authority, are noun phrases rather than verb_noun, so the pattern is not perfectly uniform.

Tool Count5/5

Nine tools is well within the ideal range and each tool covers a distinct part of the grant lifecycle: building, checking, querying, settling, exiting, and recovering. There is no obvious redundancy or unnecessary surface area.

Completeness4/5

The surface covers the core lifecycle well: delegation, spending, settlement, exit/revoke, address derivation, authority checks, and recovery. The main gap is that advisory checking is provided for spend and delegation but not for exit or settlement, so the validity of those operations must be worked around via covenant behavior or other tools.