Skip to main content
Glama
automatikstudio

LegalForge MCP Server

generate_legal_document

Create professional legal documents like privacy policies, terms of service, and cookie policies with AI. Specify document type, parties, terms, and jurisdiction to generate structured HTML content.

Instructions

Generate professional legal documents (Privacy Policy, Terms of Service, Cookie Policy) using AI

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
documentTypeYesType of legal document to generate
partiesYesParties involved in the document
termsYesKey-value pairs for document terms. Supported keys: websiteUrl, siteName, services (comma-separated list of technologies/services used)
jurisdictionYesLegal jurisdiction (e.g., 'United States', 'European Union', 'California, USA')
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions AI generation but lacks critical details: whether documents are legally binding, if review by a lawyer is recommended, potential rate limits, or what the output format looks like. For a legal document generation tool, this is a significant gap in transparency.

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?

The description is a single, efficient sentence that clearly states the tool's purpose with relevant examples. It's appropriately sized and front-loaded with zero wasted words, making it easy for an agent to parse quickly.

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

Completeness2/5

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

Given the complexity of legal document generation, no annotations, and no output schema, the description is insufficient. It doesn't address the nature of the output (e.g., plain text, formatted document), legal disclaimers, or important behavioral constraints. The description leaves too many unanswered questions for a tool of this nature.

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 the schema already documents all parameters thoroughly. The description adds no additional parameter semantics beyond what's in the schema. According to scoring rules, when schema coverage is high (>80%), the baseline is 3 even with no param info in the description.

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?

The description clearly states the verb ('generate') and resource ('professional legal documents') with specific examples (Privacy Policy, Terms of Service, Cookie Policy). It distinguishes the tool's function well, though without sibling tools, differentiation isn't applicable. The purpose is specific and actionable.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives, prerequisites, or constraints. It simply states what the tool does without context for application. This lack of usage context leaves the agent without direction on appropriate scenarios.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/automatikstudio/legalforge-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server