Skip to main content
Glama

check_vat

Check an EU VAT number against the official VIES register. Returns valid (bool), the registered name and address, the VIES request identifier, source and checked_at. Mirrors the paid HTTP endpoint POST /api/check/vat.

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": {
      "country_code": "<country_code>",
      "vat_number": "<vat_number>"
    },
    "name": "check_vat"
  }
}

Input Schema

NameRequiredDescriptionDefault
vat_numberYes
country_codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It discloses the return shape (valid bool, name, address, request id, source, checked_at) and that it queries an external register, which is genuinely useful. However, it says nothing about rate limits, error behavior for malformed numbers or register outages, auth requirements, or billing — significant gaps for an external-API-backed tool.

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?

Two sentences, front-loaded with the core action and followed by the return contract. No filler, no restatement of the tool name.

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 valuably enumerates the return fields an agent can rely on, which is the main completeness win. The remaining gap is parameter format guidance, which is only partially excusable given the low schema coverage, but for a two-field tool the description is otherwise sufficient to invoke it.

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

Parameters2/5

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

Schema description coverage is 0% for two required parameters, and the description does not compensate at all — it never explains the expected format of country_code (ISO 3166-1 alpha-2?) or vat_number (with/without country prefix). Both parameters are effectively undocumented for the agent.

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 official VIES register') and names the external authority consulted. This clearly distinguishes it from siblings like check_sanctions and check_counterparty, which validate different entity types against different registers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The purpose implies the usage context (validating an EU VAT number), but the description never states when to pick this over check_counterparty or check_sanctions, nor any prerequisites. The note that it 'mirrors the paid HTTP endpoint POST /api/check/vat' hints at a cost/alternative relationship with list_paid_services, but doesn't make the routing explicit.

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