Skip to main content
Glama

XRechnung & ZUGFeRD validator (e-Rechnung Inbox)

validate_xrechnung

Validate XRechnung/ZUGFeRD XML using e-Rechnung Inbox validation logic. Hosted v0.2 requires a Public API key and shares Public API rate limits.

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": "<xml>"
    },
    "name": "validate_xrechnung"
  }
}

Input Schema

NameRequiredDescriptionDefault
xmlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description still manages to disclose meaningful operational traits: hosted v0.2 requires a Public API key and shares Public API rate limits, which is exactly the kind of auth/limit context annotations would normally carry. It does not state whether the call is read-only/non-destructive, what a failure looks like, or which XRechnung/ZUGFeRD version is targeted, so the burden is only partially met.

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 sentences with no filler; the core action is front-loaded and the operational caveats follow. It is appropriately sized, though the second sentence is terse to the point of being cryptic about what "Hosted v0.2" refers to.

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

Completeness2/5

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

There is no output schema, so the description must explain what validation returns (pass/fail, error list, conformance report) and it does not. Combined with the undocumented xml parameter format, an agent knows what the tool is for but not how to call it or what to expect back.

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?

The single parameter has 0% schema description coverage, and the description says nothing about it. An agent cannot tell whether "xml" expects a raw XML document string, a base64 blob, a file path, or a URL, which is a critical ambiguity for a 1-required-param tool.

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?

"Validate XRechnung/ZUGFeRD XML" gives a specific verb and resource, and the contrast with the sibling parse_xrechnung is inferable from the verb pair. It stops short of explicitly stating the division of labour (validate vs. parse), so it is clear but not sibling-differentiated in so many words.

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 description implies the use case (checking invoice XML conformance) and names the validation logic used, but it never says when to prefer this over parse_xrechnung or what to do with the result. No prerequisites beyond the API key are mentioned, and there are no exclusions.

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.