Skip to main content
Glama
cmendezs

mcp-einvoicing-de

invoice_parse

Extract structured data from ZUGFeRD 2.x or XRechnung 3.x invoices. Accepts raw XML, base64-encoded XML, or base64-encoded PDF (ZUGFeRD hybrid).

Instructions

Extract structured data from a ZUGFeRD 2.x or XRechnung 3.x invoice. Accepts raw XML (CII or UBL), base64-encoded XML, or base64-encoded PDF (ZUGFeRD hybrid — the XML is extracted from the PDF/A-3 attachment). Returns a structured JSON object matching the invoice data model.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xml_contentNoRaw XML string.
xml_base64NoBase64-encoded XML.
pdf_base64NoBase64-encoded PDF (ZUGFeRD hybrid).
include_raw_xmlNo
Behavior4/5

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

No annotations exist, so the description carries the burden. It clearly explains the extraction process (e.g., XML extraction from PDF/A-3 attachment) and indicates the tool returns JSON without side effects. However, it lacks explicit statements about mutability or authorization requirements, but these are indirectly clear from the parsing nature.

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?

The description consists of three focused sentences with no fluff. It front-loads the primary action and efficiently covers input, processing, and output. Every sentence adds distinct value.

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 complexity of supporting multiple input formats and extraction, the description covers the main aspects. It lacks details on the output schema, error conditions, or performance, but these are reasonable omissions for a parse tool. The description is complete enough for typical usage.

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 75% (3 of 4 parameters described). The description adds meaning beyond schema by explaining input formats and the PDF extraction mechanism. However, the include_raw_xml parameter is not mentioned anywhere, leaving a gap.

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 clearly identifies the tool as an invoice parser for ZUGFeRD/XRechnung formats, stating specific input types (raw XML, base64 XML, base64 PDF). It distinguishes itself from siblings like invoice_convert or invoice_validate by focusing on extraction, though it does not explicitly contrast with them.

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 extracting structured data from invoices but provides no explicit guidance on when to use this tool versus alternatives like invoice_convert or invoice_validate. No when-not-to-use or prerequisite information is given.

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/cmendezs/mcp-einvoicing-de'

If you have feedback or need assistance with the MCP directory API, please join our Discord server