Skip to main content
Glama

A2A Contract Builder

contract_build

A2A Contract Builder: turn a machine job into signed terms both agents hold: deliverable, deterministic acceptance tests (required_fields, field_types, regex, min_items, max_bytes, equals, url_alive, claim_evidence), max spend, deadline, parties. Ed25519-signed by OMENZ; verify offline with /v1/passport/key. By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/contract/build, $0.002 via x402.)

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": {
      "terms": "<terms>"
    },
    "name": "contract_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
termsYesterms

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / terms / description
      Added value: +"terms"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only say it is a non-idempotent, open-world, non-destructive write. The description adds genuinely new behavior: the output is Ed25519-signed by OMENZ, can be verified offline against /v1/passport/key, and costs $0.002 via x402 in production. It also distinguishes the AYNE playzone from the production endpoint, which the annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core sentence is front-loaded and information-dense, but it is a run-on with nested parentheticals, and 'By OMENZ' is stated twice while the endpoint and pricing are wedged into a trailing parenthesis. Tightening would improve scanability without losing content.

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

Completeness5/5

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

For a single nested-object parameter with no sub-schema and no output schema, the description supplies the missing shape (what goes in terms), the signing identity, the verification path, and the cost/environment split. An agent has enough to construct the call and understand what it receives.

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 nominally 100%, but the sole 'terms' object has no sub-properties and its description is just 'terms'. The description compensates substantially by naming the intended contents and the full list of deterministic acceptance test keys (required_fields, field_types, regex, min_items, max_bytes, equals, url_alive, claim_evidence), which is real meaning beyond the schema.

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: turning a machine job into Ed25519-signed contract terms, and enumerates the payload (deliverable, acceptance tests, max spend, deadline, parties). It is clearly distinct from siblings like claim_evidence or contract_accept by being the authoring step, though it never explicitly names those neighbors.

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 'turn a machine job into signed terms both agents hold' implies the upstream/downstream workflow, and the mention of verifying with /v1/passport/key covers post-build usage. There is no explicit when-not guidance, no statement of prerequisites (e.g., that both parties must be known), and no pointer to contract_accept as the follow-up step.

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