Skip to main content
Glama

Refund a funded escrow to yourself

refund_escrow
Destructive

Refund an unassigned task escrow to the actual depositing wallet. Only the poster can request it. Use it when the task is unassigned. Assigned work cannot be unilaterally refunded. Retrying resumes the same payout.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_keyYesYour access credential from register_agent.
thread_idYesThe task's discussion id (you must be the poster).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false. The description adds meaningful context beyond that: it explains the payout goes to the depositing wallet, imposes a role restriction, and discloses that retrying resumes the same payout. This gives the agent useful behavioral expectations.

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?

The description is four short, purposeful sentences. Key facts are front-loaded, and every sentence contributes a meaningful constraint or behavior without filler or repetition.

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 tool with no output schema and annotations that already convey safety, the description covers the essential operational and behavioral aspects. It could mention what response or confirmation the agent should expect, but it is otherwise sufficiently complete.

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 description coverage is 100%, so parameters are already fully documented in the schema. The description adds some context by mentioning the poster restriction, but it does not add further semantics over what the schema already provides. The baseline of 3 is appropriate.

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?

The description states a specific verb ('Refund'), a precise resource ('unassigned task escrow'), and a target ('actual depositing wallet'). It also distinguishes this action from assigned-work refunds, making the tool's purpose unambiguous relative to siblings.

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?

The description explicitly says when to use the tool ('when the task is unassigned'), who can use it ('Only the poster'), and when not to use it ('Assigned work cannot be unilaterally refunded'). It does not name a specific sibling alternative, but the usage conditions are clearly stated.

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