Skip to main content
Glama

World Bank Economic Indicators API - 1,400+ Series

world_bank_indicators_api
Read-onlyIdempotent

World Bank economic indicators as JSON, no API key: any of the 1,434 World Development Indicators (GDP, inflation, population, unemployment, CO2, life expectancy, electricity access, debt...) for 217 economies and regional aggregates, 1960 to the latest year. Modes: latest value with change, yearly Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.02/call via x402 at https://radarbg.com/x402/world-bank-indicators-api.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "mode": "latest",
      "order": "desc",
      "countries": [
        "US",
        "DE",
        "BG"
      ],
      "indicators": [
        "gdp",
        "inflation"
      ]
    },
    "name": "world_bank_indicators_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNolatest = newest value per country and indicator with the change vs the year before; history = one row per country, indicator and year; rank = countries ranked by one indicator in one year; compare = growth of one indicator between two years
yearNoFor rank: the year to rank. Default = the latest year where at least half of the reporting countries have data.
limitNoMaximum rows returned. Between 1 and 5000.
orderNoFor rank: desc = highest first, asc = lowest first.
queryNoFor search: words to find indicators, e.g. female unemployment, renewable energy, government debt.
regionNoFor rank: only countries of this World Bank region, e.g. Europe & Central Asia, Sub-Saharan Africa.
toYearNoFor history and compare: last year. Default the latest year.
fromYearNoFor history and compare: first year (1960 or later). Default 20 years ago.
countriesNoISO2 (US, DE, BG), ISO3 (USA, DEU) or English names (Germany). Aggregates work too (WLD = world, EUU = EU, HIC = high income). Up to 20. Empty = US, CN, DE, IN, BR.
indicatorsNoWorld Bank codes (NY.GDP.MKTP.CD) or plain words (gdp, inflation, population, unemployment, gdp per capita, co2 per capita, life expectancy, electricity access). Up to 10; rank and compare use the first one. Use mode=search to find codes. E
incomeGroupNoFor rank: only countries of this income group, e.g. High income, Lower middle income.
includeAggregatesNoFor rank and countries: also include regional/income aggregates such as World or Euro area.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and openWorld, so the safety profile is covered; the description adds genuinely new behavioral context in the form of rate limits (5 free calls/day per IP), authentication paths (X-API-Key or x402 at $0.02/call) and data coverage boundaries. It does not explain what happens when the free quota is exhausted or whether responses are cached, which keeps it short of a 5.

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 description is short and front-loaded with the resource and coverage, and the pricing detail is compact and useful. However, the mangled fragment 'Modes: latest value with change, yearly Free: 5 calls/day per IP' runs two unrelated ideas together and is visibly truncated, which hurts readability at the most information-dense point.

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, zero-required read-only data tool with no output schema, the definition supplies the essentials: coverage, units of analysis, available modes, auth options and rate economics. Gaps remain around response shape and error/quota-exceeded behavior, and the truncated mode sentence leaves one item underspecified.

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 the schema already documents all 12 parameters with per-mode applicability, defaults and formats, which sets the baseline at 3. The description's mode list largely restates what the schema says, and the phrase 'Modes: latest value with change, yearly' is truncated mid-sentence and adds no usable detail beyond the schema.

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+resource framing: World Bank World Development Indicators returned as JSON, covering 1,434 series across 217 economies from 1960 onward. It lists query modes (latest, history, rank, compare), which lets an agent distinguish it from narrower siblings such as inflation_cpi_api or treasury_yields_api, but it never explicitly names those alternatives.

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 through the coverage and mode enumeration; there is no explicit statement of when to pick this over the sibling economic data tools. The only actionable routing hint (use mode=search to find indicator codes) lives in the parameter schema rather than the description, and there are no when-not conditions.

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