Skip to main content
Glama

vat_check

Idempotent

Check an EU VAT number (USt-IdNr.) with the European Commission's VIES service: valid or not, plus company name and address where the member state publishes them. For B2B invoicing and supplier checks. Returns: JSON with simulated, vat_number, country_code, valid, name, address, checked_at, source, note. PAID: 0.005 USDC per call (USDC on eip155:8453, x402 v2). Requires an x402-capable MCP client that attaches the payment in _meta["x402/payment"] (e.g. createx402MCPClient from @x402/mcp). Without a payment this tool returns a "payment required" result and charges nothing. NOTE: Name and address come from national tax registers and may be personal data of sole traders: use them only for the business check. Not a qualified confirmation. Sandbox results are simulated.

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": "vat_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
vat_numberYesEU VAT identification number with country prefix, e.g. DE314196886 or ATU12345678. Spaces and dots are ignored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes far beyond the annotations: discloses the exact price (0.005 USDC on eip155:8453, x402 v2), the required client capability and _meta["x402/payment"] mechanism, and that an unpaid call returns 'payment required' and charges nothing. It also flags the personal-data handling constraint for sole traders, that results are not a qualified confirmation, and that sandbox results are simulated.

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 and the return fields lead, followed by payment mechanics and then legal caveats — a sensible front-loaded ordering. It is dense and each block carries real information, though the payment path and caveat sentences could be tightened slightly.

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?

For a single-parameter, no-output-schema tool, the description covers everything an agent needs: what is returned (enumerated JSON fields), cost and payment flow, failure behavior when unpaid, and data-use caveats. Nothing material 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?

There is only one parameter and schema coverage is 100%, and the schema itself supplies format examples and whitespace handling. The description adds only the German synonym (USt-IdNr.) and no further syntax or country-prefix rules, so baseline 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 and resource — check an EU VAT number against the European Commission's VIES service — and specifies the output domain (validity plus company name/address). It is clearly distinguishable from siblings like dns_check or local_market_check.

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 clear usage context ('For B2B invoicing and supplier checks') and implicitly scopes the tool to EU VAT verification rather than general business data. It does not name an alternative sibling or state when not to use it, so it stops short of full when/when-not guidance.

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