Skip to main content
Glama

raise_dispute

Buyer only: dispute a submitted delivery. Funds stay locked. Clear cases (no proof, unreachable proof) resolve automatically; contested work is evaluated against the escrow description and ruled release or refund. Consider request_revision first if the work is close.

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

Input Schema

NameRequiredDescriptionDefault
wantNoPhysical goods only: send it back for a full refund (default), keep it with a full refund, or keep it for part of the price back (partial_refund: once the item's arrival is confirmed)
photosNoPhysical goods only: 1 to 5 public https links to photos of what arrived. Required for every report about an item that arrived (damaged, not_as_described, wrong_item, missing_parts, other); only not_arrived needs none
reasonYesWhat is wrong with the delivery, measured against the escrow description
escrowIdYesEscrow ID
acceptFeesNoOnly on a job Synmerco does not review, once review fees have started: {"disputeFeeCents": 500} approves the $5 dispute deposit from your review credits, returned in full if the dispute succeeds. Disputing a reviewed job is free (ignored there).
reasonCodeNoPhysical goods only: what is wrong, as a code the seller's agent can act on
partialPercentNoWith want partial_refund: the percent of the price you ask back

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / photos / description
      Previous value: -"Physical goods only: up to 5 public https links to photos of the problem"New value: +"Physical goods only: 1 to 5 public https links to photos of what arrived. Required for every report about an item that arrived (damaged, not_as_described, wrong_item, missing_parts, other); only not_arrived needs none"
  2. Changed4 schema fields changed
    • addedInput schema / properties / partialPercent
      Added value: +{
      +  "description": "With want partial_refund: the percent of the price you ask back",
      +  "maximum": 99,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / photos
      Added value: +{
      +  "description": "Physical goods only: up to 5 public https links to photos of the problem",
      +  "items": {
      +    "maxLength": 500,
      +    "type": "string"
      +  },
      +  "maxItems": 5,
      +  "type": "array"
      +}
    • addedInput schema / properties / reasonCode
      Added value: +{
      +  "description": "Physical goods only: what is wrong, as a code the seller's agent can act on",
      +  "enum": [
      +    "not_arrived",
      +    "damaged",
      +    "not_as_described",
      +    "wrong_item",
      +    "missing_parts",
      +    "other"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / want
      Added value: +{
      +  "description": "Physical goods only: send it back for a full refund (default), keep it with a full refund, or keep it for part of the price back (partial_refund: once the item's arrival is confirmed)",
      +  "enum": [
      +    "refund_return",
      +    "refund_keep",
      +    "partial_refund"
      +  ],
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / acceptFees / description
      Previous value: -"Once review fees have started: {\"disputeFeeCents\": 500} to accept the $5 dispute fee from your review credits, returned if the dispute succeeds."New value: +"Only on a job Synmerco does not review, once review fees have started: {\"disputeFeeCents\": 500} approves the $5 dispute deposit from your review credits, returned in full if the dispute succeeds. Disputing a reviewed job is free (ignored there)."
  4. Changed1 schema field changed
    • addedInput schema / properties / acceptFees
      Added value: +{
      +  "description": "Once review fees have started: {\"disputeFeeCents\": 500} to accept the $5 dispute fee from your review credits, returned if the dispute succeeds.",
      +  "type": "object"
      +}
  5. Changed5 schema fields changed
    • removedInput schema / properties / raisedBy
      Removed value: -{
      -  "description": "DID of the agent raising the dispute",
      -  "maxLength": 256,
      -  "minLength": 8,
      -  "pattern": "^did:[a-z]+:[a-zA-Z0-9._:%-]+$",
      -  "type": "string"
      -}
    • changedInput schema / properties / reason / description
      Previous value: -"Detailed reason for the dispute"New value: +"What is wrong with the delivery, measured against the escrow description"
    • changedInput schema / properties / reason / minLength
      Previous value: -10New value: +20
    • removedInput schema / properties / respondent
      Removed value: -{
      -  "description": "DID of the other party",
      -  "maxLength": 256,
      -  "minLength": 8,
      -  "pattern": "^did:[a-z]+:[a-zA-Z0-9._:%-]+$",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "escrowId",
      -  "raisedBy",
      -  "respondent",
      -  "reason"
      -]New value: +[
      +  "escrowId",
      +  "reason"
      +]
  6. First observed

TDQS

A4.2/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does substantial work: funds remain locked during the dispute, clear-cut cases resolve automatically, contested work is judged against the escrow description, and outcomes are binary release or refund. It leaves open the fee mechanics (deferred to the acceptFees schema), typical resolution timing, and whether a dispute can be withdrawn.

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?

Four short sentences, front-loaded with the audience restriction and the core action, followed by consequence, resolution logic, and the alternative. Nothing is repeated and no sentence could be dropped without losing decision-relevant information.

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 7-parameter mutation with nested objects and no output schema, the description covers the process flow and outcome space well, which is the hardest part for an agent to infer. It does not describe what the call returns (dispute ID, status) or the lifecycle after filing, leaving a small gap for a high-stakes action.

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 every parameter (want, photos, reasonCode, partialPercent, acceptFees) is already documented in the schema with enums and constraints. The description adds only indirect meaning via 'evaluated against the escrow description,' which frames what the reason argument is judged against, but contributes no syntax or selection guidance beyond the 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?

States a specific verb and resource ('dispute a submitted delivery') plus a hard eligibility constraint ('Buyer only'), and names the sibling it differs from (request_revision). An agent can immediately tell this is the escalation path rather than the negotiation path.

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 a concrete decision rule: 'Consider request_revision first if the work is close,' which names the alternative and the condition that selects it. It does not spell out exclusions such as when a dispute is premature or invalid (e.g., before delivery confirmation), so it stops short of fully explicit when/when-not guidance.

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