Skip to main content
Glama

World Bank Macro, Finance & ESG Indicators MCP

Get World Bank indicator time series

wb_indicator_series
Read-onlyIdempotent

Fetch a historical time series for any World Bank indicator code (e.g. NY.GDP.MKTP.CD, FP.CPI.TOTL.ZG, EN.GHG.CO2.PC.CE.AR5) or friendly alias (gdp, gdp_growth, gdp_per_capita, inflation, unemployment, debt_pct_gdp, co2_per_capita, renewable_energy_pct, fdi_pct_gdp, population) for a country or aggregate.

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

Input Schema

NameRequiredDescriptionDefault
countryYesISO2 code, ISO3 code, or country name (e.g. "US", "DE", "JP", "WLD").
end_yearNoOptional end year inclusive (e.g. 2025).
indicatorYesWorld Bank indicator code (e.g. "FP.CPI.TOTL.ZG") or friendly alias ("gdp", "gdp_growth", "gdp_per_capita", "inflation", "unemployment", "debt_pct_gdp", "co2_per_capita", "current_account", "trade_pct_gdp", "fdi_pct_gdp", "renewable_energy_pct", "population").
start_yearNoOptional start year inclusive (e.g. 2015).
most_recentNoNumber of most recent non-empty observations when start_year and end_year are omitted (1 to 50). Default 15.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered and the description does not need to restate it. The description adds that both countries and aggregates (e.g. WLD) are accepted, which is useful, but says nothing about behavior for invalid indicator codes, sparse/missing observations, or how the time series is bounded when no year range is given.

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?

One front-loaded sentence with the verb and resource first, followed by examples. The long alias enumeration partially duplicates the schema's indicator description, which is mild redundancy, but nothing is off-topic.

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

Completeness3/5

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

For a simple read-only fetch tool with full schema coverage this is close to adequate, but with no output schema the description never indicates the return shape (year/value observations, units, handling of gaps), leaving the agent to guess what comes back before composing downstream answers.

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%, so all five parameters are already documented, including the alias list and the most_recent semantics. The description adds only 'country or aggregate' as extra meaning and never explains start_year/end_year interaction with most_recent, so it does not exceed the schema baseline.

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?

States a specific verb and resource ('Fetch a historical time series for any World Bank indicator code') and gives concrete code and alias examples that make the data it returns unambiguous. It does not distinguish itself from siblings such as wb_country_macro or wb_search_indicators, so an agent must infer the split from the example indicator list.

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: the example codes and aliases signal 'use this when you already know the indicator', but there is no explicit instruction to call wb_search_indicators when the code is unknown, nor any mention of when to prefer wb_country_macro or wb_compare_countries. No prerequisites or exclusions are stated.

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.