Skip to main content
Glama
cmendezs

mcp-einvoicing-de

invoice_create

Generate ZUGFeRD 2.x or XRechnung 3.x invoices in XML (CII or UBL) format. Supports all ZUGFeRD profiles and EN 16931 compliance for German B2B mandates.

Instructions

Generate a ZUGFeRD 2.x or XRechnung 3.x invoice in XML (CII or UBL) format. Supports all ZUGFeRD profiles: MINIMUM, BASIC_WL, BASIC, EN_16931, EXTENDED. For XRechnung, set profile to XRECHNUNG and choose CII or UBL syntax. When the buyer is a German VAT-registered business (DE-prefixed VAT id), the Wachstumschancengesetz B2B mandate (effective 2025-01-01, §14 Abs. 2 UStG) requires a structured EN 16931 invoice. Non-XML output is rejected unless transitional_period_opt_in is set to True (allowed only 2025-2026 with the buyer's written consent).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
syntaxNoCII
invoiceYesInvoice data (ZUGFeRDInvoice schema)
pretty_printNo
output_formatNoxml
transitional_period_opt_inNo
Behavior4/5

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

Discloses key behaviors: supports multiple profiles, XML output rejection without opt-in, and regulatory mandate. However, no annotations exist, and it omits details like return format or error handling.

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?

Single paragraph efficiently conveys core function, profile support, and regulatory context without redundancy. Every sentence adds 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?

Covers main features and constraints, but lacks description of return values or output format details. Given complexity (5 params, no output schema), it is mostly adequate but could be more thorough.

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?

Adds meaning beyond the schema for output_format (rejection of non-XML) and transitional_period_opt_in (explanation of opt-in). Schema coverage is low (20%), so description compensates, but pretty_print and invoice object remain vague.

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 clearly states the tool generates ZUGFeRD or XRechnung invoices in XML format, lists supported profiles, and distinguishes from siblings (invoice_convert, invoice_parse, etc.) by focusing on creation.

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?

Provides specific conditions for when to use (e.g., German VAT buyer requires EN 16931) and opt-in rules, but does not explicitly compare to sibling tools like invoice_validate or invoice_convert.

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