Skip to main content
Glama

close_and_mint

Settlement close that mints the outcome receipt into the agent wallet as a condition of SETTLED. First mint free once per agent; then x402 $0.01 (or wallet plan).

Input Schema

NameRequiredDescriptionDefault
tx_idYes
outcomeYes
agent_idYes
task_classYes
value_bandYes
source_kindYes
counterparty_classYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose two real traits — minting is a precondition of SETTLED and there is a per-agent free-then-paid cost model — but says nothing about idempotency, whether closing is irreversible, or what happens when payment fails.

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

Conciseness5/5

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

Two tight sentences with zero filler, and the core action is front-loaded before the pricing caveat.

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?

For a 7-required-param mutation-style tool with no annotations and no output schema, the description should define parameter intent and failure behavior. It covers cost and the SETTLED coupling but leaves the invocation details almost entirely unaddressed.

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?

Seven required parameters at 0% schema description coverage, and the description names none of them. Ambiguous fields like value_band, counterparty_class, source_kind, and outcome get no explanation anywhere, leaving the agent to guess at formats.

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

Purpose4/5

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

States a specific verb and resource: a settlement close that mints an outcome receipt, tied to a SETTLED state. That is far more specific than the sibling mint_receipt, though the description never explicitly contrasts the two.

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

Usage Guidelines3/5

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

The pricing line (first mint free once per agent, then x402 $0.01) implies this is the paid settlement path, but the description never states when to pick this over mint_receipt or how it relates to check_tx/verify_receipts. Usage is inferable but not spelled out.

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