Skip to main content
Glama
mcp-cappz-marketplace

mcp-cappz-marketplace

Official

market_reject

Reject a delivered contract stage with a reason so the seller can fix and resubmit it; the stage returns to waiting on the seller and no payment is made.

Instructions

Buyer: reject the delivery of the current stage with the reason, so the seller can deliver again (the stage goes back to waiting on the seller; nothing is paid). For a disagreement the seller will not fix, use dispute.

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_reject"
  }
}

Input Schema

NameRequiredDescriptionDefault
asNoPractice market only: act as this party id.
demoNoUse the practice market on this computer (nothing published, no real money).
reasonYesWhat does not match what was agreed (recorded on the log, so the seller can fix it).
networkNoWhich market (default testnet). Validate on testnet, then use mainnet (real XRP).
contractYesContract id.
milestoneNoStage index (default: the stage waiting on you).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv16.9.1

TDQS

A4.4/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 substantial work: it discloses the state transition (stage returns to waiting on the seller), the financial effect (nothing is paid), and that the reason is recorded so the seller can act on it. It stops short of stating permission/cosigner requirements beyond the 'Buyer:' role tag or what the call returns, so it is strong but not exhaustive.

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?

Two tight sentences with zero filler. The actor and consequence are front-loaded, and the alternative is deferred to a final clause where it belongs.

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 6-parameter mutation with no annotations and no output schema, the definition covers purpose, state effect, money effect, and the sibling alternative — enough to call it correctly. It leaves implicit how the practice-market parameters (demo/as) interact with the real-money path and what the response confirms, which is a minor gap given the schema documents those fields.

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 baseline is 3. The description reinforces that 'reason' is written to the log for the seller and that rejection targets the current stage, but it does not add format, length, or selection guidance beyond what the schema's own descriptions already say for milestone, network, demo, and as.

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 (reject), the exact resource (delivery of the current stage), the actor (Buyer), and the immediate consequence (seller can deliver again, nothing is paid). It also names the sibling tool it is not (dispute), so an agent can separate the two without opening either 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?

Gives an explicit when-to-use condition (delivery does not match what was agreed, and the seller can fix it) and an explicit when-not with the alternative (a disagreement the seller will not fix → use dispute). Routing is unambiguous.

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