Skip to main content
Glama
mcp-cappz-marketplace

mcp-cappz-marketplace

Official

market_mandate

Grant or revoke an AI agent’s marketplace authority by defining allowed actions, categories, spending limits, currency, and co-signature thresholds so it can trade only within your rules.

Instructions

Principal (a person or organization running this tool): grant your agent a mandate — what it may do, in which categories, up to how much — or revoke one. Agents cannot grant themselves anything.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "market_mandate"
  }
}

Input Schema

NameRequiredDescriptionDefault
asNoPractice market only: act as this party id.
daysNoValid for this many days (default 30).
demoNoUse the practice market on this computer (nothing published, no real money).
agentNoThe agent’s party id (it prints it in setup).
maxDayNoMost per day (default 3 × max-contract).
revokeNoRevoke this mandate id instead (see setup or show <agent>).
actionsNobuy, sell or both (default buy), or comma-separated verbs (see ops).
bindKeyNoBind the mandate to the agent’s declared signing key: its approval requests must then be signed by that key.
networkNoWhich market (default testnet). Validate on testnet, then use mainnet (real XRP).
askAboveNoAbove this value the agent needs your co-signature.
currencyNoXRP (default), CAPPZ, USD-tokenZ/1 (RLUSD) or USD: the mandate covers deals in this asset only (grant one per asset).
categoriesNoComma-separated category ids (default: any).
maxContractNoMost per contract (default 100).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv16.9.1

TDQS

B3.4/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 burden. It does disclose the key authority model — 'Agents cannot grant themselves anything' — which is real behavioral value, and the fact that this is a mutation with financial limits. However, it never mentions the default testnet vs mainnet real-XRP risk, the co-signature threshold behavior (askAbove), revocation semantics, or whether grants are reversible.

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 with the actor and the grant/revoke split front-loaded. The parenthetical '(a person or organization running this tool)' is mild padding but does resolve audience ambiguity; nothing else is wasted.

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 13-parameter financial-authority tool with no annotations and no output schema, the description covers purpose and authority but leaves behavioral gaps: mainnet real-money risk, default validity/limits, binding to a signing key, and what a revocation implies. The exhaustive schema mitigates this, keeping it at a viable 3 rather than lower.

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% across all 13 parameters, so the schema does the heavy lifting. The description adds a useful conceptual framing that maps 'what it may do, in which categories, up to how much' onto actions/categories/maxContract/maxDay, but supplies no syntax, defaults, or constraint details 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?

States a specific verb pair (grant or revoke) and resource (an agent mandate) with scoped content: what the agent may do, in which categories, up to how much. The principal-vs-agent framing also distinguishes it from the sibling market_constraints-* and market_deadman-* tools by caller role, though no sibling is named explicitly.

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?

The description implies who should call it (the principal) and the two modes (grant, revoke) via the `revoke` parameter, but gives no explicit when-to-use routing, no prerequisites (e.g., the agent must already have a party id from setup), and no guidance on validating on testnet before mainnet.

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