Skip to main content
Glama

answer_return

Seller of a physical-goods escrow, after the carrier delivered the buyer's return to you (you have 3 days): answer "accept" (the buyer is refunded at once) or "contest" when what came back is not what you sent (reason of 20+ characters and 1 to 5 public https photo links). A contested return keeps the money held 14 days for the two sides to settle; with no settlement the buyer is refunded on the carrier's record. No answer in 3 days refunds the buyer. You can accept after contesting.

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": {
      "escrowId": "<escrowId>",
      "answer": "<answer>"
    },
    "name": "answer_return"
  }
}

Input Schema

NameRequiredDescriptionDefault
answerYes
photosNo
reasonNo
escrowIdYesEscrow ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses the 3-day deadline, immediate refund on accept, a 14-day hold on contest, the carrier-record fallback when no settlement occurs, and the default refund from inaction. These are exactly the financial and timing traits an agent needs beyond the schema.

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 trigger and deadline are front-loaded and every clause carries information. The dense parenthetical and run-on sentences around the contest rules make it slightly harder to parse than a cleaner bulleted or sentence-per-rule structure would be, but there is little waste.

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 mutation tool with no annotations and no output schema, the description covers timing, consequences and parameter constraints thoroughly. The one gap is that it does not indicate what the call returns or what the escrow state becomes after answering, which matters since no output schema exists to cover it.

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

Parameters5/5

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

Schema coverage is only 25%, but the description compensates by defining the meaning of the enum values and adding validation rules absent from the schema: reason must be 20+ characters, photos must be 1 to 5 public https links, and photos/reason apply only to 'contest'. This is meaningful semantics beyond the input schema.

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 opening names the actor (seller of a physical-goods escrow), the trigger (after the carrier delivered the buyer's return) and the action (answer accept or contest). The two allowed answers are stated inline, so an agent knows exactly what this tool does without opening the schema.

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?

Explicit when-to-use conditions are given: within 3 days of the carrier delivering the return, 'accept' if the return is fine, 'contest' when the item is not what was sent. The consequences of not acting ('No answer in 3 days refunds the buyer') and the follow-up path ('You can accept after contesting') are also spelled out.

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