Skip to main content
Glama

issueContract

Destructive

Issue a draft contract to its signers. Issuing gives the contract its number and makes it ready to sign, and an issued contract can no longer be edited or deleted. Returns the issued contract. signatureMethod "eSignature" emails every signer a request to sign online; it needs a paid network and an expirationDate no more than 90 days away. "manual" emails no one: the administrator collects the signatures and uploads the signed copy in the Spacebring admin app. When an actionable contract is signed, its subscription or invoice is created. Only a draft can be issued. Get contractId from getContracts. Never invent UUIDs; only use values from prior tool responses.

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": {
      "contractId": "<contractId>",
      "signatureMethod": "<signatureMethod>"
    },
    "name": "issueContract"
  }
}

Input Schema

NameRequiredDescriptionDefault
contractIdYesThe id of the contract.
signatureMethodYesHow the contract will be signed.

Output Schema

NameRequiredDescriptionDefault
contractYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / contract / properties / renewedByContractRef
      Added value: +{
      +  "description": "ID of the renewal contract of this contract, present while the renewal is issued and after it is signed. It is removed when the renewal is declined or expires.",
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • addedOutput schema / properties / contract / properties / renewsContractRef
      Added value: +{
      +  "description": "ID of the signed contract that this contract renews, present on a renewal contract.",
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
    • changedOutput schema / properties / contract / properties / subscriptionRef / description
      Previous value: -"ID of the subscription created when the contract was issued, present when the action is subscription."New value: +"ID of the subscription of the contract, present when the action is subscription. An issued contract has the pending subscription created at issue. A signed renewal contract has the subscription that it renewed."
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Without this text the annotations only say destructiveHint=true; the description explains exactly what that means ('can no longer be edited or deleted'), plus the paid-network requirement, the 90-day expiry constraint, and the downstream effect of creating a subscription or invoice on signing. One flaw: it requires an expirationDate that does not exist in the input schema, so an agent cannot act on that instruction, which keeps it from a 5.

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 effect of the call is front-loaded in the first sentence, followed by per-method consequences and then preconditions. Every sentence carries a distinct fact—no restatement of the name or padding.

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

Completeness4/5

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

An output schema exists so return-value detail is not required, though the description still notes it returns the issued contract. The one gap is the referenced expirationDate, which is absent from the schema and therefore unusable by the caller; otherwise the definition is complete for a two-parameter state-transition tool.

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 100%, so contractId and signatureMethod are already documented and the baseline would be 3. The description goes beyond that by explaining what each enum value actually does operationally ('eSignature' emails every signer; 'manual' emails no one and the admin uploads the signed copy), which the schema's bare 'How the contract will be signed' does not convey.

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 first sentence names a specific verb and resource ('Issue a draft contract to its signers') and immediately states the resulting state change: the contract gets its number and becomes signable. This distinguishes it cleanly from siblings such as updateContract, deleteContract, and getContracts.

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

Usage Guidelines5/5

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

It states an explicit precondition ('Only a draft can be issued'), routes the agent to the correct source of the id ('Get contractId from getContracts'), and forbids fabricated identifiers. It also disambiguates the two signatureMethod branches with concrete consequences for each, so an agent knows which to pick and why.

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