Skip to main content
Glama
mcp-cappz-marketplace

mcp-cappz-marketplace

Official

market_take-back

Reclaim stage funds after an unreleased 30-day hold ends: returns ledger escrow via cancel, closes payment channels, and refunds card-paid USD stages in the web app.

Instructions

Buyer: after a stage’s 30-day hold has ended unreleased, take its funds back (a stage funded by reference). Ledger escrows return with EscrowCancel and payment channels by closing; a card-paid USD stage is refunded in the web app.

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>"
    },
    "name": "market_take-back"
  }
}

Input Schema

NameRequiredDescriptionDefault
asNoPractice market only: act as this party id.
demoNoUse the practice market on this computer (nothing published, no real money).
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.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it does substantial work: it discloses the outcome differs by funding mechanism (EscrowCancel for ledger escrows, channel closure for payment channels, web-app refund for card-paid USD) and warns that one class of stage cannot be handled here. However, it says nothing about permissions/authorization, idempotency, or what happens if the call is made before the hold ends, leaving real gaps for a mutation tool.

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?

Two tight sentences, front-loaded with the actor and precondition before the mechanism detail. No filler words, though the parenthetical 'a stage funded by reference' is slightly cryptic and the dense second sentence packs three mechanisms together.

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 no-annotation mutation tool with no output schema, it covers preconditions, per-mechanism outcomes, and one important limitation. It stops short of describing failure behavior or required authorization, which an agent would want before invoking a funds-moving operation.

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 is already documented in the schema, and the baseline is 3. The description adds only the notion that the contract identifies a 'stage funded by reference', plus network/practice context implied elsewhere; it contributes little beyond the structured fields.

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 ('take its funds back'), resource (a stage's held funds), actor ('Buyer'), and a concrete precondition (the 30-day hold ended unreleased). It does not explicitly distinguish itself from plausible siblings such as market_cancel or market_dispute, so it falls short of a 5.

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 clear when-to-use conditions: only as the buyer, and only after a stage's 30-day hold has elapsed without release. It also implicitly excludes card-paid USD stages by pointing them to the web app. What is missing is explicit routing to alternative tools for the cases this one does not cover.

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