Skip to main content
Glama

Duo Data Utilities: IBAN, VAT, ISIN Validation API

VAT number format and checksum (no VIES lookup), tax ID and national ID validator: 23 countries

vat_tax_id_validate
Read-onlyIdempotent

VAT, tax ID and national ID validator: check a national identity, tax or company registration number against its country's official checksum rule. Covers 23 countries including NL BSN, ES NIF/NIE/CIF, IT codice fiscale, FR SIREN/SIRET, DE Steuer-ID, BE/PL/CZ national numbers, SE/NO/DK/FI personal numbers, BR CPF/CNPJ, AU ABN/TFN, UK NINo, IE PPS, US NPI/EIN. Structure and check digit only, no registry lookup; the number is never stored (logs keep only its length and character types). Price: $0.05 per successful call, paid over x402 (USDC on Base).

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": "<country>",
      "kind": "<kind>",
      "value": "<value>"
    },
    "name": "vat_tax_id_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesIdentifier type for that country, e.g. bsn, nif, cf, cpf; vat picks the country's VAT number (NL btw, BE vat, DE ustid, FR tva, IT piva, PL nip, AT uid, CH uid, IE vat). Accepted: an identifier kind supported for the country, or vat.
valueYesThe identifier. Separators (space . - /) are stripped before checking. Accepted: at most 64 characters.
countryYesISO 3166-1 alpha-2 country code, case-insensitive. One of the 23 supported countries; the United Kingdom is accepted as UK or GB (the response echoes what you sent). Accepted: one of the 23 supported ISO 3166-1 alpha-2 codes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changed
    • changedInput schema / properties / kind / description
      Previous value: -"Identifier type for that country, e.g. bsn, nif, cf, cpf. Accepted: an identifier kind supported for the country."New value: +"Identifier type for that country, e.g. bsn, nif, cf, cpf; vat picks the country's VAT number (NL btw, BE vat, DE ustid, FR tva, IT piva, PL nip, AT uid, CH uid, IE vat). Accepted: an identifier kind supported for the country, or vat."
  3. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent and closed-world, so the safety profile is covered; the description adds genuinely non-derivable facts: no registry lookup, numbers never stored (logs keep only length and character types), and a $0.05 per successful call price paid over x402/USDC on Base. That billing and privacy disclosure is valuable context beyond the annotations, though it says nothing about the shape of a result (valid flag, normalized form, error reasons) or failure behavior for unsupported kinds.

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?

Two dense sentences, front-loaded with purpose, then the semantic caveat, then privacy and pricing. The long country enumeration is bulky but does real work by telling the agent coverage; the cost and payment sentence is unusual but material for an agent that must decide whether to call.

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 should ideally say what comes back (a validity verdict, mismatch reason, normalized form). It omits that, but otherwise covers scope, boundaries, privacy and cost well enough to call correctly for a read-only checksum validator.

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%: kind, value and country are each fully documented including separator stripping, the 64-character cap, ISO code handling and the 'vat' pseudo-kind. The description adds no parameter-level meaning beyond listing country examples, so the baseline of 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?

Opens with a specific verb+resource: validate a national identity, tax or company registration number against a country's official checksum rule. The enumerated coverage (NL BSN, ES NIF/NIE/CIF, IT codice fiscale, ...) and the 'no registry lookup' qualifier make it immediately distinguishable from siblings like iban_validate or gtin_barcode_validate.

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?

States the decisive usage boundary: 'Structure and check digit only, no registry lookup', which tells the agent to pick this only for offline format validation rather than authoritative registry verification. It never explicitly names an alternative or says 'if you need registry confirmation, look elsewhere', so the exclusion is implied rather than routed.

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.