Skip to main content
Glama

legal_document_drafting

Draft legal documents like NDAs and MSAs from a plain-English brief, using your firm's templates and style. Specify document type and counterparty to generate ready-to-use agreements.

Instructions

Draft a legal document (NDA, MSA, side letter, employment agreement, policy) from a brief plus your firm's templates and house style. Args: message: Free-text objective for the action. document_type (required): Document type label. brief (required): Plain-English brief of what the document needs to cover. counterparty: Counterparty name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageNo
document_typeNo
briefNo
counterpartyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations provided, so description carries full burden. It mentions drafting from templates but does not disclose behavioral traits like whether it overwrites existing documents, authentication needs, rate limits, or side effects of invocation.

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?

Description is relatively concise: one sentence defining action plus list of parameters. No unnecessary words, but the parameter list could be more structured (e.g., table format) and fails to include parameter types or constraints.

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?

Output schema exists, so return values are partially covered. However, description omits important context like how templates are selected, whether the result is a document preview or final file, and how to retrieve the output. For a drafting tool, more detail on workflow and expected result is needed.

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?

Description adds basic meaning to three parameters (document_type='label', brief='Plain-English brief', counterparty='name') but contradicts schema by marking document_type and brief as required while schema shows they are optional (nullable with default null). Message parameter is vaguely described as 'free-text objective'. Schema coverage is 0%, so description partially compensates but with inconsistency.

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?

Description clearly states action (draft) and resource (legal document) with examples (NDA, MSA, etc.). It differentiates from sibling tools like legal_contract_review and legal_nda_packet by focusing on generic drafting, but does not explicitly contrast.

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?

Implies use when a brief and templates are available, but lacks explicit when-not-to-use criteria or alternatives among many sibling legal tools. No exclusions or contextual guidance provided.

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/RPasquale/lightbulb-mcp'

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