Skip to main content
Glama

generate_documents

Generates tailored legal document suites (Privacy Policy, Terms of Service, Cookie Policy, EULA, Acceptable Use, Disclaimer) assembled from modular statutory clauses grounded in EDPB, CPPA, and ICO regulator guidance.

Input Schema

NameRequiredDescriptionDefault
siteIdNoSite UUID to attach generated documents to (optional)
website_urlYesPublic website domain URL
company_nameYesLegal entity or company name
contact_emailYesOfficial legal and privacy contact email
jurisdictionsNoTarget jurisdictions (e.g. ['GDPR', 'CCPA'])
collects_minorsNoWhether services are accessible to or directed at minors under 13/16
uses_meta_pixelNoWhether Meta (Facebook) advertising pixels are deployed
collects_cookiesNoWhether the site uses cookies or browser local storage
physical_addressNoRegistered business mailing address100 Compliance Way, San Francisco, CA 94105
has_user_accountsNoWhether end-users can register accounts or log in
processes_paymentsNoWhether the site processes payments via Stripe, PayPal, or merchant processors
refund_period_daysNoRefund policy guarantee window in days (minimum 14 for EU)
data_retention_monthsNoData retention period in months
uses_google_analyticsNoWhether Google Analytics 4 or Google Tag Manager is utilized

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and mostly does not. It does not say whether the generated documents are returned inline, persisted to the site (despite the siteId parameter hinting at attachment), whether regeneration overwrites prior versions, or whether output is legally binding advice requiring review. Only the statutory provenance is disclosed.

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?

A single dense sentence with the identifying noun phrase and provenance front-loaded and no filler. It is efficiently sized, though it spends its words on cataloging document types rather than on behavior an agent needs.

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?

For a 14-parameter generative tool with zero annotations and no output schema, the definition is thin on the things an agent cannot see structurally, namely what gets produced or returned and whether any persistence or overwrite occurs. The schema does cover every parameter fully, which keeps this from being inadequate.

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 all 14 parameters, their defaults, and their meaning are already documented in the schema, which sets the baseline at 3. The description adds only domain framing (which document suite is produced and what guidance it draws on) and no additional meaning about how jurisdictions, boilerplate defaults, or conditional flags change the generated output.

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 names a specific verb ("Generates") and a specific resource ("tailored legal document suites"), then enumerates the document types and the regulatory basis (EDPB, CPPA, ICO). An agent can tell this apart from audit_site and list_sites, though the description makes no explicit reference to those siblings.

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?

The description implies usage by naming the inputs it expects a site and company to supply, but gives no explicit when-to-use criteria, no prerequisites, and no routing advice versus the sibling tools. An agent must infer from the parameter list that this is the authoring step in a generate/audit/list workflow.

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.