Skip to main content
Glama

EU VAT number validation

vat
Read-only

EU VAT number validation against the official VIES service: valid or invalid, registered name and address, an optional check of the name you expect and, if you give your own VAT number, a VIES consultation number to keep as audit evidence. Norwegian numbers are checked against the Norwegian VAT register. Use when: onboarding an EU supplier or customer, or before paying an invoice.

Input Schema

NameRequiredDescriptionDefault
vatYesthe VAT number to check, with its country prefix (an EU member state, or NO for Norway), e.g. CZ45274649
expect_nameNothe company name you expect; the answer says whether it matches the registered name (match, partial, mismatch or not_checked)
requester_vatNoyour own EU VAT number: VIES then issues a consultation number, proof of the check to keep as audit evidence (not for Norwegian numbers)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, open-world behavior, lowering the burden. The description still adds real context beyond them: it discloses the returned fields, explains that the consultation number serves as audit evidence, and flags the behavioral exception that Norwegian numbers are checked against the Norwegian VAT register rather than VIES.

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 the core action and the authoritative source, then folds outputs and the Norwegian exception into a single dense sentence before the use-when clause. Well structured, though the enumeration of return fields is slightly list-heavy.

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 carries the return-value burden and does cover the essentials: validity verdict, name and address, name-match result, and consultation number. It does not mention error conditions (invalid format, service unavailable) or rate limits on the external VIES call, which would round it out.

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 all three parameters are already documented in the schema, including the country-prefix format and the not_checked/match/partial/mismatch outcomes. The description restates the optional name check and requester-VAT consultation number but adds no syntax or format detail beyond the schema, so the baseline of 3 applies.

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 (VIES), and enumerates what comes back: valid/invalid status, registered name and address, name-match check, and consultation number. An agent can immediately tell this apart from siblings like company, company-de, sanctions, and verify.

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?

The description gives explicit trigger scenarios: 'Use when: onboarding an EU supplier or customer, or before paying an invoice.' That is clear context for selection, but it names no alternatives or when-not conditions (e.g. non-EU entities, or when full company data is needed versus a pure VAT check).

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