Skip to main content
Glama
mcp-cappz-marketplace

mcp-cappz-marketplace

Official

market_subcontract

Delegate part of a parent contract to a subcontractor as a child contract tied to a parent milestone, funding each stage only after the parent milestone is released.

Instructions

Seller: hand part of a contract’s work to another party as a child contract. Same asset and rail, within the parent’s unreleased value; you are its buyer and fund each stage only after the parent milestone it serves is released to you. Fees apply to the child like any contract.

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": {
      "parent": "<parent>",
      "to": "<to>",
      "title": "<title>",
      "price": "<price>",
      "serves": "<serves>"
    },
    "name": "market_subcontract"
  }
}

Input Schema

NameRequiredDescriptionDefault
asNoPractice market only: act as this party id.
toYesThe subcontractor’s party id.
demoNoUse the practice market on this computer (nothing published, no real money).
unitNoUnit (default: the parent’s).
priceYesPrice per unit, in the parent’s asset.
titleYesWhat the subcontractor delivers.
parentYesThe contract you sell on.
servesYesThe parent milestone index this work serves; the child stage is due with it.
networkNoWhich market (default testnet). Validate on testnet, then use mainnet (real XRP).
quantityNoUnits (default 1).
evaluatorNoA third party (never the subcontractor) who may accept the child’s milestones besides you.
acceptanceNoAcceptance criteria for the delivered result (JSON or a file): what an evaluator checks. Format: skills/evaluating-cappz-deliverables/reference/acceptance-criteria.md

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv16.9.1

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations supplied, the description carries the full burden and does meaningful work: it discloses that the child shares the parent's asset and rail, is capped by the parent's unreleased value, that stage funding is gated on the parent milestone release, and that fees apply. It does not cover failure modes, reversibility, or what the seller must already have permission to do, so it is strong but not exhaustive.

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?

Three compact sentences, front-loaded with the role and action, then the economic constraint, then the fee caveat. No filler or repetition. Density is high but each clause adds a distinct constraint.

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 twelve-parameter mutation tool with no annotations and no output schema, the description supplies the key invariants an agent needs: shared asset/rail, value ceiling from the parent, and staged funding gated on the parent milestone. Missing only return-value expectations and error behavior, which are moderate gaps rather than blockers.

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 all twelve parameters including price, serves, evaluator, and acceptance are already documented in the schema. The description reinforces the economic relationship (price denominated in the parent's asset, child stage tied to the served parent milestone) but adds no new syntax or format detail beyond that. Baseline 3 applies when the schema does the heavy lifting.

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 uses a specific verb and resource: 'hand part of a contract's work to another party as a child contract', and it immediately frames the caller as the seller and buyer of the child. This is far more than a restatement of the name and conveys the unique child-contract relationship. It does not name a sibling to contrast with, 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 Guidelines3/5

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

Usage is implied by the scenario ('hand part of a contract's work to another party') plus the constraint that the child must stay within the parent's unreleased value and be funded only after the served milestone releases. There is no explicit when-not guidance and no named alternative for related operations such as drafting or awarding a standalone contract, leaving the agent to infer the boundary.

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