Skip to main content
Glama
fudaut-erechnung-bmf-mcp

fudaut-erechnung-bmf-mcp

GAEB DA XML (X83/X84/X86) nach ERP-JSON parsen

parse_gaeb_xml
Read-onlyIdempotent

Parses GAEB DA XML bills of quantities (X83/X84/X86, v3.2/3.3) into structured ERP JSON with lot/title hierarchy, quantities, prices, and total-sum reconciliation.

Instructions

Parst GAEB DA XML Leistungsverzeichnisse (X83 Angebotsaufforderung, X84 Angebotsabgabe, X86 Auftragserteilung; Versionen 3.2 und 3.3) in sauberes, strukturiertes ERP-JSON inklusive Projekt-/Vergabekopf, Los-/Titel-Hierarchie, Ordnungszahl (OZ), Menge, Einheit, Einheitspreis (EP), Gesamtpreis (GP) sowie exaktem Abgleich zwischen berechneter und ausgewiesener Gesamtsumme.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "parse_gaeb_xml"
  }
}

Input Schema

NameRequiredDescriptionDefault
xmlNoDirekter GAEB-DA-XML-Inhalt
pfadNoRelativer Pfad zur GAEB-Datei (.x83, .x84, .x86, .xml) im freigegebenen Ordner
dateinameNoOptionaler Dateiname als Phasen-Hinweis (z. B. angebot.x84) bei direkter XML-Übergabe

Output Schema

NameRequiredDescriptionDefault
okYes
kopfYes
summenYes
befundeYes
gruppenYes
positionenYes
fehlerAnzahlYes
warnungAnzahlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds a genuine behavioral fact beyond that: it performs an exact reconciliation between the computed and the stated total sum, which tells the agent to expect a validation result rather than a pure transformation. It stops short of saying what happens on malformed XML or an unsupported version.

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?

One sentence, front-loaded with the verb and the input format, with no filler. The parenthetical format gloss and the field list are dense but each item earns its place by defining the returned structure.

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?

An output schema exists so the description need not explain return values, and annotations carry the safety profile; what remains is the input-mode selection (xml vs. pfad) and error behavior for malformed or unsupported files, which the description omits. For a single-purpose read-only parser that gap is minor but real given 0 required parameters.

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 schema already explains xml, pfad and dateiname, and the baseline is 3. The description adds nothing about parameters — notably it never addresses the fact that zero parameters are required while at least one of xml/pfad must logically be supplied, nor which takes precedence if both are given.

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 specific verb ("Parst") and resource (GAEB DA XML Leistungsverzeichnisse), enumerates the supported formats (X83/X84/X86) and versions (3.2/3.3), and names the exact output shape (ERP-JSON with Projekt-/Vergabekopf, Los-/Titel-Hierarchie, OZ, Menge, Einheit, EP, GP). This is unmistakably a parser and is trivially distinguishable from the check_* siblings.

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 by the format enumeration — an agent can infer this is the tool for turning a GAEB DA file into structured data — but there is no explicit when-to-use statement, no when-not, and no routing to the check_* siblings for validation tasks. Nothing tells the caller whether to parse first and check later or vice versa.

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