Skip to main content
Glama

Statistics of the World

get_series_data

Read-onlyIdempotent

High-frequency (daily/weekly/monthly) series: US Treasury yield curve (UST.YC.3M … UST.YC.30Y), SOFR/EFFR/OBFR, CORRA and GoC yields, central bank policy rates for ~38 economies (BIS.CBPOL.M/D), monthly CPI inflation for ~190 countries (IMF.CPI.YOY.M, IMF.CPI.FOOD.YOY.M), monthly 10-year government bond yields for 40+ countries (OECD.IRLT.10Y), monthly unemployment (ILO.UNEMP.RT.M, EUROSTAT.UNEMP.RT.M), Eurostat HICP/industrial production/retail (EUROSTAT..M), monthly electricity (EMBER.ELEC..M), and daily shipping chokepoint transits plus weekly port trade volumes (PORTWATCH.*). list_series lists the catalog. Every response carries source licence and attribution.

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": {
      "series_id": "<series_id>"
    },
    "name": "get_series_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
geoNoISO3 country code (e.g. USA, DEU). Omit with latest=true for a cross-country view.
fromNoStart date YYYY-MM-DD
limitNoMax observations (default 120, maximum 2000). The response sets truncated=true when more observations match.
latestNotrue: newest stored observation for every geography. Do not combine with geo, from or limit; reference periods can differ.
series_idYesSeries ID, e.g. UST.YC.10Y, OECD.IRLT.10Y, ILO.UNEMP.RT.M

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / limit / description
      Previous value: -"Max observations (default 120)"New value: +"Max observations (default 120, maximum 2000). The response sets truncated=true when more observations match."
  2. Changed1 schema field changed
    • changedInput schema / properties / latest / description
      Previous value: -"true: newest observation per geography instead of a time series"New value: +"true: newest stored observation for every geography. Do not combine with geo, from or limit; reference periods can differ."
  3. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds genuine context beyond them: the supported frequencies (daily/weekly/monthly) and the fact that every response carries source licence and attribution. It omits rate limits, auth requirements, and what happens on an invalid series_id, but for a read-only series fetcher this is solid added value.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core content is one very long run-on sentence densely packed with terse series codes, followed by two short functional sentences. The enumeration is genuinely useful for selection, but the lack of any structural break or grouping makes it hard to scan, and the licensing sentence sits awkwardly at the end rather than being front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter read tool with no output schema, the definition covers data coverage, granularity, the catalog-discovery route, and attribution requirements. Missing pieces are minor: no note on units or observation value format, and no error behavior for unknown series_id.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, including the non-obvious latest=true cross-country mode and the truncated=true behavior at limit, so the schema carries most semantic weight. The description contributes only the pointer that list_series supplies valid series_id values, which is a marginal but real addition.

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 concretely enumerates the data families returned (Treasury yield curve, SOFR/EFFR/OBFR, BIS policy rates, IMF CPI, OECD 10Y yields, ILO/Eurostat labour, EMBER electricity, PORTWATCH shipping) with example series IDs, so the resource is unmistakable. It stops short of a clean verb-plus-object statement and never distinguishes itself from siblings like get_economic_data or get_historical_data, which keeps it at 4 rather than 5.

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

Usage Guidelines3/5

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

The single routing hint is 'list_series lists the catalog', which usefully tells the agent where to discover valid series_id values. There is no guidance on when to prefer this tool over get_economic_data, get_historical_data or get_market_history, and no stated preconditions, so usage is only implied.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources