Skip to main content
Glama

Agent Spend Governor — settle a lease, idempotent (PAID $0.02)

v1_governance_settle

Settle an agent spend lease by submitting its lease ID and actual amount, ensuring an idempotent paid governance settlement.

Instructions

Agent Spend Governor — settle a lease, idempotent (PAID $0.02)

Remote route: POST /v1/governance/settle (0.02 USD x402/base/usdc on eip155:8453).

Input Schema

NameRequiredDescriptionDefault
lease_idYes
actual_amountYes

Output Schema

NameRequiredDescriptionDefault
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.8/5.0
Behavior1/5

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

The description/title asserts the operation is 'idempotent' while annotations declare idempotentHint=false — a direct contradiction. Beyond the price and route, nothing is said about what gets mutated, reversibility, or auth, and the stated idempotency claim actively misleads.

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?

It is short and front-loaded, but the description is essentially the title plus a route line, so it is concise at the cost of being under-specified rather than efficiently informative.

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

Completeness2/5

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

It is a paid, open-world write operation with two entirely undocumented parameters and an output schema present (so return values need not be explained). The omission of parameter meaning and the idempotency contradiction leave it materially incomplete for a mutation tool.

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

Parameters1/5

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

Schema description coverage is 0% and the description adds nothing about 'lease_id' or 'actual_amount' — not their format, provenance, or whether actual_amount must reconcile against a prior reservation. The description fails to compensate for the total coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description contains a specific verb and resource ('settle a lease'), but it reads as a title restatement and offers no differentiation among the many settlement-family siblings (v1_settlement_conditional, v1_a2a_settlement, v1_agent_treasury_release, v1_settlement_receipt). An agent cannot tell from this what 'settling a lease' means versus those alternatives.

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

Usage Guidelines1/5

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

There is no guidance on when to call this tool, what precondition must hold (a lease presumably created elsewhere), or which sibling to prefer for related settlement operations. The only extra sentence is a transport route, not usage guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools