Skip to main content
Glama

Muteware finance tools

Check a VAT number in VIES

check_vat_number
Read-onlyIdempotent

Looks up an EU VAT number (and XI numbers of Northern Ireland) in VIES, the VAT Information Exchange System of the European Commission, and returns whether it is registered at this moment, with the name and address when the member state shares them. For a GB number, which is not in VIES, the check digits are tested and registry_checked is false unless the UK register could be asked. The answer is what VIES said at the time of asking; it is not the official consultation number that VIES gives a registered requester. At most 30 checks per ten minutes.

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_number": "<vat_number>"
    },
    "name": "check_vat_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNoTwo letter prefix, only needed when vat_number has none. Greece is EL.
vat_numberYesThe VAT number including its country prefix, for example "NL123456789B01" or "DE 123456789".

Output Schema

NameRequiredDescriptionDefault
nameNo
validNo
numberNo
reasonNo
sourceNo
addressNo
checkedYesfalse when no answer could be had (wrong form, VIES down, too many checks).
countryNo
messageNo
checked_onNo
registry_checkedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations, which already cover read-only and open-world behavior. The description adds the rate limit (30 checks per ten minutes), the point-in-time nature of the answer, the GB fallback with registry_checked=false, and the caveat that the result is not the official VIES consultation number — all material context an agent cannot get from annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Front-loaded with the purpose, then progressively narrower detail (GB edge case, snapshot caveat, rate limit) in four dense but waste-free sentences. Nothing is repeated from annotations or the schema.

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?

An output schema exists, yet the description still tells the agent what to expect (status, name, address, registry_checked flag) and, critically, supplies the rate limit and freshness caveats an agent needs to interpret and pace calls. No gaps remain for a two-parameter lookup tool.

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 the baseline is 3, but the description adds real meaning beyond the schema by explaining what a GB prefix triggers and that XI (Northern Ireland) numbers are accepted. The Greece=EL and prefix-optional rules remain solely in the schema.

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 (looks up) and resource (EU VAT number / XI numbers) against a named external system (VIES), plus what it returns (registration status, name, address when shared). This is clearly distinguishable from siblings like check_spanish_nif or calculate_vat without opening any 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?

Scope of applicability is stated precisely: EU VAT numbers and Northern Ireland XI numbers go to VIES, while GB numbers take a check-digit fallback path. That effectively tells the agent when the tool applies, though it never names an alternative tool (e.g. check_spanish_nif) or states an explicit exclusion.

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