Skip to main content
Glama
fudaut-datev-extf-mcp

fudaut-datev-extf-mcp

Buchungsstapel prüfen

stapel_pruefen
Read-only

Validates a DATEV EXTF/DTVF accounting batch against the DATEV format specification and reports every header or booking-field issue by line and field without changing data.

Instructions

Prüft einen DATEV-Buchungsstapel (DATEV-Format, EXTF oder DTVF) gegen die Formatbeschreibung der DATEV eG (Stand 2026-10-13): 31 Kopffelder und 125 Spalten je Buchung, jedes gefüllte Feld gegen den dort veröffentlichten Ausdruck, dazu Zeichensatz, Zeilenende, Pflichtangaben, Belegdatum im Zeitraum und im Wirtschaftsjahr. Zwei Stufen: „fehler“ (nicht auswertbar oder widersprüchlich) und „abweichung“ (weicht von der Formatbeschreibung ab). Nennt jeden Befund mit Zeile und Feld. Ändert nichts.

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": {
      "pfad": "<pfad>"
    },
    "name": "stapel_pruefen"
  }
}

Input Schema

NameRequiredDescriptionDefault
pfadYesPfad des Buchungsstapels, relativ zum freigegebenen Ordner, zum Beispiel EXTF_Buchungsstapel_2026.csv

Output Schema

NameRequiredDescriptionDefault
okYes
befundeYes
gruppenYes
sollCentYes
buchungenYes
habenCentYes
zeichensatzYes
fehlerAnzahlYes
formatgerechtYes
abweichungAnzahlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint annotation, which it also corroborates ('Ändert nichts'). It discloses the check surface (31 header fields, 125 columns, charset, line endings, mandatory fields, posting date within period and fiscal year), the two-level severity model ('fehler' vs 'abweichung'), and the granularity of findings (line and field).

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?

Front-loaded with verb and resource, then scope, then severity levels, then the read-only guarantee — a logical progression with no filler. The multi-clause sentences with long enumerations are dense but each clause carries real information.

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?

An output schema exists, so return values need not be spelled out, and the description still conveys the finding granularity. Between the check surface, severity taxonomy, and read-only guarantee, an agent has everything needed to decide to call it and interpret the result.

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?

Only one parameter, and the schema already carries a full description at 100% coverage including the relative-path requirement and an example filename. The description adds no additional path semantics (e.g. what 'freigegebener Ordner' resolves to or error behavior on an unknown path), so it only meets the baseline for fully documented schemas.

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 ('Prüft') and a precise resource ('DATEV-Buchungsstapel', EXTF/DTVF) plus the rule set it checks against. Sibling differentiation is only implicit — the closing 'Ändert nichts' contrasts with stapel_schreiben and the validation focus contrasts with stapel_lesen, but no sibling is named.

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: an agent can infer this is the pre-flight validation step before reading or importing a batch. There is no explicit when-to-use/when-not, no prerequisite (the 'freigegebener Ordner' is only visible in the schema), and no pointer to stapel_lesen or stapel_schreiben as alternatives.

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