Skip to main content
Glama

World Bank Macro, Finance & ESG Indicators MCP

Get country macroeconomic and ESG snapshot

wb_country_macro
Read-onlyIdempotent

Fetch the latest available macroeconomic, fiscal, and ESG indicators for a country or regional aggregate (GDP, GDP growth, GDP per capita, CPI inflation, unemployment, central government debt % GDP, CO2 emissions per capita, current account balance % GDP, trade % GDP, and population) along with World Bank region and income classification.

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>"
    },
    "name": "wb_country_macro"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryYesISO2 code, ISO3 code, or country name (e.g. "US", "DEU", "Japan", "BR", "WLD", "EUU").
indicatorsNoOptional custom list of World Bank indicator codes or aliases (e.g. ["gdp", "inflation", "co2_per_capita", "NY.GDP.PCAP.PP.CD"]). Defaults to the 10-metric macro and ESG bundle.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so safety is covered. The description adds genuinely useful behavior beyond that: it returns "the latest available" data (implying vintage/staleness characteristics) and includes World Bank region and income classification as part of the response.

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, and the metric list is informative rather than redundant. It is dense and the long parenthetical enumeration would scan better as a list, but nothing is wasted.

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?

With no output schema, the description carries the return-value burden and does so by naming the indicators plus region and income classification. Minor gaps remain: units/currency basis, the periods covered (latest only vs. history), and missing-data behavior are unstated.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description earns an extra point because it enumerates the ten metrics that comprise the default bundle that the optional `indicators` parameter defaults to, giving concrete meaning to the default that the schema only labels abstractly.

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 states a specific verb ("Fetch") and resource ("macroeconomic, fiscal, and ESG indicators for a country or regional aggregate") and enumerates the exact metrics returned. It implicitly separates itself from wb_indicator_series (single series) and wb_compare_countries (multi-country) by framing itself as a one-country snapshot, but 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 implied: use this for a quick one-country dashboard of headline indicators, and the ability to pass regional aggregates (WLD, EUU) is conveyed via examples. There is no explicit when-to-use/when-not or routing to wb_indicator_series for historical time series, so the agent must infer the boundary.

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.