Skip to main content
Glama

Statistics of the World

get_economic_data

Read-onlyIdempotent

Read reviewed GDP, inflation, jobs, trade, production, energy and credit packs with exact definitions, complete source flags, national qualifiers and observation-bound evidence. Set catalog=true to browse; otherwise provide an exact series_id and latest=true for its complete geography cohort or geo for history. Unreliable publisher values are withheld with raw_value retained. Reference periods and source publishing schedules vary.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_economic_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLatest period, YYYY-MM-DD.
geoNoISO 3166-1 alpha-3 code or aggregate code (e.g. USA, DEU, EU27); with series_id, returns that geography's history.
fromNoEarliest period, YYYY-MM-DD.
as_ofNoExact timestamp with timezone, up to six fractional digits. SOTW recorded transactions only.
limitNoMaximum observations (default 2000).
formatNojson (default) returns observations; manifest returns the export manifest with checksums.
latestNotrue returns the newest observation for every geography of series_id.
catalogNotrue lists every reviewed definition (metadata only). Cannot be combined with other arguments.
recordedNotrue reconstructs SOTW recorded state from archive activation onward.
revisionNoPositive bigint string returned by recorded_state. Preserve as text.
series_idNoExact definition ID from the catalog.
generationNoPublication generation (UUID) from an earlier response, to keep reads on the same publication.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • addedInput schema / properties / catalog / description
      Added value: +"true lists every reviewed definition (metadata only). Cannot be combined with other arguments."
    • addedInput schema / properties / format / description
      Added value: +"json (default) returns observations; manifest returns the export manifest with checksums."
    • addedInput schema / properties / from / description
      Added value: +"Earliest period, YYYY-MM-DD."
    • addedInput schema / properties / generation / description
      Added value: +"Publication generation (UUID) from an earlier response, to keep reads on the same publication."
    • addedInput schema / properties / geo / description
      Added value: +"ISO 3166-1 alpha-3 code or aggregate code (e.g. USA, DEU, EU27); with series_id, returns that geography's history."
    • addedInput schema / properties / latest / description
      Added value: +"true returns the newest observation for every geography of series_id."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum observations (default 2000)."
    • addedInput schema / properties / recorded / description
      Added value: +"true reconstructs SOTW recorded state from archive activation onward."
    • addedInput schema / properties / series_id / description
      Added value: +"Exact definition ID from the catalog."
    • addedInput schema / properties / to / description
      Added value: +"Latest period, YYYY-MM-DD."
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare this as a read-only, idempotent operation. The description adds meaningful behavior beyond that: unreliable publisher values are withheld with raw_value retained, and reference periods and publishing schedules vary. It does not explain pagination behavior, default limits or manifest output, which leaves gaps for a 12-parameter tool.

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 three sentences, front-loaded with scope before the mode-selection rule and then the caveats. It is dense but mostly earns its place. The first sentence carries unnecessary jargon that could be trimmed.

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 12-parameter, no-output-schema tool, the description covers the main usage modes, withholding behavior and schedule variability. The remaining gaps, such as limit, format=manifest and recorded-state semantics, are documented in the schema, so completeness is high but not perfect.

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 coverage is 100%, so the schema already documents every parameter, making 3 the baseline. The description adds cross-parameter meaning by saying latest=true returns a complete geography cohort while geo returns history, but it does not explain the interaction of from, to, as_of, recorded or generation.

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 uses a specific verb-plus-resource framing: reading reviewed GDP, inflation, jobs, trade, production, energy and credit packs with definitions and source flags. This is clearly distinct from sibling tools like get_market_quotes or search_indicators. It falls short of a 5 because of jargon such as 'packs', 'SOTW' and 'observation-bound evidence', which blur what is actually returned.

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?

The description gives explicit routing: set catalog=true to browse, otherwise supply series_id with latest=true for the geography cohort or geo for history. That is real when-to-use guidance. It does not, however, point to sibling discovery tools or state when to prefer this over get_series_data or get_historical_data.

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