Skip to main content
Glama

German BNetzA SMARD & § 14a EnWG Grid Fee Preview Oracle

validate_en16931_e_invoice

Official KoSIT EN 16931 & XRechnung XML validator issuing signed Ed25519 VCs. Zero retention.

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": {
      "xml_content": "<xml_content>"
    },
    "name": "validate_en16931_e_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
xml_contentYesRaw EN 16931 / XRechnung / UBL / CII XML string.
max_accepted_fee_eurNoMaximum fee in EUR your agent is willing to pay per call (list price 0.03 EUR). Omit if not willing to pay.
ap2_intent_mandate_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two meaningful traits: it issues signed Ed25519 verifiable credentials and has zero data retention. However, it omits key behavior for a paid mutation-like call: what happens on invalid XML, whether a fee is charged on failure, and what the returned VC contains.

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?

Two short, front-loaded sentences with no filler; the validator identity comes first and the retention guarantee last. The telegraphic 'Zero retention.' fragment is slightly clipped but still informative rather than wasteful.

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?

For a 3-parameter tool with no output schema and no annotations, the description covers identity and privacy but not the paid-call mechanics, failure behavior, or the shape of the issued credential. An agent would still be guessing about cost-on-failure and output format before invoking it.

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

Parameters2/5

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

Schema coverage is only 67%, and the description adds no meaning for any parameter. The fee cap and the undocumented ap2_intent_mandate_id are left entirely to the schema, and the description never explains the payment/mandate model that those parameters imply.

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?

The description names a specific verb and resource ('EN 16931 & XRechnung XML validator') and adds distinguishing traits (official KoSIT, signed Ed25519 VCs, zero retention) that clearly separate it from the PII-redaction and sanctions-screening siblings. It stops short of 5 because the VC/Ed25519 phrasing is jargon-heavy and the core action is compressed into a noun phrase rather than a clean verb statement.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance, and no mention of alternatives or prerequisites. An agent can infer that this is for validating e-invoice XML, but nothing tells it when to prefer this over other validation paths or what input conditions are required.

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