Skip to main content
Glama
SDMX MCP

SDMX MCP

by unicef-drp

Expand Dimension Group

expand_dimension_group

Expands a dimension code through the matching agency hierarchy, resolving grouped codes and returning related hierarchy members for SDMX queries.

Instructions

Expand a dimension code through the best matching agency hierarchy.

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": {
      "flowRef": "<flowRef>",
      "dimension": "<dimension>",
      "code": "<code>"
    },
    "name": "expand_dimension_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes
flowRefYes
dimensionYes

Output Schema

NameRequiredDescriptionDefault

No arguments

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 provided, so the description carries the full burden of behavioral disclosure. It hints at a "best matching" selection process but does not define matching criteria, fallback behavior, error cases, or whether this is a safe read operation.

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?

The description is a single front-loaded sentence with no filler or repetition. It is efficiently structured, though it is arguably too sparse given the tool's three required parameters and lack of annotations.

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?

With no annotations, 0% parameter documentation, and only a one-sentence description, the definition is incomplete for a tool that needs flowRef, dimension, and code to resolve a hierarchy. The output schema helps with return-value expectations, but the input and behavior context remain insufficient.

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% for all three required parameters. The description only indirectly references "dimension" and "code" and never explains flowRef or the relationship among the three inputs, so it does not compensate for the undocumented schema.

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, "expand," and resource, a "dimension code," through an agency hierarchy. It is clear enough to separate this from generic listing tools, but it does not explain what the expansion produces or how it differs from resolve_hierarchy or expand_ref_area_group.

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 explicit guidance on when to use this tool rather than alternatives such as resolve_hierarchy or expand_ref_area_group. The description gives only a capability statement, with no prerequisites, exclusions, or decision criteria.

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