Skip to main content
Glama

Factur-X e-invoicing

Generate Factur-X invoice

generate_invoice
Read-onlyIdempotent

Generate a compliant e-invoice from structured data.

Returns a summary and the document as an embedded resource (base64 PDF or XML text).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
checkNoSchematron rule set: EN 16931 base or + French CTC rulesfr-ctc
outputNofacturx-pdf (PDF/A-3 with XML, default), cii-xml or ubl-xmlfacturx-pdf
invoiceYes
profileNoEN 16931 conformance level: en16931 (default), extended, extended-ctc-fr, basicwlen16931
languageNoLanguage of the visual PDF: fr or enfr
footer_textNoOptional footer text on the PDF

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already carry the safety profile (readOnlyHint, idempotentHint), and the description does not contradict them — 'generate... returns' reads as a pure transformation with no persisted side effects. The description adds the return structure (summary plus embedded base64 PDF or XML text), which tells the agent what to expect. It doesn't cover failure behavior or internal validation, but the 'check' parameter's schema partially discloses that.

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?

Two sentences with zero filler, purpose front-loaded ahead of the return-value note. The description is clean but arguably terse for a compliance-critical generator; it shifts most explanatory burden onto the very large schema.

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?

The essentials are present — what it does, what it returns, and (via annotations) its read-only, idempotent nature — backed by an unusually rich schema. However, with no output schema, the description omits useful context such as validation/failure semantics on non-compliant input, how profiles affect output, and the distinction between the three output formats beyond their names.

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 83%, above the 80% threshold, so the baseline of 3 applies even though the top-level description adds no parameter detail. The schema itself documents output formats, profiles, check rule sets, language, and the extensive Invoice definition with BT codes. Nothing in the description is needed to disambiguate the parameters.

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 states a specific verb and resource — 'generate a compliant e-invoice from structured data' — and the title names the standard (Factur-X invoice). Mentioning the return shape (summary plus embedded document) further clarifies what the tool produces. It doesn't explicitly contrast with siblings, but 'generate' versus 'embed/extract/validate' is strongly self-differentiating from the name alone.

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?

No when-to-use or when-not-to-use guidance is given, and no sibling tool is named as an alternative. Usage must be inferred from the verb 'generate' — call this when you have structured invoice data and want a document — with no exclusions, prerequisites, or routing hints.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool targets a distinct stage of the Factur-X lifecycle: creation, validation, embedding into PDF, and extraction. There is no meaningful overlap between generate, validate, embed, and extract operations.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern: embed_xml, extract_invoice, generate_invoice, validate_invoice. The pattern is predictable and immediately conveys the action and object.

Tool Count5/5

Four tools is a well-scoped size for this domain, covering the essential operations without redundancy. Each tool earns its place in the set.

Completeness5/5

The toolkit covers the full core workflow: generate a compliant invoice, validate it, embed the XML in a PDF/A-3 document, and extract previously embedded data. No obvious lifecycle gaps exist for the stated purpose.

Resources