Skip to main content
Glama
SDMX MCP

SDMX MCP

by unicef-drp

Describe Hierarchical Codelist

describe_hierarchical_codelist

Describes an SDMX hierarchical codelist and exposes its immediate roots so users can inspect hierarchy structure before querying data.

Instructions

Describe a hierarchical codelist and expose its immediate roots.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "hierarchyRef": "<hierarchyRef>"
    },
    "name": "describe_hierarchical_codelist"
  }
}

Input Schema

NameRequiredDescriptionDefault
hierarchyRefYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.6/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 disclosure burden. The phrase 'immediate roots' usefully implies the result is depth-limited rather than a full recursive tree, which is genuine behavioral information, but there is nothing about permissions, error behavior, or whether the hierarchy is traversed or merely summarized.

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?

One short sentence with the resource named first and the key output property ('immediate roots') front-loaded. There is no filler or redundancy.

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?

An output schema exists, so return-value details need not be described, but the definition still leaves the only input format undefined and gives no routing guidance among many closely named siblings. For a reference-resolution tool in a dense catalog, this is thinner than an agent needs to invoke it confidently.

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?

The single required parameter hierarchyRef has 0% schema description coverage, and the description says nothing about it — not whether it is an internal ID, a URN, a short code, or a qualified reference. With one undocumented parameter the description needed to compensate, and it does not.

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

Purpose3/5

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

The verb+resource pair ('Describe a hierarchical codelist') is largely a restatement of the tool name and title, but the trailing clause 'and expose its immediate roots' does add real information about what the response contains. It does not distinguish this tool from siblings such as describe_flow or resolve_hierarchy, so an agent must infer the difference.

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 guidance on when to use this versus resolve_hierarchy, list_codes, list_hierarchical_codelists, or expand_dimension_group, and no stated prerequisites. The agent is left to guess from the name alone whether this is a lookup, a traversal, or an expansion tool.

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