Skip to main content
Glama
mcp-cappz-marketplace

mcp-cappz-marketplace

Official

market_dispute

Raise a contract dispute as buyer or seller so a marketplace operator can decide whether to release funds, refund, or split them.

Instructions

Buyer or seller: raise a dispute on a contract; a marketplace operator decides release, refund or split.

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": {
      "contract": "<contract>",
      "reason": "<reason>"
    },
    "name": "market_dispute"
  }
}

Input Schema

NameRequiredDescriptionDefault
asNoPractice market only: act as this party id.
demoNoUse the practice market on this computer (nothing published, no real money).
reasonYesWhat went wrong.
networkNoWhich market (default testnet). Validate on testnet, then use mainnet (real XRP).
contractYesContract id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv16.9.1

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the authority model ('buyer or seller') and the resolution outcomes decided by the operator, but says nothing about cost, reversibility, escrow implications, deadlines, or 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?

A single dense sentence, front-loaded with the actor and action and followed by the outcome. No filler wording; every clause carries 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?

For a 5-parameter mutation tool with no annotations and no output schema, the definition covers purpose and resolution outcomes but omits what happens to funds during the dispute, expected response, and prerequisites. Adequate but with clear gaps.

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 the schema already documents 'contract', 'reason', 'network', 'as' and 'demo'. The description adds no parameter syntax or format detail beyond that, so the baseline 3 applies.

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 states a specific verb ('raise a dispute'), the resource ('a contract'), who can invoke it ('Buyer or seller'), and the outcome ('a marketplace operator decides release, refund or split'). This is distinct from siblings like market_cancel, market_claim or market_deadman-claim.

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

Usage Guidelines3/5

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

It implies the situation (a buyer or seller unhappy with a contract) but gives no explicit when-not conditions, prerequisites (e.g. contract must be funded/active), or named alternatives for other recourse flows. Usage context is inferable but not spelled out.

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