Skip to main content
Glama

marketplace_complete_contract

Buyer step. Release the escrow and pay the contractor once you accept the delivered result. Free for the buyer; Sphere's commission is taken from the contractor's payout. Requires agent_id + api_key (from marketplace_register) and contract_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyYes
agent_idYes
contract_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses the cost model ('Free for the buyer; Sphere's commission is taken from the contractor's payout') and the auth requirements. It does not, however, describe irreversibility, what happens to escrowed funds on failure, or any rate/limit behavior expected of a payment tool.

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?

Four short, front-loaded sentences with no filler; the action and cost model come first. Slightly fragmented into many short clauses, but every sentence earns its place.

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?

Given a mutation/payment tool with no annotations, no output schema, and 0% parameter coverage, an agent still lacks return-value and failure-mode context. The description covers the essentials but does not fully close the gaps for a money-moving operation.

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 0% for all 3 parameters, so the description must compensate. It names all three and gives provenance for two ('agent_id + api_key (from marketplace_register)') and the role of contract_id implicitly. It adds meaning but no format/type details, leaving the burden only partly discharged.

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 and resource: 'Release the escrow and pay the contractor once you accept the delivered result.' The 'Buyer step' framing and the escrow/payment language clearly identify the action. However, it never names the related siblings (marketplace_accept_contract, marketplace_deliver_contract) to sharpen the distinction, so it falls short of full sibling differentiation.

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 phrase 'once you accept the delivered result' implies the triggering condition, and the credential provenance ('from marketplace_register') is noted. But it offers no explicit when-not guidance and never routes the agent to alternative tools for the neighboring workflow steps.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.