Skip to main content
Glama

AIProcurement.club — Procurement Agents

Contract review agent

contracts
DestructiveIdempotent

Extract obligations, renewal deadlines, service levels, and commercial clause concerns for human legal review.

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": "contracts"
  }
}

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.9/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false, destructiveHint=true, and openWorldHint=true, and the schema carries billing (maxChargeUsd, paymentInvoiceId), consentExternalProcessing, and idempotencyKey — the description discloses none of this. Framing it purely as extraction 'for human legal review' reads like a passive read, masking that it spends credits and sends sources to an external inference provider. No mention of cost, credit consumption, or retry semantics.

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?

One tightly written sentence with the material outcome front-loaded and zero filler. It is efficient, though the brevity is achieved by omitting rather than by compressing; there is no wasted wording to cut.

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?

This is a complex tool — 7 parameters, a nested input object, billing authorization, external-processing consent, and idempotency, with no output schema to explain results. The description covers only the analytical output and says nothing about submission semantics, cost exposure, or what a caller gets back. For this level of schema complexity, a single sentence is not sufficient.

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?

Schema description coverage is 71%, so the schema itself documents most parameters (context, documents, constraints, idempotencyKey, paymentInvoiceId, consentExternalProcessing) reasonably well. The description adds no parameter meaning at all — notably it never explains what 'documents' should contain for a contract review, which is the single most decision-relevant input. Baseline 3 applies because the schema does the heavy lifting.

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 ('Extract') and enumerates concrete outputs: obligations, renewal deadlines, service levels, and commercial clause concerns. That is materially clearer than the bare name 'contracts'. It stops short of distinguishing this from look-alike siblings such as xcontracts-summariser or xclause-risk-scoring, so an agent cannot tell from the text alone which contract tool to pick.

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, no mention of when to prefer this over the contract/clause siblings, and no indication of what input materials are expected. The phrase 'for human legal review' hints at positioning but gives no selection criteria. An agent must infer routing from the name alone.

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