Skip to main content
Glama

escrow__refund_escrow

Refunds an escrow to the payer with exactly-once guarantees, handling open, funded, or disputed states.

Instructions

[escrow — trustless escrow & settlement (exactly-once)] Refund an OPEN/FUNDED/DISPUTED escrow to the payer (exactly-once). Refunding an OPEN escrow is a cancel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNo
escrow_idYes
Behavior4/5

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

Discloses behavioral traits such as the cancel equivalence for OPEN escrows and the 'exactly-once' guarantee. With no annotations, this provides key context beyond the obvious refund action.

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 concise sentences that efficiently convey core purpose and a key nuance. No wasted words, appropriate length.

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?

Adequately covers use cases and behavior for a straightforward refund operation. Lacks explanation of return value or idempotency details, but no output schema exists to rely on.

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?

The description does not explain the 'reason' parameter at all, and 'escrow_id' is only implied. With 0% schema coverage, the description should compensate but fails to add meaning beyond the schema property titles.

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?

Clearly states the verb 'Refund' and the resource 'escrow' along with specific states (OPEN/FUNDED/DISPUTED). Distinguishes from siblings like 'release_escrow' by specifying 'to the payer' and noting that refunding an OPEN escrow is a cancel.

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?

Specifies eligible escrow states and notes the cancel behavior for OPEN escrows. However, it does not explicitly compare to alternatives like 'release_escrow' or 'dispute_escrow' or provide when-not-to-use guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jdhart81/viridis-agent-fleet'

If you have feedback or need assistance with the MCP directory API, please join our Discord server