Skip to main content
Glama

EU VAT number validation against VIES

eu_vat_check
Read-onlyIdempotent

Validate an intra-community VAT ID against VIES to confirm it is active for EU cross-border operations, returning the company name and address when the country publishes them.

Instructions

EU VAT number validation against VIES (European Commission): checks if an intra-community VAT ID is active, with company name and address when the country publishes them.

ES: Comprueba en VIES (Comisión Europea) si un NIF-IVA intracomunitario está activo para operaciones entre países de la UE. Devuelve nombre y dirección cuando el país los publica.

Free tool (no API key, no payment). Official Spanish/EU open data.

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": {
      "nif": "<nif>"
    },
    "name": "eu_vat_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
nifYesNIF-IVA con prefijo de país, p. ej. ESA28015865 o DE123456789

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the bar is low. The description still adds useful context: no API key or payment required, official European Commission source, and notably that company name/address are returned only when the country publishes them — a real partial-result caveat.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The English text is front-loaded and tight, but the full message is then repeated verbatim in Spanish, roughly doubling length without adding new information for an agent. The bilingual duplication is the only real waste; the trailing 'Free tool / Official Spanish-EU open data' line is short and reinforces the sourcing claim.

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 single-parameter read tool with rich annotations and no output schema, the definition covers source, cost, and what the response contains (activity status plus name/address when published). Only the when-to-use-vs-sibling decision is left thin.

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 description coverage is 100% and the single parameter already documents the country-prefixed format with two examples (ESA28015865, DE123456789). The description adds no format or encoding detail beyond that, so the baseline 3 applies.

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?

States a specific verb and resource: checks whether an intra-community VAT ID is active via VIES (European Commission). The 'intra-community' scoping implicitly separates it from the Spanish domestic sibling spain_validate_tax_id, though it never names that contrast explicitly.

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?

Usage context is implied ('para operaciones entre países de la UE') rather than stated as an instruction, and there are no exclusions or pointers to alternatives such as spain_validate_tax_id or iban_validate. An agent can infer when to call it, but nothing resolves ambiguity when scope overlaps with domestic tax-ID validation.

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