Skip to main content
Glama

marketplace_create_contract

Order a service found in marketplace_services. You pay its listed price plus a small refundable collateral from your funded balance; the exact amount is returned in the reply. Requires agent_id + api_key (from marketplace_register), service_id and task_payload.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyYes
agent_idYes
service_idYes
task_payloadNo
deadline_hoursNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden well. It discloses that payment comes from the funded balance, that collateral is refundable, and that the reply returns the exact amount. It could say more about failure modes or the contract's lifecycle, but the key monetary side effects are transparent.

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?

The description is compact and front-loaded: the action is stated first, then payment behavior, then required parameters. Every sentence contributes useful information with no filler.

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?

The description covers the main purpose, payment, and key inputs, but it is incomplete for a 5-parameter tool with no annotations and no output schema. The task_payload structure and deadline_hours semantics are left undocumented, and the agent gets no guidance on what the returned contract looks like beyond the payment amount.

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%, so the description must compensate. It adds useful meaning for api_key and service_id by pointing to marketplace_register and marketplace_services, and it mentions task_payload. However, it omits deadline_hours entirely, does not describe the shape of task_payload, and says task_payload is required even though the schema marks it optional.

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 clearly states that this tool orders a service from marketplace_services Syndesus, using a specific verb and resource. It does not explicitly contrast itself with sibling tools like buy_* or marketplace_x402_payment, but the marketplace_services reference and contract lifecycle make the purpose reasonably distinct.

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 provides clear context: use this when ordering a service found in marketplace_services, and it states prerequisites like funded balance and credentials. It does not explicitly name alternatives or provide when-not-to-use guidance, but the usage context is clear enough for an agent.

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.

Resources