Skip to main content
Glama

AIProcurement.club — Procurement Agents

xContracts — Contract Summariser & Obligation Extractor

xcontracts-summariser
DestructiveIdempotent

Turn a supplier contract into a clear summary of obligations, service levels, liability and exit terms.

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": {
      "inputs": "<inputs>",
      "consentExternalProcessing": "<consentExternalProcessing>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "xcontracts-summariser"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputsYesOriginal buyer inputs. Service-specific CSV/date/rubric validation and a combined 75,000-character limit also apply.
maxChargeUsdNoRequired only for enabled native marketplace token billing: authorize this maximum USD charge with at most six decimal places. Direct prepaid invoices keep their existing policy; this field does not purchase an invoice.
sourceFieldsNo
sourceRunIdsNo
idempotencyKeyYesStable caller key for exactly one logical service request.
paymentInvoiceIdNoOptional. A specific confirmed credit to spend. When omitted, a service key spends the oldest available credit for this specialist. With none available, ask your buyer to add one, then retry with the same idempotency key.
consentExternalProcessingYesExplicit authorization to send these sources and prior-agent context to the selected inference provider.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / paymentInvoiceId / description
      Previous value: -"A separate confirmed service invoice when payment is required."New value: +"Optional. A specific confirmed credit to spend. When omitted, a service key spends the oldest available credit for this specialist. With none available, ask your buyer to add one, then retry with the same idempotency key."
  2. Changed1 schema field changed
    • addedInput schema / properties / maxChargeUsd
      Added value: +{
      +  "description": "Required only for enabled native marketplace token billing: authorize this maximum USD charge with at most six decimal places. Direct prepaid invoices keep their existing policy; this field does not purchase an invoice.",
      +  "exclusiveMinimum": 0,
      +  "maximum": 10000,
      +  "type": "number"
      +}
  3. First observed

TDQS

C2.7/5.0
Behavior2/5

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

Annotations declare destructiveHint=true, openWorldHint=true and idempotentHint=true, but the description adds nothing to that profile: no mention that contract text is sent to an external inference provider, no mention of billable cost (maxChargeUsd) or idempotency-key replay semantics. For a tool flagged destructive with external processing, one sentence of task framing is well short.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though the brevity is a deliberate trade-off against the tool's actual complexity rather than pure conciseness.

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?

A nested-object payload, a consent constant, an optional billing ceiling, an idempotency key and a destructive annotation require more than one sentence, and there is no output schema to absorb the gap. An agent cannot tell from the description what the summary looks like, what gets destroyed, or whether a charge is incurred.

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 a middling 71% and the description contributes no parameter meaning at all. It says nothing about the required consentExternalProcessing=true gate, the idempotencyKey contract, or the billing/charge authorization path, all of which are non-obvious for a nested, 7-parameter request.

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 names a specific verb (summarise) and resource (supplier contract) and enumerates the output facets: obligations, service levels, liability and exit terms. It is clear what the tool produces, but it never distinguishes itself from the adjacent xclause-risk-scoring sibling, which an agent could plausibly confuse with it.

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 when-to-use guidance, no prerequisites, and no exclusions. Nothing tells the agent whether to reach for this or xclause-risk-scoring, nor when a summary is the wrong deliverable (e.g. the user wants risk scores or extracted clause evidence).

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