Skip to main content
Glama
SDMX MCP

SDMX MCP

by unicef-drp

Get Indicator Table

get_indicator_table

Retrieves a compact indicator-by-location table to compare or rank multiple countries, regions, or groups for one indicator and period.

Instructions

Compact latest-by-location table tool.

Use this when the user asks for multiple countries, a region/group table, a comparison, or a ranking for one indicator and one period/latest value. Returns compact rows rather than raw CSV. Set verbose=true to include constant coded dimensions and provenance attributes in every row.

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>"
    },
    "name": "get_indicator_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeNolatest
labelsNo
filtersNo
flowRefYes
maxRowsNo
subjectNo
verboseNo
locationNo
locationsNo
extraFiltersNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does add real value by saying output is compact rows rather than raw CSV and explaining what verbose=true adds. It says nothing about what happens when results exceed maxRows (default 200), whether truncation is signaled, or error behavior for an invalid flowRef.

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?

Content is front-loaded with the what and when in the first two sentences, followed by return-shape and the verbose flag. Four short sentences with almost no filler; a slightly tighter structure would fold the verbose note into the return sentence.

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 values need not be described, but a 10-parameter tool with zero schema coverage and no annotations needs far more parameter guidance than one verbose flag. An agent cannot confidently populate location vs. locations or the filters/extraFilters objects from this definition alone.

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 10 parameters, so the description must compensate and largely does not. Only verbose is explained; flowRef, time, subject, location vs. locations, labels, filters, extraFilters, and maxRows are left entirely to inference from their names.

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 names a specific resource and shape: a compact latest-by-location table for one indicator and one period. The phrases 'multiple countries, a region/group table, a comparison, or a ranking' make it distinguishable from observation-level siblings such as get_single_observation and get_time_series, though it never names those siblings directly.

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

Usage Guidelines4/5

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

It gives concrete positive selection criteria: multi-country requests, region/group tables, comparisons, rankings, and a single indicator/period. There are no explicit exclusions or named alternatives, so the when-not-to-use side is left implicit rather than stated.

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