Skip to main content
Glama

XRechnung & ZUGFeRD Validator (checkxrechnung.com)

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as XRechnung Validator. If you published it, claim ownership there.

Validate ZUGFeRD / Factur-X

validate_zugferd
Read-onlyIdempotent

Validate one ZUGFeRD or Factur-X PDF: PDF/A-3 basics, the embedded XML, the profile (MINIMUM, BASIC WL, BASIC, EN16931, EXTENDED, XRECHNUNG) and the EN 16931 CII Schematron. Send the PDF as file_base64 (limit 10 MB). Same free limit as validate_xrechnung (shared counter). Returns valid, profile, and errors with rule_id and rule_url.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "file_base64": "<file_base64>"
    },
    "name": "validate_zugferd"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_nameNoOptional file name, e.g. invoice.pdf.
file_base64YesThe PDF, base64-encoded.

Output Schema

NameRequiredDescriptionDefault
pdfaNo
validYes
errorsYes
profileNo
fileNameNo
embeddedNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, and non-destructive behavior, so the bar is lower. The description adds genuinely new operational context: a 10 MB payload cap and a shared free-tier quota counter with validate_xrechnung, both of which affect how an agent should schedule and batch calls.

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?

Four tight sentences with the validation scope front-loaded and limits/return shape trailing. Dense but every clause carries information; nothing is redundant.

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

Completeness5/5

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

An output schema exists, so return values need only be summarized, which it does (valid, profile, errors with rule_id and rule_url). Combined with input format, size limit, and quota behavior, an agent has everything needed to invoke it correctly.

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 the baseline is 3. The description earns above baseline by attaching a concrete size constraint (10 MB) to file_base64 and clarifying it must be the PDF itself, details the schema does not state.

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?

Names a specific verb (validate) and resource (one ZUGFeRD/Factur-X PDF) and enumerates the exact checks performed: PDF/A-3 basics, embedded XML, profile enumeration, and EN 16931 CII Schematron. It never explicitly contrasts itself with extract_zugferd, so sibling differentiation is only implied by the word 'validate'.

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 when-to-use context is implied by the input (a single PDF submitted as file_base64), and it helpfully notes the free-tier counter is shared with validate_xrechnung. There is no explicit statement of when not to use it, nor a pointer to extract_zugferd for data extraction rather than validation.

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.

Resources