Skip to main content
Glama

Create contract draft

contract_create

Create a new contract from a template or with custom content. Requires at least one signer. The content must contain at least one signature placeholder (for example {{signature}}); with more than one signer, give each signer their own signature placeholder and assign it via signer_fields (for example {{signature_buyer}} and {{signature_seller}}).

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": {
      "name": "<name>",
      "signers": "<signers>"
    },
    "name": "contract_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
contentNo
signersYes
test_modeNo
variablesNo
template_idNo
expires_in_daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / test_mode
      Added value: +{
      +  "default": false,
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent, closed-world behavior, so the bar is lower. The description adds genuinely non-obvious behavioral constraints: the content must contain at least one signature placeholder and multi-signer contracts require distinct placeholders wired through signer_fields — a failure mode an agent could not infer otherwise. It omits other behavioral notes such as what test_mode does or that creation does not send the contract.

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 sentences, front-loaded with the action and the hard requirement, then the placeholder rule with inline examples. Every sentence carries constraint information, though the parenthetical examples make it a dense run-on block that would read better structured.

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?

For a 7-parameter creation tool with a nested signer object and no output schema, the description covers the highest-risk mechanics (signers and signature placeholders) well. It still leaves template_id/content exclusivity, variables substitution, test_mode, and expires_in_days unexplained, so an agent could construct a call that satisfies the text yet misuses several parameters.

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?

With 0% schema description coverage across 7 parameters (including a nested signers object), the description must compensate, and it does for the riskiest ones: content placeholders and signer_fields mapping are explained with concrete examples. But template_id vs. content selection, variables, test_mode, and expires_in_days receive no explanation, leaving nearly half the surface undocumented in both schema and description.

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 opens with a specific verb and resource ('Create a new contract') and clarifies the two creation modes (template-based vs. custom content), which distinguishes it from siblings like contract_send and contract_update. It does not explicitly name an alternative tool (e.g., template_create) to route the agent, 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?

It states a hard prerequisite ('Requires at least one signer') and a content requirement, which is real usage guidance. However, there is no when-to-use/when-not-to-use routing against siblings such as template_create or contract_send, and no indication of what to do afterwards (e.g., that this only creates a draft and contract_send is needed to dispatch it).

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.