Get country macro indicators (World Bank)
macro_get_country_indicatorRetrieve annual macroeconomic indicators for any country or region from World Bank data to compare market conditions across economies.
Instructions
Get annual macroeconomic indicators for any country (or aggregates like 'WLD' world, 'EUU' EU) from the World Bank, e.g. to compare the markets a company sells in. Indicators: gdp_usd, gdp_growth, gdp_per_capita, gdp_per_capita_ppp, inflation, unemployment, population, government_debt, current_account, exports, fdi_inflows, lending_rate, real_interest_rate, market_cap, exchange_rate; or any World Bank indicator ID (e.g. 'NY.GDP.MKTP.KD.ZG'). Data are annual and usually lag 6-18 months.
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": {
"countries": "<countries>",
"indicator": "<indicator>"
},
"name": "macro_get_country_indicator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_year | No | Last year. Default: current year. | |
| countries | Yes | ISO codes or English names, e.g. ['MX','US','Spain']. | |
| indicator | Yes | One of gdp_usd, gdp_growth, gdp_per_capita, gdp_per_capita_ppp, inflation, unemployment, population, government_debt, current_account, exports, fdi_inflows, lending_rate, real_interest_rate, market_cap, exchange_rate, or a World Bank indicator ID. | |
| start_year | No | First year. Default: 10 years ago. | |
| response_format | No | Output format: 'markdown' (readable, default) or 'json' (structured). | markdown |