Skip to main content
Glama

XRechnung Pro

Check a Leitweg-ID

check_leitweg_id
Read-onlyIdempotent

Check structure and check digits (ISO 7064 Mod 97-10) of a German Leitweg-ID, the routing ID for invoices to public authorities. Free.

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": {
      "leitweg_id": "<leitweg_id>"
    },
    "name": "check_leitweg_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
leitweg_idYese.g. 991-12345-67

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description still adds real value by disclosing the validation method (structural check plus Mod 97-10 checksum), which implies this is a format/checksum test rather than a registry existence lookup, and by noting there is no cost. It does not say what a failure result looks like.

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 resource, with the algorithm and domain context packed in without filler. Every clause carries information.

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?

For a one-parameter, side-effect-free checker with rich annotations, this is nearly complete. The one gap is that no output schema exists and the description never indicates the shape of the result (valid/invalid, error reasons), which an agent may want before calling.

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?

The single parameter is fully documented in the schema, including an example format '991-12345-67', so the baseline is 3. The description adds no further formatting rules or normalization guidance beyond that example.

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 (check) and a precisely scoped resource (German Leitweg-ID), and names the exact validation performed (structure plus ISO 7064 Mod 97-10 check digits). The domain gloss 'routing ID for invoices to public authorities' makes it unmistakable against the sibling e-invoice tools, which operate on whole invoices rather than this identifier.

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?

There is no explicit when-to-use statement or reference to alternatives such as validate_e_invoice; the use case is only implied by the invoice-routing framing. 'Free' hints that it is a cheap pre-check, but the agent must infer that this should be run before submitting an invoice.

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