legal-doc-analyzer
v1.1.4Contract analysis, risk assessment, version diffs, compliance checks (GDPR, CCPA, SOC2)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
analyze_contract
Analyzes a contract or legal document. Identifies key parties, contract type (NDA, SaaS, employment, etc.), important dates (effective, termination, renewal), key obligations per party, liability clauses and limits, termination conditions, and governing law/jurisdiction. Returns a structured summary.
| Parameter | Type | Description |
|---|---|---|
document_text * | string | The full text of the contract or legal document to analyze. |
document_type | string | Type of document. If omitted, the type is auto-detected from the content. |
find_risks
Flags risks in a legal document: one-sided clauses, unlimited liability exposure, auto-renewal traps, broad non-compete clauses, vague/ambiguous language, missing standard protections (limitation of liability, indemnification caps), and IP assignment concerns. Returns flagged risks with severity ratings, excerpts, recommendations, and a risk score from 0 (minimal) to 100 (critical).
| Parameter | Type | Description |
|---|---|---|
document_text * | string | The full text of the legal document to assess for risks. |
compare_versions
Compares two versions of a legal document. Identifies all changes (added, removed, modified clauses), highlights materially significant changes, flags changes that increase risk, and provides a side-by-side diff summary.
| Parameter | Type | Description |
|---|---|---|
new_version * | string | The text of the revised / newer version of the document. |
old_version * | string | The text of the original / earlier version of the document. |
labels | object | Optional labels for the two versions. |
generate_summary
Generates a plain-English summary of a legal document readable by non-lawyers. Includes a key terms table, action items / obligations timeline, and a one-page executive brief.
| Parameter | Type | Description |
|---|---|---|
document_text * | string | The full text of the legal document to summarize. |
check_compliance
Checks a legal document against compliance frameworks (GDPR, CCPA, SOC2, HIPAA). Checks for required clauses, identifies missing provisions, suggests additional language needed, and returns a compliance score per framework.
| Parameter | Type | Description |
|---|---|---|
document_text * | string | The full text of the legal document to check. |
frameworks | array | Compliance frameworks to check against. Defaults to all frameworks if omitted. |