Skip to main content
Glama

ZUGFeRD-Bereit

Generate & download ZUGFeRD PDF/A-3 or XRechnung XML

generate_and_download
Destructive

Generates the final EN 16931 + veraPDF-validated ZUGFeRD PDF/A-3 or XRechnung XML for a paid Single Order job (or an authenticated paid-subscriber API-key job, charging 1 monthly invoice unit). Returns a short-lived signed download_url (and optional inline XML text for xrechnung_xml).

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": {
      "job_token": "<job_token>"
    },
    "name": "generate_and_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoOutput format: zugferd_pdf (EN 16931 ZUGFeRD 2.4 PDF/A-3) or xrechnung_xml (CII XML).zugferd_pdf
job_tokenYesThe paid (or API-key authenticated) job_token.
include_inline_xmlNoWhen format is xrechnung_xml, also return the XML string inline in the tool result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare that this is not read-only, is destructive, and is non-idempotent. The description adds important behavior beyond that: it charges 1 monthly invoice unit, returns a short-lived signed download_url, and can inline XML when requested. It does not spell out whether repeated calls incur repeated charges or what exactly the destructive aspect affects, leaving a modest gap.

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?

The description is front-loaded and dense, covering the output, validation standard, billing unit, and return shape in two sentences. It is somewhat packed with qualifiers but not wasteful.

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?

There is no output schema, so the description must explain returns; it does so by naming the short-lived signed download_url and optional inline XML. It also covers prerequisites and billing. Remaining gaps, such as failure behavior or repeat-charge semantics, are minor for this tool.

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 parameter meanings are already well documented. The description reinforces that job_token must be a paid or API-key authenticated token and that inline XML applies to xrechnung_xml, but it adds little parameter-specific detail beyond the schema.

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 uses a specific verb and resource: it generates the final EN 16931 and veraPDF-validated ZUGFeRD PDF/A-3 or XRechnung XML for a paid job. It clearly distinguishes the final output/document download from sibling tools such as inspect_e_invoice, validate_invoice_json, and the draft tools.

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 supplies prerequisites, namely a paid Single Order job_token or an authenticated paid-subscriber API-key job, which implicitly tells the agent when this tool is usable. However, it does not explicitly route the agent from validate_invoice_json or explain when to choose this tool over inspection or validation siblings.

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