Skip to main content
Glama

Duo Data Utilities

NUTS statistical region code lookup for the EU

ref_nuts
Read-onlyIdempotent

Look up a NUTS statistical region of the European Union: 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).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNoNUTS code, 2-5 characters, case-insensitive (level-3 codes may contain letters, e.g. NL32B). 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. First observed

TDQS

A4.3/5.0
Behavior4/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 goes beyond structured data by disclosing the cost model ($0.05 per successful call over x402/USDC on Base), the exact classification edition (NUTS 2024), and the returned fields including typologies — 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action, then capability scope, then returns, then pricing — a sensible order. Three dense sentences with little waste, though the mid-sentence enumeration of capabilities is somewhat packed.

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 correctly summarizes what comes back (Latin-script and local names, country, level, typologies) and adds cost and coverage details. Only minor gaps remain, e.g. behavior on no-match or how many regions exist per level.

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 100%, so the baseline is 3, but the description adds real meaning: it maps level numbers to their human labels (country, major region, basic region, small region) and names the hierarchy directions (parents/children) that the 'include' parameter controls, which the schema only lists as bare tokens.

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+resource ('Look up a NUTS statistical region of the European Union') and enumerates the three operating modes: resolve a code, walk up/down the hierarchy, or search by name. This clearly distinguishes it from siblings like ref_country, ref_airport and ref_currency.

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 makes the mode selection clear (code lookup vs. hierarchy walk vs. name search) and states the coverage scope, giving the agent enough context to pick it over siblings. It does not, however, state any when-not conditions or name alternative tools for overlapping needs.

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