Skip to main content
Glama

request_refund

Destructive

[Buy] Buyer refund before confirm: returns escrowed gas, cancels order. After confirm, use dispute_purchase.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNo
purchaseIdYes

TDQS

A4/5.0
Behavior4/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false. The description adds meaningful context beyond that by explaining the specific effects: 'returns escrowed gas, cancels order' and clarifies the timing restriction. No contradiction with annotations.

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, front-loaded with the core purpose, and no wasted words. The structure efficiently communicates the key information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the high-level purpose and usage timing well, but omits any parameter details, which is a notable gap for a 2-param tool. However, the tool is simple and annotations provide safety context, so it's minimally viable.

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?

Schema description coverage is 0%, so the description carries full responsibility for explaining parameters. It does not mention purchaseId or reason, offering no guidance on required vs optional inputs or their meaning. This fails to compensate for the schema gap.

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 clearly states the action (buyer refund before confirm), the resource (escrowed gas, order cancellation), and distinguishes it from the sibling tool dispute_purchase by specifying the timing ('before confirm' vs 'after confirm').

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

Usage Guidelines5/5

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

Explicitly states when to use the tool ('before confirm') and provides a direct alternative ('After confirm, use dispute_purchase'). This fully guides the agent on tool selection.

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.

TDQS

C2.9/5.0
Disambiguation2/5

Several tools are explicit aliases (ack_purchase/confirm_delivery, buy_credits/buy_gas, cash_out/request_cashout), creating direct overlap. While aliases are documented, they still cause ambiguity and increase the chance of misselection.

Naming Consistency3/5

Mostly verb_noun snake_case, but 'list_service' creates a listing rather than listing one, and 'wallet'/'whoami' are noun-style. Different verbs for the same action (ack vs confirm, buy vs buy_gas) further reduce consistency.

Tool Count3/5

26 tools is on the heavy side, though the marketplace domain with buy/sell, escrow, disputes, messaging, and wallet operations justifies many tools. Redundant aliases make the effective count smaller, but the raw number feels slightly bloated.

Completeness4/5

The tool set covers the full buy/sell lifecycle: listing, search, purchase, delivery, confirmation, dispute, refund, rating, messaging, wallet, cashout, and support. Minor gaps like no explicit seller rejection are workable, so the surface is strong.