Skip to main content
Glama

EuroCompliance Studio & Ultrathink Edge MCP (36 Tools)

generate_einvoice_xml

Read-onlyIdempotent

Generate self-validated UBL 2.1 XRechnung 3.0.2 or CII Factur-X 1.0 XML with § 19 UStG / FR Art. 293 B support + EPC GiroCode + DATEV EXTF CSV.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "generate_einvoice_xml"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNo
buyerNameNo
sellerVatNo
taxSchemeNo
sellerIbanNo
sellerNameNo
invoiceNumberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered. The description adds one genuinely behavioral fact — the output is 'self-validated' — and reveals extra artifacts (GiroCode, DATEV CSV) that annotations cannot convey. It does not say whether XML is returned inline or written to disk, nor what a validation failure looks like.

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?

A single front-loaded sentence with the verb and standard versions first, then supporting capabilities. Dense with domain jargon but every clause carries information; no filler.

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

Completeness2/5

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

For a 7-parameter generator with no output schema and no required-parameter markers, the description leaves the critical question unanswered: what inputs are needed to produce a valid XRechnung/Factur-X document. The enumeration of formats and tax schemes helps, but the input contract is essentially undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 7 parameters, so the description must carry the burden. It only indirectly explains two enum values (xrechnung/factur-x for format; § 19 UStG and FR Art. 293 B map to taxScheme), leaving buyerName, sellerName, sellerVat, sellerIban and invoiceNumber with no semantic or required/optional guidance — and the schema marks zero required params, so the agent cannot tell what is mandatory for a valid invoice.

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?

States a specific verb and a very precise resource: UBL 2.1 XRechnung 3.0.2 or CII Factur-X 1.0 XML, plus the ancillary outputs (EPC GiroCode, DATEV EXTF CSV). The generate-vs-validate distinction from the sibling validate_einvoice_xml is inferable but never made explicit, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisite (e.g. required seller/buyer data), and no mention of the sibling validate_einvoice_xml as a follow-up step. The agent must infer that this is the authoring counterpart to the validator purely from the names.

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.