Skip to main content
Glama

FaeBill E-Rechnung

Read e-invoice

read_einvoice
Read-onlyIdempotent

Read the structured data of an electronic invoice (ZUGFeRD/Factur-X PDF or XRechnung XML). Facts are taken from the embedded XML, which is the leading part of a hybrid invoice; no PDF text is extracted. A PDF without XML contains no structured invoice data. Contact details and bank account data are omitted unless requested via include. Says nothing about input-tax deduction. FaeBill does not store the file.

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": {
      "fileBase64": "<fileBase64>"
    },
    "name": "read_einvoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNoOutput language, default de.
includeNoOptional groups: payment (bank account), contacts (e-mail/phone).
filenameNo
fileBase64YesFile content (PDF or XML), base64, max 8 MB decoded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world behavior, yet the description still adds substantive facts: extraction happens only from embedded XML (no OCR/text extraction), unspecified fields are dropped by default, input-tax deduction is out of scope, and the file is not retained. Retention and extraction-source disclosure are exactly the kind of context annotations cannot convey.

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?

Four tight sentences, front-loaded with what the tool reads and what it refuses to read. The 'says nothing about input-tax deduction' and 'does not store the file' clauses are terse and slightly list-like but each carries real scope or privacy information, so nothing is genuinely wasted.

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

Completeness3/5

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

With no output schema, the description should sketch the shape of the returned 'structured data' (e.g. header, line items, totals) but only says facts come from the XML. For a reader tool whose entire value is its return payload, that is a meaningful gap, though the input side and safety profile are fully covered.

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 coverage is 75%, so the schema already documents fileBase64, filename, locale, and the include enum. The description only reinforces the default-omission behavior of `include` (contacts, bank account); it adds nothing about locale or file constraints. Baseline 3 is appropriate.

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?

States a concrete verb ('Read') plus a precisely bounded resource: structured e-invoice data from ZUGFeRD/Factur-X PDFs or XRechnung XML. It goes further by declaring the source of truth ('embedded XML... no PDF text is extracted'), which cleanly separates it from the validation and explanation siblings that operate on findings rather than raw data.

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?

Usage is implied rather than stated: the note that a PDF without XML 'contains no structured invoice data' effectively warns off non-hybrid PDFs, and the `include` sentence tells the agent when to request contacts/payment. However, there is no explicit guidance on when to pick this over validate_einvoice or explain_einvoice_finding, so routing is left 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.

Resources