Skip to main content
Glama

Create contract

create_contract

Create a contract. contract_number is assigned automatically.

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": {
      "project_id": "<project_id>",
      "contractor": "<contractor>"
    },
    "name": "create_contract"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeNo
valueNo
statusNo
agent_idNo
contractorYes
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the mutation and openness profile is covered structurally. The description adds one genuinely useful behavioral fact — that contract_number is generated server-side and need not be supplied. It says nothing about validation failures, required-field consequences, or what the created record returns.

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?

Two short sentences, front-loaded with the action, with no filler or redundancy. It is tight, though its brevity reflects under-specification rather than disciplined editing.

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?

For a six-parameter mutation tool with zero schema description coverage and no output schema, the definition is far too thin — an agent cannot know what project_id versus contractor should contain, or what status defaults to. The auto-assignment note is the only piece of real behavioral information provided.

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% across six parameters, so the description carries the full burden and largely fails it: project_id, contractor, scope, value, status, and agent_id are never explained. The single parameter-adjacent note (contract_number auto-assigned) actually concerns a field absent from the schema, so it does not clarify any of the six inputs.

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 gives a specific verb and resource ("Create a contract"), which is unambiguous on its own and implicitly pairs with the update_contract sibling. It stops short of differentiating itself from the many other create_* siblings, but the core purpose is crystal clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus update_contract or any other create_* sibling, and no prerequisites or preconditions are stated. The only usage-adjacent statement is that contract_number is auto-assigned, which is incidental rather than routing guidance.

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