Skip to main content
Glama

validation_report

Erzeugt aus einer E-Rechnung einen Validierungsbericht als PDF (PDF/A-3b) zum Ablegen und Weitergeben. Der Bericht nennt Ergebnis, alle Meldungen mit Regel-ID und Feld, den Prüfzeitpunkt, Format und Profil, die SHA-256-Prüfsumme der geprüften Datei sowie die Versionen der Prüfwerkzeuge. Auf Wunsch wird die geprüfte Rechnung sichtbar angehängt. Gibt das PDF base64-kodiert zurück. Ab dem Tarif Automatisieren.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNoSprache des Berichts. Standard 'de'.
file_nameNoDateiname, der im Bericht steht.
file_typeYesDateityp: 'pdf' für ZUGFeRD/Factur-X, 'xml' für XRechnung/CII
file_contentYesBase64-kodierter Inhalt der PDF- oder XML-Datei
attach_sourceNoGeprüfte Rechnung sichtbar anhängen (PDF-Seiten bzw. abgedruckter XML-Inhalt). Standard false.

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals the return encoding (base64 PDF), optional attachment behavior, the exact content of the report, and even a tariff restriction. It does not explicitly state absence of side effects, but for a report-generation tool the disclosed details are strong.

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 dense and well-structured: it opens with the core purpose, then lists report contents, optional attachment, return format, and tariff requirement. Every sentence carries useful information with no filler or repetition.

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?

Without an output schema or annotations, the description compensates well by detailing report contents, output encoding, and optional attachment. It does not mention error conditions or prerequisites beyond the tariff note, but for a PDF-generation tool the description is largely sufficient.

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 all five parameters already have descriptions and enums. The tool description reinforces attach_source and file_type semantics but adds no new parameter-level information beyond what the schema provides, meeting the baseline.

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 states a specific verb and resource: it generates a validation report as a PDF/A-3b from an e-invoice. It also names concrete report contents and the base64 return format. However, it does not explicitly distinguish itself from the sibling tool validate_invoice, so the differentiation is only implicit.

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 provides clear context ('zum Ablegen und Weitergeben' and 'auf Wunsch wird die Rechnung angehängt') implying this tool is for producing an archival report after validation. But it gives no explicit when-to-use vs. alternatives such as validate_invoice or check_consistency, leaving the selection to inference.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool targets a distinct workflow step: creating an invoice, validating it, extracting embedded XML, checking PDF/XML consistency, and generating a validation report. Even though check_consistency and validate_invoice both inspect invoices, their inputs and purposes are clearly separated.

Naming Consistency4/5

Four of the five tools follow a clear verb_noun pattern: check_consistency, create_invoice, extract_xml, validate_invoice. validation_report is the only outlier, using a noun phrase instead of an action-oriented verb_noun name.

Tool Count5/5

Five tools is well-scoped for an e-invoice creation and validation server. Each tool contributes a meaningful, non-redundant capability, and the count matches the domain without feeling thin or overloaded.

Completeness5/5

The server covers the core invoice workflow: creation, validation, extraction, consistency checking, and reporting. Since the service is stateless, traditional CRUD update/delete tools are not expected, so there are no significant gaps.

Resources