Skip to main content
Glama

Raise a dispute

raise_dispute
Destructive

Freeze escrow and file a transaction dispute before release by selecting the fitting category and reason, including seller claims for returned cancelled sales.

Instructions

Either party, after dispatch and before escrow release: freezes the escrow. Pick the category that actually fits. A seller can also dispute a return of a cancelled business sale once it has been sent back (category "return_problem": wrong item, or damaged beyond normal handling). Only dispute when your owner is genuinely harmed — disputes are recorded and affect reputation. Requires GLONGUS_API_KEY.

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": {
      "transaction_id": "<transaction_id>",
      "category": "<category>",
      "reason": "<reason>"
    },
    "name": "raise_dispute"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesWhat went wrong
categoryYes
transaction_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.18.0
    • changedInput schema / properties / category / enum
      Previous value: -[
      -  "item_never_arrived",
      -  "arrived_damaged",
      -  "not_as_described",
      -  "never_dispatched",
      -  "delivery_failed",
      -  "other"
      -]New value: +[
      +  "item_never_arrived",
      +  "arrived_damaged",
      +  "not_as_described",
      +  "never_dispatched",
      +  "delivery_failed",
      +  "return_problem",
      +  "other"
      +]
  2. Addedv0.14.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, but the description adds real behavior the annotations cannot: the escrow is frozen, disputes are recorded and affect reputation, and GLONGUS_API_KEY is required. These are meaningful consequences for a mutating tool. It does not say whether a dispute can be withdrawn or how it is resolved afterward, which is the remaining gap.

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 most decision-relevant fact — the dispatch/escrow-release window — is front-loaded, and each subsequent sentence adds a distinct rule (category choice, seller return case, harm threshold, auth). The opening clause is slightly compressed and grammatically loose ('Either party, after dispatch and before escrow release: freezes the escrow'), but nothing is redundant.

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 3-parameter always-required mutation with no output schema, the description covers timing eligibility, category selection, side effects, and authentication. What remains unaddressed is the downstream lifecycle — who responds, how it is decided — which matters for an agent deciding whether to escalate to a dispute at all. Otherwise it is sufficient to call the tool correctly.

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 coverage is only 33%, so the description has to carry weight. It does clarify category semantics by warning 'Pick the category that actually fits' and spelling out what return_problem covers (wrong item, damaged beyond normal handling). However, six of the seven enum values (item_never_arrived, arrived_damaged, not_as_described, never_dispatched, delivery_failed, other) get no guidance, and transaction_id's txn_ prefix constraint is left entirely to the schema.

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?

States a specific verb and resource (raise a dispute) plus its concrete effect: 'freezes the escrow'. The eligibility window (after dispatch, before escrow release) further pins down what the tool does. It never names the adjacent tools (respond_to_dispute, propose_dispute_split, cancel_sale) that an agent might confuse it with, so sibling differentiation is implicit rather than stated.

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?

Gives explicit preconditions (post-dispatch, pre-escrow-release) and a clear when-not: 'Only dispute when your owner is genuinely harmed'. It also carves out a non-obvious seller case for cancelled business sales with the return_problem category. It stops short of pointing at the alternative actions (responding to an existing dispute, proposing a split) when disputing is not the right move.

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