Skip to main content
Glama
SDMX MCP

SDMX MCP

by unicef-drp

Get Time Series

get_time_series

Retrieve compact period/value time-series from an SDMX dataflow to analyze trends, compare changes over time, or build charts; specify a single period, a range, or all.

Instructions

Compact time-series tool.

Use this when the user asks for trends, change over time, a chart, or a series. Set time to a single period, a range like '2000:2024', or 'all'. Returns compact period/value rows rather than raw CSV. Set verbose=true to include coded filter dimensions and provenance attributes.

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_time_series"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeNoall
labelsNo
filtersNo
flowRefYes
subjectNo
verboseNo
locationNo
extraFiltersNo
maxObservationsNo

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 must carry the behavioral burden. It discloses the return style (compact period/value rows rather than raw CSV) and the effect of verbose=true, but omits permissions, truncation behavior, error handling, and what maxObservations=500 actually means in practice.

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 short and front-loaded: purpose first, then usage trigger, then time syntax, then return and verbosity behavior. It is efficient, though the dense final sentences could be organized more clearly.

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 fully described, but the tool has 9 parameters at 0% schema coverage and no annotations. The description covers only time and verbose, leaving most input semantics and mutation/safety context 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%, so the description must compensate for 9 undocumented parameters. It explains time formats and verbose semantics, but leaves flowRef, subject, location, labels, filters, extraFilters, and maxObservations without any meaning beyond 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 states a specific resource ('Compact time-series tool') and connects it to user intents such as trends, change over time, charts, and series. It distinguishes itself from raw CSV output, though it does not explicitly differentiate from sibling query tools like query_data.

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 clear triggering conditions: use when the user asks for trends, change over time, a chart, or a series. However, it provides no explicit exclusions or named alternatives for cases better served by query_data or get_single_observation.

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