Skip to main content
Glama

Fakturai — German E-Invoice (ZUGFeRD / Factur-X / E-Rechnung)

validate_einvoice

Validate an existing ZUGFeRD/Factur-X/E-Rechnung invoice. Accepts a base64-encoded PDF or raw CII XML. Runs the full three-validator check: PDF/A conformance, EN 16931 Schematron, and the official German KoSIT acceptance gate. No authentication required. Keywords: E-Rechnung prüfen, ZUGFeRD validieren, Factur-X check, Rechnung compliance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYes
content_formatNopdf_b64

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, description fully discloses input formats and the three validation steps. No contradictions. Could mention output format, but output schema exists. Good transparency for a read-only validation tool.

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?

Four concise, front-loaded sentences. Each sentence adds unique value: purpose, input format, validation details, and authentication status. No wasted words.

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 the tool's complexity (2 params, 0% schema coverage, no annotations), the description covers input, validation behavior, and authentication. Output schema exists so return values are not needed. Could mention error handling, but overall complete.

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 has 0% description coverage; description compensates by explaining the 'content' parameter accepts base64-encoded PDF or raw CII XML and mentions default format. Adds significant meaning beyond the schema's bare titles.

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?

Description clearly states the tool validates existing ZUGFeRD/Factur-X/E-Rechnung invoices, listing specific formats (PDF, CII XML) and validation checks (PDF/A, EN 16931, KoSIT). This distinguishes it from sibling tools like compliance_status and generate_einvoice.

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?

Explicitly states 'No authentication required' and implies usage for validating existing invoices. Does not explicitly contrast with siblings, but the verb 'validate' clearly differentiates from generation or status checks.

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.2/5.0
Disambiguation5/5

Each tool targets a distinct operation: health check, invoice generation, and invoice validation. No overlap in functionality or ambiguity.

Naming Consistency4/5

Tools follow a lowercase snake_case pattern, but 'compliance_status' is a noun phrase while the other two use verb_noun structure. Slight inconsistency but still predictable and readable.

Tool Count5/5

Three tools is well-scoped for the focused domain of German e-invoice generation and validation. Neither too few nor excessive.

Completeness5/5

Covers the full workflow: readiness check, invoice creation with verification, and validation of existing invoices. No obvious gaps for the stated purpose.

Resources