Skip to main content
Glama
Veriline API MCP Server

Veriline API MCP Server

Official
by verilineapi

Validate VAT or tax ID

validate_vat
Read-onlyIdempotent

Validate a VAT or national tax ID: EU numbers get a live VIES check, while other countries are checked offline by format and checksum.

Instructions

Validate a VAT or national tax ID. EU numbers get a live VIES check; other countries are format and checksum validated offline (GB, AU, US EIN, and more).

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": "<vat>"
    },
    "name": "validate_vat"
  }
}

Input Schema

NameRequiredDescriptionDefault
vatYesVAT / tax ID, with or without country prefix. Spaces, dots and dashes are ignored.
liveNoIf false, skip the live EU VIES call. Defaults to true.
strictNoIf true, return an error when VIES cannot give a definitive answer instead of verdict=format_valid_unverified.
countryNoISO 3166-1 alpha-2 country code. Required when the number has no VAT prefix (e.g. AU ABN, US EIN).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the readOnly/openWorld/idempotent annotations, the description discloses that EU numbers trigger a live external VIES call while other jurisdictions are validated offline, and it names the covered countries. It does not describe failure modes or what a result looks like, but the network-vs-offline split is genuinely useful behavioral context.

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 tightly written sentences, front-loaded with the core action and followed by the behavioral detail. Nothing is redundant or wasted.

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 validation tool with full schema coverage and safety annotations, the description covers the essential behavior. The one gap is that with no output schema, it does not indicate what is returned (a verdict/validity result), though the schema's strict parameter hints at 'verdict=format_valid_unverified'.

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 coverage is 100% and the schema already documents vat, live, strict, and country thoroughly. The description reinforces the live-vs-offline distinction that motivates the 'live' flag, but adds no syntax, format, or edge-case meaning beyond the schema itself, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Validate a VAT or national tax ID'), which is clearly distinct from the sibling validate_iban or the LEI/NPI lookups. It does not explicitly name or contrast against any sibling tool, so it falls just short of the top mark.

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 description explains the internal routing (EU => live VIES, others => offline format/checksum) but gives no explicit when-to-use vs alternatives or when-not guidance. An agent can infer it is the right tool for tax-ID validation, but the choice against siblings is left implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.