Skip to main content
Glama
GOLayerone

layerone-mcp

Official
by GOLayerone

DocX — Générer un document

docx_render_document

Generate a PDF or DOCX document by merging a pre-uploaded template with JSON data, returning a summary of the generated file.

Instructions

Génère un document (PDF ou DOCX) — devis, contrat, attestation — à partir d'un modèle déposé et de données JSON. Renvoie un résumé du fichier généré.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
template_idYesID d'un modèle déjà déposé sur DocX.
json_dataYesDonnées du document au format chaîne JSON, ex : {"client":"ACME","date":"2026-01-15","total":1200}.
output_formatNoFormat de sortie (défaut : pdf).
output_filenameNoNom du fichier généré (défaut : document.pdf).
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses generation of documents and return of a summary, but does not detail constraints like template requirements, error handling, or output summary content.

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?

Two sentences: first states the main action, second states the return value. No fluff, front-loaded, efficient.

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

Completeness4/5

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

Given good schema coverage and no output schema, the description is complete enough for basic understanding. It explains input and output but could mention template placeholders or error handling for full completeness.

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 parameters are already well-documented. The description adds context (document types) but no significant new semantic information beyond the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool generates a document (PDF or DOCX) from a template and JSON data, and returns a summary. It specifies the types of documents (quotes, contracts, certificates) and differentiates from sibling tools like docx_render_facturx and sign_ tools.

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

Usage Guidelines4/5

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

The description implies when to use the tool (when you need to generate a document from a template) but does not explicitly state when not to use it or mention alternative tools. It is clear but lacks exclusions.

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/GOLayerone/layerone-mcp'

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