Skip to main content
Glama

IMF Global Macro DataMapper MCP

Get IMF indicator time series

get_indicator_data
Read-onlyIdempotent

Fetch annual historical observations and IMF World Economic Outlook projections for a single indicator and ISO-3 country or region code.

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": {
      "indicator": "<indicator>",
      "country": "<country>"
    },
    "name": "get_indicator_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryYesISO-3 country code or IMF region code (e.g. "USA", "DEU", "CHN", "JPN", "WEOWORLD").
end_yearNoEnd year (inclusive). Default 2030.
indicatorYesIMF indicator code (e.g. "NGDP_RPCH" for real GDP growth, "PCPIPCH" for CPI inflation, "GGXWDG_NGDP" for gross debt % GDP).
start_yearNoStart year (inclusive). Default 2018.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already establish read-only, idempotent, non-destructive, open-world behavior, so the bar is lower. The description does add genuinely useful context — that results are annual and include forward-looking WEO projections rather than only observed history — but says nothing about units, coverage gaps, or behavior on invalid indicator/country codes.

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?

A single front-loaded sentence with no filler; the two key scope constraints (annual series, historical + projections) appear before the parameter qualifiers. Sized appropriately for a simple read tool.

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 simple, fully annotated read tool with a complete schema but no output schema, the description covers source, frequency, and the historical-plus-projection nature of the data. The main residual gap is that units/scales of returned values are never stated, which matters for interpreting IMF indicator series.

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%, with examples for country and indicator and defaults/bounds for start_year and end_year, so the schema carries the load. The description only adds the constraint that exactly one indicator is accepted per call, and contributes no format or syntax detail beyond that.

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?

Names a specific verb (Fetch) and a precisely scoped resource: annual historical observations plus IMF WEO projections for ONE indicator and ONE ISO-3 country/region code. The 'single indicator' scope implicitly separates it from get_country_macro_snapshot and compare_countries, though no sibling is named explicitly.

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?

Usage is only implied by scope words: 'single indicator and ISO-3 country or region code' suggests it is the narrow, one-series tool versus a multi-indicator snapshot or comparison. There is no explicit when-to-use/when-not-to-use statement and no hint that list_indicators must be consulted for valid codes.

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.