Skip to main content
Glama

Agent Data Tools: Company, compliance and checks

VAT number validation, EU VIES

vat_validate
Read-only

Check an EU VAT number against the European Commission's VIES service: valid or not, with the registered name and address where the member state shares them. Any spacing (SE556703748501, DE 123 456 789; EL or GR for Greece, XI for Northern Ireland). Or verify a business by name: found or not in the French, Swedish, Norwegian and Finnish registers. Use to check a B2B customer before invoicing without VAT, or to confirm a supplier. Example: vat=SE556703748501. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "vat_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
vatNoVAT number with its 2-letter EU country prefix (give vat or name)
nameNoCompany name to verify instead of a VAT number: found or not in the FR, SE, NO and FI company registers
countryNoWith name: search only this register (FR, SE, NO or FI, or the country's name)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / country
      Added value: +{
      +  "description": "With name: search only this register (FR, SE, NO or FI, or the country's name)",
      +  "type": "string"
      +}
    • addedInput schema / properties / name
      Added value: +{
      +  "description": "Company name to verify instead of a VAT number: found or not in the FR, SE, NO and FI company registers",
      +  "type": "string"
      +}
    • changedInput schema / properties / vat / description
      Previous value: -"VAT number with its 2-letter EU country prefix"New value: +"VAT number with its 2-letter EU country prefix (give vat or name)"
    • removedInput schema / required
      Removed value: -[
      -  "vat"
      -]
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing cost and billing behavior ($0.01/call via x402 USDC or card key, first 10 free, failed calls free, repeats are not free) plus the partial-coverage caveat that name and address come back only 'where the member state shares them'. The 'reads or computes only and changes nothing' line is consistent with readOnlyHint=true and destructiveHint=false, and the paid-per-call note is consistent with idempotentHint=false.

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-loaded with the core action, then formatting rules, registers, use cases, and pricing — logical ordering with no filler sentences. It is dense to the point of being packed into few lines, and the example plus the billing clause could be split for scannability, but nothing is redundant.

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?

With no output schema, the description still states what comes back (valid/not valid plus registered name and address when shared; found/not found for name searches) and warns about partial member-state coverage. Despite zero required parameters, it implies at least one of vat or name must be supplied, matching the schema, so an agent has enough to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds real meaning: formatting tolerance ('Any spacing'), accepted country codes including EL/GR for Greece and XI for Northern Ireland, and a worked example (vat=SE556703748501). It does not clarify the interaction between vat and name or the role of country when both are given, which the schema only lightly covers.

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?

Opens with a specific verb and resource ('Check an EU VAT number against the European Commission's VIES service') and adds a second, clearly delimited capability (business-name verification in FR/SE/NO/FI registers). This is distinguishable at a glance from sibling validators such as bic_validate, validate_iban and einvoice_validate, without opening the schema.

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?

Gives concrete decision contexts: checking a B2B customer before invoicing without VAT, or confirming a supplier. It does not name an alternative tool or state when-not to use it (e.g. non-EU VAT numbers, or when a full KYB check is needed instead of a single number check), so routing guidance is clear but not exclusionary.

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