Skip to main content
Glama

Prepare: end a hold

hold_end
Read-onlyIdempotent

One unsigned transaction ending a hold: release (its payee or operator, any time) or, after the expiry and the payee's 4-day grace, reclaim (anyone). Either way every share left goes back to the payer. Until then the payer cannot end it. Warns when releasing would give up accepted vouchers nobody has collected.

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": {
      "wallet": "<wallet>",
      "hold": "<hold>"
    },
    "name": "hold_end"
  }
}

Input Schema

NameRequiredDescriptionDefault
holdYesThe hold's id
walletYesThe wallet's address (0x...); the transactions are built for it to sign

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Goes well past the annotations: it discloses that the output is one unsigned transaction for the wallet to sign, that residual shares return to the payer, that the payer is barred from ending the hold early, and that a warning fires when releasing forfeits uncollected accepted vouchers. That warning behavior and the timing rules are invisible in the structured fields. It stops short of stating whether the prepared transaction is broadcast or only returned.

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?

Four tight sentences with no filler; the core 'who may end it and when' facts lead. The parenthetical style ('release (its payee or operator, any time)') is dense enough that a first pass takes a re-read, which costs it a point.

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 two-parameter transaction builder with no output schema, the description covers authorization, timing, fund flow, and the warning case — essentially everything needed to call it correctly. Only the return/signing handoff stays vague, which matters because it is a prepare-only tool.

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 coverage is 100%, so both parameters (hold id, wallet address) are already fully documented in the schema. The description adds no parameter-level detail beyond implying the wallet is the signer, which the schema already says. Baseline 3 applies.

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?

Names a specific action (prepare an unsigned transaction) and resource (ending a hold), and distinguishes its two modes — release by payee/operator vs. reclaim by anyone after expiry plus grace. It never references any sibling (hold_status, hold_collect, hold_open), so an agent must infer the boundary from the name alone.

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?

Gives concrete selection conditions for each path: release any time by the payee or operator, reclaim only after expiry plus the payee's 4-day grace. It also supplies a negative condition ('until then the payer cannot end it'). What's missing is routing guidance against the other hold_* tools, so the choice of this tool over hold_status or hold_collect is left implicit.

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