Skip to main content
Glama
mcp-cappz-marketplace

mcp-cappz-marketplace

Official

market_update

Change a marketplace listing's price, availability, title, description, lead time, endpoint, or acceptance criteria so future orders use the new terms while existing contracts stay unchanged.

Instructions

Seller: change one of your listings — price, what is available, title, description, lead time, endpoint or acceptance criteria. Applies to orders placed after it; formed contracts keep their terms.

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

Input Schema

NameRequiredDescriptionDefault
asNoPractice market only: act as this party id.
demoNoUse the practice market on this computer (nothing published, no real money).
unitNoNew default unit (e.g. year).
plansNoReplace the other plans: id:label:unit:price[:periodDays[:maxQuantity]] joined by ";", or JSON ("none" removes them).
priceNoNew price per unit (same asset).
titleNoNew title.
listingYesYour listing id (cappz-market listings).
networkNoWhich market (default testnet). Validate on testnet, then use mainnet (real XRP).
endpointNoPaid agents: new https endpoint ("none" removes it).
leadDaysNoDays from order to delivery.
availableNoUnits left to sell from now (0 pauses orders; withdraw closes the listing).
acceptanceNoNew acceptance criteria for future orders (JSON or a file; "none" removes them).
periodDaysNoDays of service per default unit (0 removes it).
descriptionNoNew description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv16.9.1

TDQS

A4/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 meaningful work: it discloses the seller-only authorization scope and, critically, the non-retroactivity rule that existing contracts retain their original terms. It stops short of covering partial-update semantics (are omitted fields left untouched?), error cases, or how practice/mainnet selection interacts with the change.

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 sentences, front-loaded with actor and resource, with the field enumeration packed into one clause and the temporal rule in the second. No filler, no repetition of schema detail.

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 14-parameter mutation with no annotations and no output schema, the description covers purpose, authorization, field scope, and the crucial contract-timing semantics. Remaining gaps — partial vs full update behavior, what a successful response contains, and practice-vs-mainnet workflow (only in schema) — are modest but real.

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% and the schema already explains each field richly (e.g. 'available: 0 pauses orders; withdraw closes the listing', the plans mini-format, the network validation advice). The description only restates the field list and adds the forward-looking effect on orders; it adds no format or constraint detail beyond the schema, so baseline 3 applies.

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 ('change'), resource ('listing'), and actor ('Seller'), then enumerates the mutable fields — price, availability, title, description, lead time, endpoint, acceptance criteria. An agent can immediately tell this is the edit-existing-listing tool rather than a create (market_ask/market_draft) or close operation.

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 'Seller:' prefix establishes the actor precondition, and 'Applies to orders placed after it; formed contracts keep their terms' gives a real timing rule for when the change takes effect. However, no alternatives are named — nothing says to use market_close to withdraw, market_ask to create, or which sibling to pick when the intent is ambiguous.

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