Skip to main content
Glama

Crypto & Web Data API for Agents

EU VAT number validation via VIES

registry_vat
Read-only

EU VAT number validation via VIES. Checks whether an EU VAT number is valid and returns the registered name and address. Use the two-letter EU country code (e.g. IE) and the VAT number without the country prefix. An invalid number returns valid: false; if the member state's service is down, the call fails with 502. Price $0.020 per call (x402: USDC on Base or Solana).

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": {
      "country": "<country>",
      "number": "<number>"
    },
    "name": "registry_vat"
  }
}

Input Schema

NameRequiredDescriptionDefault
txNoAlternative to the X-Payment-Tx header
numberYesVAT number without the country code
countryYesTwo-letter EU country code (Greece is EL, Northern Ireland is XI)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnly and openWorld annotations, it discloses the success payload (name and address), the invalid-number behavior (valid: false), the failure mode when a member-state service is down (HTTP 502), and — critically — that the call costs $0.020 via x402 in USDC on Base or Solana. That payment requirement is not derivable from the annotations or schema and is exactly the kind of context 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.

Conciseness4/5

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

Sentences are front-loaded and each carries information: purpose, input format, return behavior, error behavior, price. Only the opening clause mildly echoes the title, but it is short enough not to waste space.

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 describing both the success and invalid-number return shapes, plus the 502 error path. Combined with the pricing note, an agent has everything needed to decide whether and how to call it.

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%, so the schema already documents country format, number pattern, and the tx alternative. The description's guidance ('two-letter country code', 'without the country prefix') restates rather than extends the schema, so it lands at the baseline.

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 names a specific verb and resource ('EU VAT number validation via VIES') and immediately states the outcome returned (validity plus registered name and address). It is clearly distinguishable from the sibling registry_* tools, which cover IBAN, ISIN, LEI and other identifiers rather than VAT numbers.

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 a clear usage context for validation and even tells the agent how to format inputs for a successful call. What it lacks is explicit routing — it never names an alternative for non-EU VAT checks or for retrieving company data by other identifiers, so the agent must infer that from sibling names alone.

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