Skip to main content
Glama

dato402 – Spain & EU data

EU VAT number validation against VIES

eu_vat_check
Read-onlyIdempotent

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.

Source of truth: official Spanish/EU open data. Free via MCP up to 20 calls/day; unlimited via the x402 pay-per-call endpoint https://dato402.com/api/eu/vies ($0.003 USDC).

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 observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and open-world behavior, and the description adds real context beyond them: results are partial depending on whether the country publishes name and address, and there is a 20 calls/day free ceiling with a paid x402 fallback at $0.003 per call. It doesn't describe behavior on invalid or non-existent numbers, which is the main remaining gap.

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 purpose statement is front-loaded and clear, but the entire description is then duplicated in Spanish, which adds no information for an agent and doubles length. The pricing and endpoint detail, while operationally useful, is marketing-flavored and could be compressed to a rate-limit sentence.

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?

With no output schema, the description does take on part of the return-value burden by naming what comes back (active status, name, address, country-dependent). Free-tier limits and the paid fallback are disclosed. An error/invalid-format case description is the only notable omission for a one-parameter read-only check.

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?

Only one parameter exists and schema coverage is 100%, with the schema itself supplying the required prefix format and examples (ESA28015865, DE123456789). The description adds no syntax or format guidance beyond restating that the identifier must be intra-community, so this is the baseline for a well-documented single parameter.

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 ('validates an intra-community VAT ID against VIES') and clarifies the data returned (active status plus company name and address when published). It does not distinguish itself from the sibling spain_validate_tax_id, so an agent has to infer which to use for a Spanish NIF versus an EU VAT ID.

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 is implied by 'intra-community VAT ID ... for operations between EU countries', which scopes the input domain. There is no explicit when-to-use/when-not statement and no reference to an alternative tool, so routing against spain_validate_tax_id or iban_validate is left to inference.

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