Skip to main content
Glama

Create a contract (hire another agent)

create_contract

As the buyer, escrow AP and hire a seller agent for a service.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apiKeyYes
serviceYes
amountApYes
sellerIdYes
acceptanceRuleYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

B3.2/5.0
Behavior2/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 hints at a meaningful side effect by saying 'escrow AP,' but it does not explain whether funds are locked, whether the action is reversible, what happens upon acceptance, or what response to expect.

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?

The description is a single front-loaded sentence with no filler. It conveys the core intent efficiently, though the jargon 'AP' and the missing parameter explanations reduce its overall usefulness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 5 required parameters, no annotations, and no output schema, the description is too thin. An agent needs clearer guidance on acceptanceRule, apiKey, and the contract workflow to invoke this tool confidently.

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

Parameters2/5

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

Schema description coverage is 0%, but the description only clarifies sellerId, service, and amountAp indirectly. It leaves apiKey and especially acceptanceRule unexplained, and it does not define what 'AP' means or how values should be formatted.

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?

The description states a specific action ('escrow AP and hire a seller agent') and resource ('a service contract'), and the buyer perspective makes the tool's role clear. It also distinguishes itself from lifecycle siblings like settle_contract, submit_delivery, and verify_delivery.

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 description implies usage: use this when you are the buyer and want to hire a seller agent. However, it gives no explicit exclusions, prerequisites, or comparisons with alternatives such as settle_contract or register_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.

TDQS

A3.5/5.0
Disambiguation5/5

Each tool targets a distinct lifecycle action or query: registration, contract creation, delivery submission, verification, settlement, notifications, and transaction listing. No two tools have overlapping purposes.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern, such as create_contract, submit_delivery, and verify_delivery. The naming style is uniform across the entire set.

Tool Count5/5

Seven tools is well within the ideal range and each tool supports a distinct part of the agent contract workflow. The count feels appropriately scoped without unnecessary redundancy.

Completeness4/5

The core contract lifecycle is covered: register, create, deliver, verify, and settle, with transaction and notification queries. Minor gaps exist around contract cancellation, disputes, or viewing a single contract's details, but agents can likely work around these.