Skip to main content
Glama

validate_eu_vat

Validate an EU VAT number against VIES, the European Commission's official VAT registry. Returns whether the number is registered and, where the member state discloses it, the trader's registered name and address. Use for B2B onboarding, reverse-charge invoicing checks, and KYC. Costs 3 credit(s) per call.

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": {
      "vat_number": "<vat_number>"
    },
    "name": "validate_eu_vat"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNoOptional member-state code, if the number is supplied without its prefix.
vat_numberYesFull VAT number including the two-letter member-state prefix, e.g. 'IE6388047V' or 'DE811907980'. Greece files as EL, not GR. Northern Ireland is XI.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and delivers meaningful behavior: it states the upstream registry, that the result includes registration status plus registered name/address only where the member state discloses it, and that each call costs 3 credits. It omits failure behavior for malformed numbers or VIES outages.

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?

Four tight sentences ordered from what it does, to what it returns, to when to use it, to cost. Every sentence carries distinct information; the parenthetical about the European Commission's registry earns its place by establishing authority.

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?

No output schema exists, so describing the return shape is essential and the description does it, along with per-call cost. It could go further on error cases (invalid format, member state non-disclosure, registry downtime) given this is a paid external validation call.

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?

Schema coverage is 100%, so the country enum and the vat_number prefix rules (EL for Greece, XI for Northern Ireland) are already documented in the schema. The description adds no parameter-level detail beyond that, which matches the baseline for fully documented schemas.

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?

Specific verb+resource ("Validate an EU VAT number") plus the authoritative source (VIES, the European Commission's official registry). This clearly separates it from lookups like lei_lookup or whois_lookup, which check different identifiers.

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?

Gives concrete when-to-use contexts: B2B onboarding, reverse-charge invoicing checks, and KYC. It stops short of naming an alternative or stating when not to use it, so it is clear context without 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.

Resources