Skip to main content
Glama
mcp-cappz-marketplace

mcp-cappz-marketplace

Official

market_fund

Fund a contract's current stage into XRP Ledger escrow, locking each payee's payment with a buyer-held secret and returning it after 30 days if unreleased.

Instructions

Buyer: pay the current stage into escrow. XRP: one ledger escrow per payee, locked by a secret only you hold, returned to you after 30 days if never released. Moves money: on mainnet pass yes=true only after the person you act for agrees.

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

Input Schema

NameRequiredDescriptionDefault
asNoPractice market only: act as this party id.
yesNoConfirms a mainnet money movement.
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.
referenceNoUSD deals only: the payment reference (USD is otherwise paid in the web app).
co-signatureNoAgents above their mandate threshold: the co-signature (JSON or file) the mandate grantor made with cappz-market cosign.

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?

No annotations are provided, so the description must carry the full behavioral burden. It does disclose important traits beyond what the schema says: the funds move into escrow, each payee gets a separate ledger escrow, a secret only the caller holds locks the escrow, and an unreleased escrow is returned after 30 days. It omits irreversibility, fees, and what happens when the call succeeds; that last omission matters for a mutation tool with no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loaded, with no wasted words. However, the 'Buyer:' / 'XRP:' label-colon fragments are cryptic; 'XRP' is not a role, and the two clauses cover different perspectives (actor vs. mechanism) without a connective, which makes it harder to parse than a single well-formed sentence.

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 seven-parameter tool that moves real XRP and has no annotations and no output schema, the description covers escrow and release behavior and the mainnet safety gate reasonably well. It does not describe the success response, the co-signature path for agents above their mandate threshold, or the reference requirement for USD deals; those gaps matter for an agent deciding whether it can safely complete the call.

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 documents all seven parameters and the baseline is 3. The description clarifies the intent of yes (a real-money confirmation on mainnet). It says nothing, however, about reference, co-signature, as, or demo beyond what the schema already states.

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: the buyer pays the current stage into escrow. That verb plus the escrow mechanics ('one ledger escrow per payee') make the funding action distinct from the nearby accept, deliver, or claim tools, even though no sibling tool is named. The telegraphic 'Buyer:' label helps identify who performs the action, but the fragment is not a full statement of purpose.

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?

The description gives the critical gating condition for a real-money call: on mainnet, pass yes=true only after the party you act for agrees. It also implies the practice/mainnet split, which the network parameter reinforces. No explicit comparison between this tool and alternatives is given, but the precondition is stated directly.

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