Get contract analysis
clm_get_contract_analysisGet available contract AI summary, terms and insights. No Parser credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID |
clm_get_contract_analysisGet available contract AI summary, terms and insights. No Parser credits.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID |
Changes observed during successful MCP inspections.
Input schema / properties / id / descriptionPrevious value: -"Contract identifier"New value: +"ID"Input schema / properties / id / patternRemoved value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"Output schema / (root)Previous value: -{
- "$schema": "http://json-schema.org/draft-07/schema#",
- "additionalProperties": false,
- "properties": {
- "deviations": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "properties": {
- "derivedFrom": {
- "anyOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "evidenceQuote": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "expected": {
- "type": "string"
- },
- "found": {
- "type": "string"
- },
- "headline": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "playbookRuleId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "severity": {
- "enum": [
- "low",
- "medium",
- "high"
- ],
- "type": "string"
- }
- },
- "required": [
- "severity",
- "expected",
- "found"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "gaps": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "properties": {
- "context": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "derivedFrom": {
- "anyOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "evidenceQuote": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "headline": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "impact": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "missing": {
- "description": "Missing or unclear core term",
- "type": "string"
- },
- "severity": {
- "enum": [
- "low",
- "medium",
- "high"
- ],
- "type": "string"
- }
- },
- "required": [
- "missing",
- "severity"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "obligations": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "properties": {
- "action": {
- "description": "Obligation or commitment",
- "type": "string"
- },
- "derivedFrom": {
- "anyOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "dueDate": {
- "anyOf": [
- {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "evidenceQuote": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "headline": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "party": {
- "anyOf": [
- {
- "enum": [
- "party_a",
- "party_b",
- "third_party",
- "mutual"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "recurrenceInterval": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "recurrenceUnit": {
- "anyOf": [
- {
- "enum": [
- "days",
- "weeks",
- "months",
- "quarters",
- "years"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "severity": {
- "enum": [
- "low",
- "medium",
- "high"
- ],
- "type": "string"
- },
- "timingType": {
- "anyOf": [
- {
- "enum": [
- "scheduled",
- "recurring",
- "triggered",
- "none"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "triggerEvent": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "windowRelation": {
- "anyOf": [
- {
- "enum": [
- "within",
- "after",
- "before"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "windowUnit": {
- "anyOf": [
- {
- "enum": [
- "days",
- "weeks",
- "months",
- "quarters",
- "years"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "windowValue": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "action",
- "severity"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "overview": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "riskAllocation": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "properties": {
- "category": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "clause": {
- "description": "Risk allocation term summary",
- "type": "string"
- },
- "derivedFrom": {
- "anyOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "evidenceQuote": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "favors": {
- "anyOf": [
- {
- "enum": [
- "us",
- "counterparty",
- "mutual"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "headline": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "rationale": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "severity": {
- "enum": [
- "low",
- "medium",
- "high"
- ],
- "type": "string"
- }
- },
- "required": [
- "clause",
- "severity"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "risks": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "properties": {
- "category": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "derivedFrom": {
- "anyOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "evidenceQuote": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "headline": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "issue": {
- "description": "Short label of the concern",
- "type": "string"
- },
- "rationale": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "severity": {
- "enum": [
- "low",
- "medium",
- "high"
- ],
- "type": "string"
- }
- },
- "required": [
- "severity",
- "issue"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "warranties": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "properties": {
- "derivedFrom": {
- "anyOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "evidenceQuote": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "headline": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "party": {
- "anyOf": [
- {
- "enum": [
- "party_a",
- "party_b",
- "third_party",
- "mutual"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "severity": {
- "enum": [
- "low",
- "medium",
- "high"
- ],
- "type": "string"
- },
- "statement": {
- "description": "Representation, warranty, or guarantee",
- "type": "string"
- }
- },
- "required": [
- "statement",
- "severity"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
-}New value: +nullDoes the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds one genuinely new behavioral fact — that calls consume no Parser credits — which is billing context not present in structured fields. It omits what happens when no analysis exists yet, which is the main behavioral risk for this kind of tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences with no filler; the payload description is front-loaded and the cost note is short. The wording is slightly under-specified rather than padded, so length is not the problem.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter read tool with no output schema and full annotation coverage, the description is close to sufficient: it names the returned content and the cost behavior. It still leaves the failure/availability path and the distinction from clm_get_contract unexplained, which matters for an AI-derived resource.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There is a single required parameter with 100% schema description coverage, so the schema carries the burden and baseline 3 applies. The description adds no meaning about the id — e.g. whether it is the contract ID versus an analysis/run ID — leaving that ambiguity unresolved.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The verb 'Get' plus the resource 'contract AI summary, terms and insights' identifies the payload, which is more specific than a generic contract fetch. However, 'available' is undefined (available when? what if not?), and the description never contrasts itself with the adjacent clm_get_contract or clm_get_contract_reconciliation, so an agent must guess which read call returns which data.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no explicit when-to-use guidance and no named alternative. 'No Parser credits' hints that this call is cheap and safe to repeat, but that is a cost note rather than a routing rule, and it does not tell the agent whether this tool triggers AI processing or only retrieves existing results.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.