Skip to main content
Glama

vat_pruefen

Check whether an EU VAT ID is valid live via VIES before issuing a VAT-exempt B2B invoice or onboarding a business partner. Returns validity, registered details when available, and an audit receipt.

Instructions

Check live whether an EU VAT ID is valid, using the European Commission's VIES service.

Use this before issuing a B2B invoice without VAT (reverse charge) or onboarding a business partner. Needs the network and VIES availability; on failure it returns an fehler field instead of guessing. Only checks existence, not whether the company is the one you intend to deal with.

Args: ust_id: VAT ID with country prefix, spaces allowed, for example LU26375245 or DE 123456789. verantwortlich: optional name of the responsible human, written into the audit receipt.

Returns: gueltig (true/false/null), registered name and anschrift if VIES provides them, abfragezeit, quelle and nachweis (audit receipt: time, tool, responsible person, SHA-256 of the result).

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": {
      "ust_id": "<ust_id>"
    },
    "name": "vat_pruefen"
  }
}

Input Schema

NameRequiredDescriptionDefault
ust_idYes
verantwortlichNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden and does so thoroughly: it requires network access and VIES availability, and on failure it returns an `fehler` field rather than guessing — an important non-hallucination guarantee. It also discloses the audit side effect (the responsible person is written into the receipt with a SHA-256 hash of the result), which an agent cannot infer from any structured field.

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?

The purpose and the failure-mode caveat are front-loaded in the first paragraph, before the structured Args/Returns sections. Every sentence carries information an agent needs — scope, dependency, failure behavior, parameter format, return fields — with no filler or restatement of the tool name.

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

Completeness5/5

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

There is no output schema, and the description compensates by enumerating the return fields (`gueltig` with its tri-state true/false/null, `name`, `anschrift`, `abfragezeit`, `quelle`, `nachweis`). Combined with the dependency and failure-mode disclosure, an agent has everything needed to call this correctly and interpret a failure versus a negative result.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate entirely, and it does: `ust_id` is explained as requiring a country prefix, allowing spaces, with two concrete examples ('LU26375245', 'DE 123456789'). The optional `verantwortlich` is explained as the responsible human's name recorded in the audit receipt, which gives the agent a real reason to populate it rather than leave the default.

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?

The description opens with a specific verb and resource: 'Check live whether an EU VAT ID is valid, using the European Commission's VIES service.' It names the external authority (VIES) and the exact object of the check, so the agent knows precisely what this tool does without opening the schema. None of the listed siblings (angebot, katalog_status, rechnung_vorpruefen, etc.) performs VAT validation, so no sibling confusion is plausible.

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

Usage Guidelines4/5

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

It gives concrete triggering conditions: 'before issuing a B2B invoice without VAT (reverse charge) or onboarding a business partner.' It also states a negative boundary — 'Only checks existence, not whether the company is the one you intend to deal with' — which tells the agent when this tool is insufficient. It does not name an alternative tool for the cases it excludes, so it falls just short of a full when/when-not/alternative triad.

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