Skip to main content
Glama

BMEcat 1.2 / 2005 XML-Katalog prüfen

validate_bmecat
Read-onlyIdempotent

Validates BMEcat 1.2 and 2005 XML catalogs for structure, unique IDs, GS1 check digits, required fields, units, currency/tax tiers, and classification, while blocking XXE entities.

Instructions

Validiert BMEcat 1.2 und BMEcat 2005 XML-Kataloge deterministisch: Struktur HEADER/CATALOG/SUPPLIER/T_NEW_CATALOG, eindeutige SUPPLIER_AID/SUPPLIER_PID, GS1 Modulo-10 GTIN/EAN-8/12/13/14 Prüfziffern, Pflichtfelder DESCRIPTION_SHORT/ORDER_UNIT/PRICE_DETAILS, UN/ECE-Mengeneinheiten, konsistente CURRENCY/TAX/LOWER_BOUND-Staffeln in BigInt-Festkomma-Arithmetik, ETIM/eCl@ss-Klassifikation und XXE-<!ENTITY-Sperre.

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": "validate_bmecat"
  }
}

Input Schema

NameRequiredDescriptionDefault
xmlNoDirekter BMEcat-XML-Text, falls keine Datei über pfad gelesen wird
pfadNoRelativer Pfad zur BMEcat-XML-Datei innerhalb von BMECAT_ORDNER

Output Schema

NameRequiredDescriptionDefault
okYes
befundeYes
katalogYes
statistikYes
transaktionYes
fehlerAnzahlYes
bmecatVersionYes
warnungAnzahlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, yet the description still adds real value: deterministic checking, BigInt fixed-point price-tier arithmetic, and an XXE <!ENTITY block. It does not say how failures are surfaced (abort vs. error list), which is the main remaining behavioral gap.

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?

A single dense sentence with the verb and resource front-loaded, followed only by substantive check categories. Each clause carries information, though the long enumeration is harder to scan than a short bulleted split would be.

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?

With only two optional parameters, rich annotations, and an output schema, the definition covers what is needed to call the tool correctly and understand its scope. The one omission is the success/failure reporting behavior, which is presumably captured by the output schema.

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% and both parameters (xml text vs. pfad inside BMECAT_ORDNER) are documented in the schema itself, so the baseline of 3 applies. The description adds no precedence rule or format detail beyond what the schema already states.

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 ("Validiert") plus resource (BMEcat 1.2 und BMEcat 2005 XML-Kataloge) and enumerates the exact check families, so it is immediately distinguishable from the conversion siblings csv_to_bmecat_2005 and bmecat_to_erp_json and from validate_oci_cart by format.

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 validation scope implies when the tool applies (checking a BMEcat catalogue before import/conversion), but there is no explicit when-to-use, when-not-to-use, or mention of the OCI validator as an alternative for other formats. Guidance is inferred rather than stated.

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