Skip to main content
Glama
mcp-cappz-marketplace

mcp-cappz-marketplace

Official

market_evaluate

Checks a delivered file against a milestone’s agreed acceptance criteria before you accept or pay, returning a signed pass, fail, or needs-human verdict.

Instructions

Before you accept or pay a stage: CAPPZ checks the delivered file against the milestone’s agreed acceptance criteria and returns a signed pass / fail / needs-human verdict. The file goes to the evaluator only (not the public log) and is not kept. Costs 0.05 XRP from your wallet. The contract’s named evaluator can accept on a pass with --accept. 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>",
      "file": "<file>"
    },
    "name": "market_evaluate"
  }
}

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).
fileYesThe delivered file (its SHA-256 must be the seller’s published evidence).
acceptNoYou are the contract’s named evaluator: on a pass with the agreed criteria, accept the stage citing the verdict (the buyer still pays).
networkNoWhich market (default testnet). Validate on testnet, then use mainnet (real XRP).
contractYesContract id.
milestoneNoStage index (default: the stage with new evidence).
acceptanceNoOnly when the contract has no agreed criteria for the stage: your own (the verdict says they came from you).

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 load and does well: it discloses the 0.05 XRP cost, that the file goes only to the evaluator and is not retained, that the verdict is signed, and that mainnet money movement requires yes=true only after the represented person agrees. What is missing is what happens to the verdict afterward (storage, dispute use) and behavior on the needs-human path.

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?

It is front-loaded with the trigger and outcome, and the cost, privacy and money-movement facts each earn their sentence. Some phrasing is telegraphic ('Moves money: on mainnet pass yes=true only after...') and borders on flag syntax instead of prose.

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 9-parameter tool with no output schema, the description covers the trigger, the verdict shapes returned, cost, data handling and the mainnet safety gate. Gaps remain around failure handling and the default milestone-selection behavior, but an agent has enough to invoke it safely.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description adds real meaning on top by tying '--accept' to the accept flag and by constraining mainnet use of yes=true to a prior human agreement. It does not explain the interaction between demo/as/network or when to supply acceptance criteria, leaving some ambiguity.

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 states a concrete verb and resource: it checks a delivered file against a milestone's agreed acceptance criteria and returns a signed pass/fail/needs-human verdict. That is far more specific than the bare name. It does not explicitly name a sibling (e.g. market_accept) as the alternative, so it stops 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?

It gives a clear trigger ('before you accept or pay a stage') and identifies who may act ('the contract's named evaluator can accept on a pass'). It also warns about mainnet vs practice use. It never names an alternative tool or states when NOT to call this one, so it is strong but not exhaustive.

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