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.

Extract ZUGFeRD / Factur-X XML

extract_zugferd
Read-onlyIdempotent

Extract the embedded invoice XML and a JSON summary from a ZUGFeRD or Factur-X PDF. Send the PDF as file_base64 (limit 10 MB). Same free limit as validate_xrechnung (shared counter). ok means an XML attachment was found. The xml field is the raw document.

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": "extract_zugferd"
  }
}

Input Schema

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

Output Schema

NameRequiredDescriptionDefault
okYes
xmlNo
profileNo
summaryNo
fileNameNo
embeddedNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive behavior, so the description's added value is the 10 MB payload cap, the shared free-counter quota across validate_xrechnung, and the interpretation of the ok flag. Those are real behavioral details beyond the structured fields, though the failure path when no XML is embedded is not described.

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 short sentences, front-loaded with the core action and followed by the payload limit and output semantics. The trailing note that the xml field is the raw document is slightly redundant against the output schema but still clarifies format.

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?

With an output schema present, the description need not document return values, and it still covers the size limit, quota, and success condition. The main gap is the behavior when no XML attachment is found, which matters for an extraction tool.

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, but the description adds a meaningful constraint not present in the schema: file_base64 is capped at 10 MB. It leaves file_name's optionality to the schema, which is acceptable given full coverage.

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 — extracting embedded invoice XML plus a JSON summary from a ZUGFeRD or Factur-X PDF — which is unambiguous. It does not explicitly contrast itself with the sibling validate_zugferd, so the extraction-vs-validation distinction is left to the agent to infer from the name.

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?

Usage is only implied: send the PDF as file_base64 and extraction follows. The 10 MB limit and the shared free-counter note are operational constraints rather than when-to-use guidance, and there is no explicit statement about when to pick this over validate_zugferd or what to do when no XML attachment exists.

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