Skip to main content
Glama

Duo Data Utilities

National identity- and company-number validation, 23 countries

id_national
Read-onlyIdempotent

Validate 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, no personal data stored. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYesIdentifier type for that country, e.g. bsn, nif, cf, cpf. Accepted: an identifier kind supported for the country.
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. Accepted: one of the 23 supported ISO 3166-1 alpha-2 codes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, closed-world behavior, yet the description adds substantial extra context: it performs no registry lookup, stores no personal data, costs $0.05 per successful call, and is paid over x402 (USDC on Base). These are meaningful operational facts not derivable from the annotations or schema.

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?

Three tightly packed sentences with no filler: purpose first, coverage list second, scope/limitations and pricing last. Every sentence carries information an agent needs.

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 three-parameter validation tool with full schema coverage and clear annotations, the description supplies the remaining essentials: covered countries, identifier types, the structural-only limitation, and the payment model. No output schema exists, but a boolean-style validation result is self-evident from 'validate ... against checksum rule'.

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

Parameters4/5

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

Schema coverage is already 100%, so the baseline is 3, but the description adds genuine value for the 'kind' parameter by enumerating which identifier types each country supports (BSN, NIF/NIE/CIF, codice fiscale, SIREN/SIRET, etc.). This helps the agent map country to a valid kind beyond the schema's generic hint.

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 (validate) and resource (national identity, tax or company registration number) and scopes it to a country's official checksum rule. The enumeration of 23 countries and example identifier types clearly distinguishes it from sibling validators like id_gs1 and id_security.

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 clarifies context with 'Structure and check digit only — no registry lookup,' which implicitly tells the agent when this tool is appropriate and when it is not. It does not name a specific alternative tool for registry lookups, so it stops short of explicit routing.

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