Skip to main content
Glama

rechnung_vorpruefen

Pre-check a German invoice for missing mandatory § 14 (4) UStG fields before issuing or sending it, and identify exactly which required details are absent.

Instructions

Pre-check a German invoice for missing mandatory fields under § 14 (4) UStG before it is sent.

Use this right before issuing or approving an invoice (country DE only). It checks presence of fields, not their correctness, and not the e-invoice format (EN 16931, XRechnung, ZUGFeRD). If brutto is given and does not exceed 250 euros, only the reduced field set for small-amount invoices (§ 33 UStDV) is required. Nothing is stored in the free tier.

Args: rechnung: object with these keys (strings unless noted): aussteller_name, aussteller_anschrift, empfaenger_name, empfaenger_anschrift, steuernummer_oder_ustid, datum, rechnungsnummer, leistung, leistungszeitpunkt, netto (number), and either steuersatz (number, percent) together with steuerbetrag (number) or steuerbefreiung_hinweis (text, for example § 19 UStG). Optional brutto (number, total amount including tax): if it is 250 or less, the invoice is checked as a small-amount invoice under § 33 UStDV (needs only aussteller_name, aussteller_anschrift, datum, leistung, brutto and steuersatz or steuerbefreiung_hinweis). § 33 UStDV does not apply to distance sales (§ 3c UStG), intra-Community supplies (§ 6a UStG) and reverse-charge services (§ 13b UStG); do not pass brutto for those. land: only DE is supported; others return an error. verantwortlich: optional name of the responsible human, written into the audit receipt.

Returns: bestanden (true only if nothing is missing), fehlende_angaben (list of missing fields in words), grundlage, quelle, nicht_geprueft (what this check does not cover) and nachweis (audit receipt).

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": {
      "rechnung": "<rechnung>"
    },
    "name": "rechnung_vorpruefen"
  }
}

Input Schema

NameRequiredDescriptionDefault
landNoDE
rechnungYes
verantwortlichNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so well: it discloses that the tool checks presence rather than correctness, excludes e-invoice format validation, supports only DE, applies special § 33 UStDV logic, excludes distance sales/intra-Community/reverse-charge cases, and notes that nothing is stored in the free tier.

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 long but appropriately structured for a complex legal/precheck tool. The purpose and usage constraints are front-loaded, and the parameter and return details are organized without redundant filler.

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

Completeness5/5

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

Given the nested input object, 0% schema description coverage, no output schema, and no annotations, the description is complete enough to call the tool correctly. It explains return fields, limitations, country support, legal basis, and the audit receipt, leaving no major gap for the agent.

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

Parameters5/5

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

Schema description coverage is 0%, but the description fully compensates by listing the nested `rechnung` fields, indicating which are strings or numbers, explaining conditional alternatives for tax fields, and documenting the optional `brutto` small-amount behavior. It also explains `land` and `verantwortlich` semantics beyond the bare 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: pre-check a German invoice for missing mandatory fields under § 14 (4) UStG. It also distinguishes the check from correctness and e-invoice format validation, so an agent can tell it apart from broader invoice/tax validation tools.

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?

It clearly states when to use the tool: right before issuing or approving an invoice, country DE only. It also states important exclusions, such as not checking correctness or e-invoice format, and the small-amount invoice condition. It does not explicitly name sibling alternatives, which keeps it below a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.