Skip to main content
Glama

Browse a dimension's available codes

browse_dimension_codes
Read-onlyIdempotent

Browse the full available code list of ONE dimension, one level or page at a time.

Use this when inspect shows a dimension with more codes than it can display (large geographies, detailed product/COICOP classifications). Hierarchical codelists are surfaced one level at a time — top-level codes first, then drill into a code's narrower members with expand. Flat codelists are paginated with offset.

Common workflow: discover -> inspect -> browse_dimension_codes -> build_url

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
debugNoAppend a per-stage telemetry breakdown (only populated when GSDMX2_MCP_TELEMETRY is enabled).
expandNoOptional code id — list that code's direct narrower members instead of the top level
offsetNoPagination offset within the current level (default 0)
agency_idYesSDMX agency code, e.g. "ABS", "ESTAT", "OECD"
dataflow_idYesSDMX dataflow identifier, e.g. "ERP_Q"
dimension_idYesDimension to browse, e.g. "REF_AREA" (from inspect)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / agency_id / description
      Added value: +"SDMX agency code, e.g. \"ABS\", \"ESTAT\", \"OECD\""
    • addedInput schema / properties / dataflow_id / description
      Added value: +"SDMX dataflow identifier, e.g. \"ERP_Q\""
    • addedInput schema / properties / debug / description
      Added value: +"Append a per-stage telemetry breakdown (only populated when\nGSDMX2_MCP_TELEMETRY is enabled)."
    • addedInput schema / properties / dimension_id / description
      Added value: +"Dimension to browse, e.g. \"REF_AREA\" (from inspect)"
    • addedInput schema / properties / expand / description
      Added value: +"Optional code id — list that code's direct narrower members\ninstead of the top level"
    • addedInput schema / properties / offset / description
      Added value: +"Pagination offset within the current level (default 0)"
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld, so safety is covered. The description adds genuinely new behavior: hierarchical codelists are surfaced one level at a time and drilled into with 'expand', while flat codelists are paginated with 'offset'. That is real operational context, though it stops short of noting rate limits or empty-result behavior.

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?

Front-loads the core action in the first sentence, then the trigger, then the mechanics, then the workflow. Every sentence carries distinct information with no redundancy.

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?

With an output schema present, return values need not be explained; the description covers when to call, how levels/pagination work, and chaining to build_url. Nothing an agent needs to invoke it correctly is missing.

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 'expand' and 'offset' are already documented in the schema. The description still adds value by explaining the hierarchical-vs-flat model that determines which of those two parameters is relevant, going beyond the per-parameter schema text.

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 (browse the available code list) and scopes it precisely to ONE dimension, one level or page at a time. This distinguishes it from the broader 'inspect' sibling that only shows whether a list is truncated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger condition ('when inspect shows a dimension with more codes than it can display') with concrete examples of large codelists. It also names the surrounding workflow (discover -> inspect -> browse_dimension_codes -> build_url), so the agent knows where this fits relative to siblings.

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