Skip to main content
Glama

Duo Data Utilities: IBAN, VAT, ISIN Validation API

NUTS region lookup: EU statistical region codes, names and hierarchy

nuts_region_lookup
Read-onlyIdempotent

NUTS region lookup (EU statistical regions): resolve a NUTS code to its name, country and level, walk up to its parents or down to its children, or search regions by name. Covers all four levels (country, major region, basic region, small region) for the 27 member states and 12 further reporting countries, from the NUTS 2024 classification. Returns the Latin-script and local-language names plus the urbanisation, coastal and mountain typologies. Price: $0.05 per successful call, paid over x402 (USDC on Base).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "nuts_region_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNoNUTS code, 2-5 characters, case-insensitive (level-3 codes may contain letters, e.g. NL32B). A GR or GB prefix is accepted for EL or UK. Accepted: 2 to 5 characters matching ^[A-Z]{2}[0-9A-Z]{0,3}$.
nameNoSubstring search on region names, case- and accent-insensitive. Up to 25 matches. Accepted: at most 128 characters.
levelNoRestrict a name search to one level, 0-3. Accepted: integer 0-3.
countryNoISO 3166-1 alpha-2 country filter (UK/GB and EL/GR both accepted). Accepted: an ISO 3166-1 alpha-2 code.
includeNoComma-separated: parents, children, typology. Default parents,typology. Accepted: comma-separated subset of parents, children, typology.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / level / anyOf
      Added value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": -9007199254740991,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / level / type
      Removed value: -"string"
  2. 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 safety is covered. The description adds genuine non-schema behavior: pricing at $0.05 per successful call via x402 (USDC on Base), a full-coverage claim over member and reporting countries, and the extra typology fields returned. It does not describe pagination or error behavior for unmatched codes.

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 sentences, front-loaded with the operation and scope, followed by coverage and pricing. Density is high but every clause carries information; the pricing sentence could arguably be split out for readability.

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 does helpfully state what comes back (Latin-script and local names plus urbanisation, coastal and mountain typologies). For a five-optional-parameter tool it is largely complete, though it never says what happens when both code and name are supplied.

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%, so all five parameters are already documented with formats and defaults. The description adds modest interpretation by naming the four level values (country, major region, basic region, small region), but adds no syntax detail for code or name beyond the schema.

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 set and resource: resolve a NUTS code to name/country/level, walk parents or children, or search by name. The scope (four levels, 27 member states plus 12 reporting countries, NUTS 2024) makes it unmistakable versus generic lookup siblings.

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 implicitly maps three usage modes (code resolution, hierarchy traversal, name search) and notes the default of parents,typology. It does not state when to prefer a sibling such as country_lookup, nor whether code and name may be combined, 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.