Skip to main content
Glama

Contract clause scan

clausehawk.scan

Scan agreement text for renewal, indemnity, liability cap, payment, IP, and venue risk. $0.25/call.

Flags clauses for human review — this is not legal advice. If the text is too short to scan, the built-in sample agreement is scanned instead.

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": {
      "contract_text": "<contract_text>"
    },
    "name": "clausehawk.scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
contract_textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: a per-call cost ($0.25), an explicit human-review disclaimer ('not legal advice'), and a documented fallback that silently substitutes a sample agreement for short input. That fallback is exactly the kind of side effect an agent needs to know. It stops short of describing the response shape or how flags are surfaced. The readOnlyHint=false annotation is consistent with the paid, non-idempotent per-call behavior the description discloses, so there is no contradiction.

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?

Three short sentences, each earning its place: what is scanned and for what risks, the cost plus a legal disclaimer, and an input edge case. The core purpose is front-loaded and nothing is padded or restated from the tool name.

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

Completeness3/5

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

With no output schema, the description should carry more of the return contract; 'flags clauses for human review' conveys intent but not the shape or granularity of results. Cost, disclaimer, and fallback are well covered, but the input format constraints and output structure remain under-described relative to a zero-coverage parameter schema.

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 coverage is 0% for the single contract_text parameter, so the description must compensate and only partially does: the 'too short to scan' note implies a minimum length requirement, which is meaningful. It says nothing about expected format, maximum size, or whether plain text versus markup is accepted, leaving a real gap for the one input the agent must produce.

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 concrete verb (scan) and resource (agreement text) and enumerates the exact risk categories covered: renewal, indemnity, liability cap, payment, IP, venue. An agent knows precisely what the tool returns without opening the schema, and the subject matter is unambiguous against the sibling tools, which all serve different domains.

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 only implied: supply agreement text and get clause flags. The one explicit routing rule is the fallback behavior when text is too short (the built-in sample is scanned instead), which is useful but is an edge case, not guidance on when to choose this tool over alternatives. No prerequisites or exclusions are stated.

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