Skip to main content
Glama
SDMX MCP

SDMX MCP

by unicef-drp

Resolve Dimension Fallback

resolve_dimension_fallback

Validate an aggregate dimension code and, if unresolved, generate a hierarchy-based retry plan to guide fallback queries.

Instructions

Validate an aggregate dimension code and, when unresolved, return a hierarchy-based retry plan.

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

Input Schema

NameRequiredDescriptionDefault
codeYes
labelsNo
filtersNo
flowRefYes
dimensionYes
endPeriodNo
startPeriodNo
lastNObservationsNo

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 behavioral burden. It discloses the conditional retry-plan behavior, but says nothing about whether the operation is read-only, whether it performs network or hierarchy lookups, what permissions are required, or what the retry plan contains.

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 definition is a single front-loaded sentence with no wasted words. It is efficiently structured, though its brevity contributes to the under-specification noted elsewhere.

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 tool has eight parameters, no annotations, and 0% schema description coverage, so the description needs to compensate substantially. It does not: an output schema covers return values, but input semantics and operational context remain largely unexplained.

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% across eight parameters. The description vaguely connects to the dimension and code inputs, but it does not explain flowRef, labels, filters, startPeriod, endPeriod, or lastNObservations, leaving most parameters undocumented in both the schema and the description.

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: validate an aggregate dimension code, and adds the conditional outcome of returning a hierarchy-based retry plan. It is clear what the tool does, but it does not differentiate itself from related siblings such as resolve_ref_area_fallback or resolve_hierarchy.

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 choose this tool over alternatives, nor any prerequisites or conditions for use. The only implied usage is that it applies to aggregate dimension codes, which is not enough to route an agent among the many sibling resolution tools.

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