Skip to main content
Glama

EU e-invoicing and business checks (EN 16931, Peppol, VAT, sanctions)

Verify EU VAT number (VIES)

verify_vat
Read-onlyIdempotent

Validate an EU VAT number against the official European Commission VIES service (27 EU states + XI Northern Ireland). Use when asked whether a VAT ID is valid/active, before zero-rated reverse-charge B2B invoices, or to get a company's registered name/address from its VAT number. Input: VAT with country prefix, e.g. 'IE6388047V', 'DE811193231' (spaces/dots ok). Returns status: valid | invalid | invalid_format | member_state_unavailable (VIES/member state down - retry later, valid=null) | error, plus name, address (if the member state discloses them; DE/ES often don't) and consultation_number (audit proof) when requester is set. UK (GB) VAT checks are coming soon: until HMRC live access is granted, GB numbers return status member_state_unavailable, valid=null, error HMRC_LIVE_ACCESS_PENDING (not charged). For >1 number use verify_batch.

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": "<vat>"
    },
    "name": "verify_vat"
  }
}

Input Schema

NameRequiredDescriptionDefault
vatYesVAT number with country prefix, e.g. 'IE6388047V' or 'DE811193231'; spaces and dots are ignored.
requesterNoOptional: your own EU VAT number, so VIES returns a consultation number as audit proof.HU33119856

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / requester / description
      Added value: +"Optional: your own EU VAT number, so VIES returns a consultation number as audit proof."
    • addedInput schema / properties / vat / description
      Added value: +"VAT number with country prefix, e.g. 'IE6388047V' or 'DE811193231'; spaces and dots are ignored."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the readOnly/idempotent annotations: it enumerates every possible status value with its meaning, warns that member_state_unavailable requires a retry and yields valid=null, notes that name/address may be withheld by some states (DE/ES), and explains that consultation_number only appears when requester is set. It does not state rate limits or call quota, so a 4 rather than a 5.

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?

Front-loads purpose, then input format, then return values, which matches the order an agent needs them. It is dense but not padded; the only verbose stretch is the GB/HMRC pending paragraph, which is justified because it prevents misreading a valid number as invalid.

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, so the description carries the return-value burden and does so fully: status enumeration, optional fields, and their conditional presence are all covered. Combined with the annotation safety profile, an agent has everything needed to call and interpret this tool.

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% and the schema already documents the country-prefix format, the spaces/dots tolerance, and requester's audit-proof purpose, so the description largely restates the schema rather than adding new meaning. The one useful addition is the concrete placement of the requester parameter in the consultation_number workflow.

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 (validate) and resource (EU VAT number) against a named authority (European Commission VIES), and explicitly scopes coverage to 27 EU states plus XI Northern Ireland. It also distinguishes itself from the sibling batch tool by naming verify_batch for multi-number checks.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives three concrete when-to-use triggers: answering validity questions, pre-invoice zero-rated reverse-charge B2B checks, and retrieving a registered name/address. It also routes to verify_batch for more than one number and pre-empts a false-negative interpretation by explaining that GB numbers return a specific pending status.

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.