Skip to main content
Glama
cmendezs

mcp-einvoicing-de

invoice_convert

Convert ZUGFeRD or XRechnung invoices across profiles and syntaxes, including CII to UBL. Upgrade or downgrade profiles, with explicit approval to permit data loss on downgrades.

Instructions

Convert a ZUGFeRD or XRechnung invoice to a different profile or syntax.

Supports ZUGFeRD profile upgrades and downgrades, ZUGFeRD <-> XRechnung conversion, and cross-syntax CII <-> UBL transformation. Profile downgrades may result in data loss; set allow_data_loss=True to permit this.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xml_base64NoBase64-encoded XML bytes.
xml_contentNoRaw XML string of the source invoice.
target_syntaxNoTarget syntax: 'CII' or 'UBL'. UBL is only valid for XRECHNUNG.CII
target_profileYesOne of: MINIMUM, BASIC_WL, BASIC, EN_16931, EXTENDED, XRECHNUNG.
allow_data_lossNoIf True, allow profile downgrades that discard data. Discarded fields are listed in the output. If False and data loss would occur, the conversion is rejected.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are present, so the description bears the full burden of behavioral disclosure. It prominently warns about a non-obvious side effect: downgrades may discard data, and the conversion is rejected unless allow_data_loss=True. It also notes that discarded fields appear in the output, adding useful runtime context.

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 is exceptionally tight: three sentences, no filler, with the main action first and the critical caveat last. Every sentence adds necessary information without redundancy.

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?

The description covers the core behavior, supported transformations, and the important data-loss edge case. An output schema exists, so the return format need not be described. It does not explicitly clarify that xml_base64 and xml_content are alternative input sources, but their parameter names and schema descriptions make that inferable, so this is a minor gap.

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 100%, so the baseline is 3. The description does not add meaning beyond what the schema already provides for each parameter; it merely restates the data-loss toggle, which the schema also documents. No extra semantic value is contributed for xml_base64, xml_content, target_syntax, or target_profile.

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?

The description opens with a precise verb and resource: 'Convert a ZUGFeRD or XRechnung invoice to a different profile or syntax.' It enumerates the supported transformations (profile upgrades/downgrades, ZUGFeRD <-> XRechnung, CII <-> UBL), which clearly distinguishes this from sibling tools like invoice_validate, invoice_parse, or invoice_create.

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?

The description states the exact scenarios this tool applies to: profile conversion and syntax transformation. It does not explicitly name alternatives or give exclusion criteria, but the supported conversion matrix makes the intended use clear. The data-loss warning also guides when to set allow_data_loss=True.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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