Get Country Economic Data
finance.macro.countryRetrieve World Bank development indicators for any country including GDP, population, inflation, trade, and poverty data.
Instructions
Get global development indicators from World Bank — GDP, population, inflation, trade, poverty for 200+ countries
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_code": "<country_code>",
"indicator_id": "<indicator_id>"
},
"name": "finance.macro.country"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| per_page | No | Results per page (default 50, max 1000). | |
| date_range | No | Year or year range (e.g. "2023" or "2010:2023"). Omit for all available years. | |
| country_code | Yes | ISO 3166 country code (e.g. "US", "DE", "CHN") or "all" for all countries. | |
| indicator_id | Yes | World Bank indicator ID (e.g. "NY.GDP.MKTP.CD" for GDP, "SP.POP.TOTL" for population, "FP.CPI.TOTL.ZG" for inflation). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |