Skip to main content
Glama

validate_vat

Validate a single EU VAT number. Costs 1 credit unless upstream is unavailable and there's no cache (then it's free and honest about it).

Args:
    country_code: 2-letter EU member state code (e.g. DE, FR, EL, XI).
    vat_number: The VAT number without the country prefix.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vat_numberYes
country_codeYes

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden. It discloses the credit cost, the fallback behavior when upstream is unavailable and no cache exists, and notes that the tool is 'honest' about free results. This is rich, non-obvious behavioral context that an agent needs for selection and expectation-setting.

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?

The description is compact and front-loaded. The primary purpose and the most important behavioral detail (cost) appear in the first sentence, followed by clear parameter documentation. Every sentence earns its place with no filler.

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?

For a simple two-parameter validation tool, the description covers purpose, cost, fallback behavior, and both parameters. However, there is no output schema and the description does not state the return format or what a valid versus invalid result looks like. An agent might still need to infer the response shape, so a small completeness gap remains.

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

Parameters5/5

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

The input schema provides zero description coverage, so the description is the only source of parameter meaning. It clearly defines country_code as a 2-letter EU member state code with examples, and vat_number as the VAT number without the country prefix. This fully compensates for the schema's lack of detail.

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 description opens with an explicit action—'Validate'—a specific resource, 'a single EU VAT number', and explicitly contrasts with the batch sibling by stating 'single'. This makes the tool's scope immediately clear and differentiates it from validate_vat_batch without ambiguity.

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 implies the appropriate use case: validating one VAT number at a time. The sibling name validate_vat_batch further reinforces the batch alternative, but the description never explicitly states 'use this for a single number, use validate_vat_batch for multiple'. This is a slight gap, though the intent is strongly implied.

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.

TDQS

A4.5/5.0
Disambiguation5/5

The two tools are clearly distinct: one validates a single VAT number, the other validates up to 50 in a batch. There is no meaningful overlap or ambiguity about when to use each.

Naming Consistency5/5

Both tool names follow the same validate_vat / validate_vat_batch pattern, sharing a clear verb and domain noun. The naming is predictable and consistent.

Tool Count4/5

Two tools is minimal, but the server's scope is narrowly focused on EU VAT validation. A single and a batch variant cover the core need without unnecessary bloat.

Completeness5/5

The domain is VAT number validation, and both individual and batch validation are provided. There are no obvious missing operations for this narrow purpose.

Resources