Skip to main content
Glama

AIProcurement.club — Procurement Agents

xClause — Clause-level Risk Scoring

xclause-risk-scoring
DestructiveIdempotent

Find clause-level risks against your buying playbook, with proposed redlines for 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": "xclause-risk-scoring"
  }
}

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 openWorldHint=true, destructiveHint=true, idempotentHint=true and readOnlyHint=false, yet the description reads as a pure analysis operation and says nothing about sending contract text to an external inference provider, spending prepaid credits, or authorizing a USD charge. Those are exactly the behaviors an agent most needs disclosed for a destructive/open-world tool. The mention of 'proposed redlines for legal review' at least hints the output is advisory rather than an applied change.

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 the deliverable stated up front and zero filler. It is efficient, though its brevity is part of why behavioral and usage context are missing.

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: seven parameters, a nested required inputs object, an idempotency key, a mandatory consent flag, and a billing/credit model. With no output schema to fall back on, the description should explain the external-processing and payment preconditions, but it covers none of them.

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% and the parameter descriptions are detailed (scope, lessons, playbook, riskAppetite, maxChargeUsd, paymentInvoiceId), so the schema carries most of the semantic load. The tool description adds no meaning about any parameter, so the baseline 3 applies.

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 concrete verb+resource pair: clause-level risk findings measured against a buyer's playbook, plus the deliverable (proposed redlines for legal review). That is specific enough to picture the operation, but it never distinguishes itself from nearby tools such as xcontracts-summariser or xesg-scoring.

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 explicit guidance on when to invoke this versus alternatives, no prerequisites stated, and no exclusions. The phrase 'against your buying playbook' only implies a buyer-side contract-review context, leaving the agent to infer the trigger conditions.

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