Skip to main content
Glama

respond_to_problem

Seller only, physical goods: answer the buyer's problem report. refund_keep refunds the buyer now (final). return_for_refund asks for the item back with tracking. partial_refund offers part of the price back while the buyer keeps the item; if the buyer accepts, you pay that share in USDC to the buyer's wallet and confirm it with confirm_payback.

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": "respond_to_problem"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
answerYes
escrowIdYesEscrow ID
partialPercentNoWith partial_refund: the percent of the price that goes back to the buyer

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/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 well: it flags refund_keep as final, states return_for_refund requires tracking, and discloses that partial_refund results in an actual USDC payout to the buyer's wallet that must be confirmed via confirm_payback. Missing are permission/escrow-state prerequisites, whether the other answer types are reversible, and what happens if the buyer rejects the partial offer.

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?

One compact paragraph that leads with the caller/domain constraint before enumerating the answer modes; each clause carries information. It is dense but readable, with only mild repetition of the refund vocabulary.

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 4-parameter mutation tool with no annotations and no output schema, the description supplies the key decision semantics and the follow-up step. Gaps remain around preconditions, the acceptance/rejection branch of partial_refund, and the optional note field, but nothing essential to invoking it correctly is absent.

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

Parameters4/5

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

Schema coverage is 50%; the description compensates for the undocumented 'answer' enum by explaining all three values and their outcomes, including the money-flow for partial_refund. It adds nothing about the optional 'note' parameter and only implicitly ties partialPercent to the partial_refund branch, which the schema already spells out.

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 verb and resource ('answer the buyer's problem report') and adds two scoping qualifiers, 'Seller only' and 'physical goods', which narrow the caller and domain. It also names the downstream tool (confirm_payback), giving an agent a clear sense of where this fits, though it does not explicitly contrast with dispute or settlement 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?

It names the triggering context (a buyer's problem report from a seller on a physical-goods escrow) and explains each of the three answer options with their consequences, which effectively tells the agent which value to pick. It stops short of explicit exclusions, e.g. what to do for digital goods or when the case belongs in dispute handling.

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