Skip to main content
Glama

escrow_refund

Propose a refund with a fresh payout destination; the buyer submits an Ark address, Lightning address, or invoice, and the arbiter co-signs after the deadline.

Instructions

Buyer: propose refund with a fresh payout (arbiter co-signs after deadline)

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": {
      "id": "<id>"
    },
    "name": "escrow_refund"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
payoutArkNoArk address from an Arkade wallet on this escrow's Arkade server (escrow_limits arkade.url; mainnet https://arkade.computer). Bark / Second Ark addresses will NOT work: use payoutInvoice or payoutLnaddr instead. Checked before anything is signed
payoutLnaddrNo
payoutInvoiceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It discloses that the buyer proposes the refund and that an arbiter co-signs after a deadline, but it does not explain state changes, permissions, reversibility, or what happens if co-signing never occurs.

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 definition is a single compact sentence with no filler, and the buyer role and co-sign timing are front-loaded. It is terse to the point of being cryptic, but it is not verbose or poorly organized.

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 four-parameter mutation/proposal tool with no annotations, no output schema, and low schema description coverage, the description is too thin. It omits parameter roles, the relationship to escrow_refund_payout, and the expected outcome of proposing a refund.

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

Parameters2/5

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

Schema description coverage is only 25%, and the description adds almost no parameter meaning beyond the vague phrase "fresh payout." It does not clarify that id is the escrow identifier or explain the payoutArk, payoutInvoice, and payoutLnaddr alternatives.

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?

The description states a specific action and resource: the buyer proposes a refund with a fresh payout. It also identifies the arbiter co-sign condition. However, it does not distinguish this tool from the sibling escrow_refund_payout or explain how the two steps relate.

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 description implies that this is buyer-initiated and tied to a post-deadline arbiter co-sign, which gives some usage context. It does not state when to use this versus escrow_refund_payout or other refund paths, nor does it describe prerequisites or exclusions.

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