Skip to main content
Glama

ai_contract_terms

Read-only

Contract key-terms extractor — Pull the key commercial terms out of a contract or terms page: parties, effective date, term, renewal and non-renewal notice, termination rights, payment terms, fees, late fees, price increases, liability cap, indemnification, warranty, governing law, venue, assignment, confidentiality, data protection, IP ownership, exclusivity, non-compete, insurance, audit rights, force majeure. Each term has a plain-English value and an exact quote verified offline, plus missing terms and red flags (auto-renewal, no liability cap, no exit right). Params: text= (contract text, up to 30k chars) or url= (public page). Price: $0.012 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
textYese.g. This Services Agreement is effective January 1, 2026 between Acme Corp (Customer) and Beta LLC (Provider). The initial term is 12 months and renews automatically for successive 12-month terms unless either party gives 60 days written notice. Customer shall pay invoices within 30 days. Provider's total liability shall not exceed the fees paid in the prior 12 months. This Agreement is governed by the laws of Delaware.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint and destructiveHint=false, so safety is covered; the description adds genuinely new context: the 30k character ceiling, the offline-verified quote per term, the appended missing-terms and red-flag output, and the $0.012 USDC x402 payment cost. What it omits is failure behavior (e.g. unreachable URL, oversized input) and how payment is settled.

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?

Front-loaded with the verb and scope, then a dense but purposeful enumeration of covered terms that tells the agent the extraction surface. The 20-item term list is long but each item carries selection value; the only waste is the trailing params/pricing block, which mixes real information with a nonexistent parameter.

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?

There is no output schema, and the description compensates by explaining the return shape (plain-English value plus exact offline-verified quote, plus missing terms and red flags). For a single-parameter read-only tool that is largely sufficient, though the undocumented url parameter and absence of error/limit behavior keep it short of complete.

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 coverage is 100% for the single required 'text' parameter, which would normally earn a baseline 3, but the description advertises a second 'url=' parameter that does not exist in the input schema and is not optional there. An agent reading the description may attempt to call the tool with url= and fail schema validation, which is worse than adding no parameter information at all.

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?

States a specific verb and resource up front ('Contract key-terms extractor — Pull the key commercial terms out of a contract or terms page') and enumerates the exact fields extracted, so an agent knows precisely what comes back. It does not, however, distinguish itself from the sibling ai_contract_risk, leaving the agent to infer whether terms extraction or risk analysis is the right call.

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 input description ('contract text, up to 30k chars' or 'a public page'), which hints at the contract/terms-domain scope, but there is no explicit when-to-use, when-not-to-use, or named alternative such as ai_contract_risk.

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