Skip to main content
Glama

VAT Validate

vat_validate
Read-onlyIdempotent

Validate an EU VAT number against the European Commission's official VIES service: checks the country-specific format first, then asks VIES whether the number is active for intra-EU trade and returns the registered business name and address when the member state shares them. Covers all EU states plus XI (Northern Ireland); Greece accepts GR or EL. If VIES or the member state's service is down, the call errors (API-key credits are refunded) instead of guessing.

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": {
      "vatNumber": "<vatNumber>"
    },
    "name": "vat_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
vatNumberYesVAT number, ideally with its country prefix, e.g. IE6388047V or DE 123456789
countryCodeNo2-letter EU country code if vatNumber has no prefix, e.g. DE

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, yet the description adds real behavioral context beyond them: a two-stage check, conditional return of business name and address depending on the member state, and deterministic erroring with credit refund when VIES is down. That is exactly the kind of operational detail an agent needs before calling.

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?

Two sentences, front-loaded with the verb and resource, then coverage and failure semantics. Every clause carries information an agent cannot get from the schema or annotations; nothing is redundant.

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?

No output schema exists, and the description compensates by saying what is returned (registered name and address, when shared) and what a failure looks like. For a two-parameter read-only validator this leaves nothing an agent needs missing.

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

Parameters4/5

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

With 100% schema coverage the baseline is 3, but the description earns a point by documenting the prefix rule and the GR/EL equivalence, which affects how vatNumber and countryCode should be supplied. It stops short of describing the countryCode fallback path in detail, so not a 5.

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 and resource ('Validate an EU VAT number') plus the authoritative mechanism (European Commission VIES service), and defines scope precisely: all EU states plus XI, with the GR/EL nuance. An agent can distinguish this from email_address_validate or domain_availability_check without opening the schema.

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?

Scope is explicit enough to act as usage guidance: EU states plus XI only, format check first, then VIES liveness. It also tells the agent what happens in the failure case (errors rather than guessing). It does not name an alternative tool or state explicit exclusions for non-EU numbers, which keeps it short of a 5.

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.