Skip to main content
Glama
GOLayerone

layerone-mcp

Official
by GOLayerone

DocX — Générer une facture Factur-X

docx_render_facturx

Generate Factur-X compliant e-invoices from a template and JSON data. Returns PDF summary with size and base64 preview.

Instructions

Génère une facture électronique conforme à la réforme 2026 (Factur-X / PDF-A3) à partir d'un modèle déposé et de données JSON. Renvoie un résumé du PDF généré (taille + aperçu base64 tronqué).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
template_idYesID d'un modèle déjà déposé sur DocX.
json_dataYesDonnées de la facture au format chaîne JSON, ex : {"Npiece":"F2026-001","client":"ACME","total":1200}.
output_filenameNoNom du fichier PDF généré (défaut : facture.pdf).
Behavior3/5

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

With no annotations, the description partially compensates by stating the output format (PDF/A-3) and return summary. However, it lacks disclosure on error handling, idempotency, or template requirements.

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 with no waste. The purpose is front-loaded, and the return value is clearly mentioned. Every phrase earns its place.

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 3 parameters with full schema coverage and no output schema, the description explains the input and output sufficiently. It could be improved by mentioning error scenarios, but overall it covers the essential context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds value by providing an example JSON structure for the json_data parameter, which clarifies the expected format beyond the schema.

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 Factur-X electronic invoices from a template and JSON data, distinguishing it from sibling tools like docx_render_document.

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 for Factur-X invoices but does not explicitly guide when to use this tool over siblings like docx_render_document, nor does it provide exclusions or prerequisites.

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