Skip to main content
Glama

scan_contract_risk_signals

Read-onlyIdempotent

Scan contract, SOW, MSA, SLA, or lease text to flag unbalanced commercial risk clauses such as uncapped indemnity, auto-renewal traps, and missing acceptance timeouts.

Instructions

Flags unbalanced commercial risk patterns (back-to-back payment, uncapped indemnity, missing acceptance timeout, auto-renewal traps, background IP sweeps) across 18 bilingual rules with balanced alternatives.

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": {
      "text": "<text>"
    },
    "name": "scan_contract_risk_signals"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesContract, SOW, MSA, SLA, or lease text to scan for unbalanced risk clauses.
severityFilterNoOptional filter restricting findings to high or medium severity signals (defaults to all).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered by structured data. The description adds genuinely useful context beyond that — 18 bilingual rules and the fact that findings come with balanced alternatives — but with no output schema it never characterizes the return payload (finding list, severity labels, clause quotes, language handling), which is the main residual gap.

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 scope declared before the qualifying detail; the parenthetical list of risk types is dense but each item is concrete and informative rather than filler. Slightly over-packed for one sentence, but there is no wasted phrasing.

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?

For a two-parameter read-only scanner with no output schema, the description covers what is scanned, why (unbalanced vs. balanced alternatives), and the rule corpus size, which is enough to call it correctly. It could be stronger by sketching the finding structure or noting any input size/language limits, but nothing essential to invocation is missing.

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 100%, so both text and severityFilter are already documented with their enum values, making 3 the baseline. The description contributes modestly by implying bilingual input support (18 bilingual rules), which helps clarify what 'text' may contain, but adds nothing about severity semantics beyond the schema's own high/medium enumeration.

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?

States a specific verb (flags) against a specific resource (unbalanced commercial risk patterns) and enumerates the concrete clause types it detects: back-to-back payment, uncapped indemnity, missing acceptance timeout, auto-renewal traps, background IP sweeps. That vocabulary is completely disjoint from the siblings (version diffing, unicode spoof detection, docx extraction), so an agent can route to it without opening the schema.

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

Usage Guidelines3/5

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

Usage is implied by the object of the scan — contract/SOW/MSA/SLA/lease text — and the severityFilter hint suggests triage workflows. However, there is no explicit when-to-use vs. when-not guidance and no pointer to any alternative approach (e.g., pairing with diff_contract_versions for revised drafts), which is left entirely to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.