Skip to main content
Glama
SDMX MCP

SDMX MCP

by unicef-drp

List Hierarchical Codelists

list_hierarchical_codelists

Lists hierarchical codelists for an agency, with optional text filtering, so you can find relevant SDMX code structures before inspecting dimensions or querying data.

Instructions

List hierarchical codelists for an agency, optionally filtered by text.

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": "list_hierarchical_codelists"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
agencyNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about pagination/result limits, whether a missing agency means 'all agencies', or what the text match actually does. With no annotations, this thin a description leaves an agent guessing on operational traits.

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?

A single front-loaded sentence with no filler, and the core purpose leads. Its brevity is efficient, though it tips into under-specification rather than being maximally useful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The presence of an output schema relieves the description of explaining return values, but for a three-parameter discovery tool with zero schema documentation and no annotations, key facts (identifier format for agency, match semantics, default page size) are missing.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must explain all three parameters. It loosely gestures at 'agency' and 'query' but never says whether agency is a code or a name, whether the text filter is a substring/prefix/case-sensitive match, and it omits 'limit' entirely.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('List hierarchical codelists') plus its scope ('for an agency'), so an agent knows precisely what it retrieves. It does not differentiate itself from the sibling describe_hierarchical_codelist, leaving the list-vs-describe choice to inference.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance; the description never indicates that this is the discovery step that precedes describe_hierarchical_codelist or list_codes. Only the phrase 'optionally filtered by text' hints at an invocation pattern.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.