Skip to main content
Glama
mcp-cappz-marketplace

mcp-cappz-marketplace

Official

market_buy

Buy a marketplace listing to form a contract and fund its first stage from XRP Ledger escrow, with optional plan, quantity, network, and practice-mode settings.

Instructions

Buy from a listing. This forms a contract; then fund its first stage.

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": {
      "listing": "<listing>"
    },
    "name": "market_buy"
  }
}

Input Schema

NameRequiredDescriptionDefault
asNoPractice market only: act as this party id.
demoNoUse the practice market on this computer (nothing published, no real money).
planNoOne of the listing's plans (cappz-market show <listing>), e.g. month; quantity is then in that plan's unit.
listingYesListing id.
networkNoWhich market (default testnet). Validate on testnet, then use mainnet (real XRP).
quantityNoUnits (default 1).
evaluatorNoA third party (never the seller) who may accept milestones besides you; you still pay.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv16.9.1

TDQS

A3.5/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 behavioral burden; it does disclose two important traits: the call creates a binding contract and immediately moves funds for the first stage. It omits reversibility, cancellation path (market_cancel exists), permission/auth requirements, and what happens if funding fails mid-call — significant gaps for a money-moving mutation.

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 short sentences, front-loaded with the core action, with the compound side effect stated immediately after. No filler or restatement of the tool name.

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 7-parameter, money-moving mutation with no annotations and no output schema, the description covers the essential mechanic (contract formation plus first-stage funding) but leaves the agent without guidance on network choice, practice-mode behavior, or results. Adequate as a minimum, not complete.

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 (plan, quantity, evaluator, network, demo, as) is already documented in the schema. The description adds no interpretation of how plan and quantity interact with the listing's units, so the baseline of 3 applies.

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?

The description gives a specific verb and resource ("Buy from a listing"), which clearly separates it from ask/bid/accept siblings. It stops short of naming an alternative or describing how it differs from a bid-style flow, so it isn't 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 Guidelines3/5

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

"Buy from a listing" implies the situation (you want to purchase at the listed terms), and "then fund its first stage" hints that funding is bundled so a separate funding call may not be needed. There is no explicit when-not guidance, no named alternative, and no stated prerequisites such as being on testnet first, despite the schema flagging a testnet-then-mainnet workflow.

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