Skip to main content
Glama

Check Vat

check_vat
Read-onlyIdempotent

Validate an EU VAT number against VIES. Returns whether the number is a valid/registered EU VAT registration, plus the registered name and address when the member state publishes them (many states return "---" or empty even for valid numbers). A false result means not registered/invalid. If the national service is temporarily down, userError is MS_UNAVAILABLE/MS_MAX_CONCURRENT_REQ etc. treat that as "could not check", not "invalid".

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "vatNumber": "811569869",
      "countryCode": "DE"
    },
    "name": "check_vat"
  }
}

Input Schema

NameRequiredDescriptionDefault
vatNumberYesThe VAT number WITHOUT the country prefix, e.g. "811569869". If you include the prefix (e.g. "DE811569869") it is stripped automatically.
countryCodeYes2-letter EU member-state code = the VAT prefix, e.g. "DE", "FR", "IT". Greece is "EL" (not "GR").

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "countryCode": "DE",
      +    "vatNumber": "811569869"
      +  },
      +  {
      +    "countryCode": "FR",
      +    "vatNumber": "75123456789"
      +  }
      +]
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, the description discloses that name and address are only returned when the member state publishes them and that many states return "---" or empty even for valid numbers. It also explains the partial-failure semantics of national service outages, which annotations cannot convey and which materially changes how the agent should report results.

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?

The core purpose is front-loaded in one clause, followed by return semantics and then error semantics in a logical order with no filler. The final sentence is slightly compressed ("userError is MS_UNAVAILABLE/MS_MAX_CONCURRENT_REQ etc."), but nothing is wasted.

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 must explain return values, and it does: validity boolean, conditional name/address, placeholder values, and error-code meaning. For a two-parameter lookup tool, nothing an agent needs to call and interpret it is missing.

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%, and the schema already covers the prefix-stripping behavior and the EL-vs-GR quirk, so the description adds nothing parameter-specific. Baseline 3 applies when the schema does the heavy lifting.

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 first sentence gives a specific verb and resource ("Validate an EU VAT number against VIES"), naming the authoritative registry. An agent immediately knows this checks VAT registration validity, and no sibling in the catalog performs anything similar, so no disambiguation is needed.

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 tells the agent how to interpret outcomes: a false result means not registered/invalid, while MS_UNAVAILABLE/MS_MAX_CONCURRENT_REQ means "could not check" rather than invalid — a genuinely actionable usage rule that prevents misclassification. It lacks explicit when-to-use framing versus other entity/company tools, but the domain is narrow enough that this is a minor gap.

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.