get_indicator
Fetch a World Bank indicator for one or more countries and a year range. Aliases: gdp, gdp_per_capita, gdp_growth, population, inflation, unemployment, life_expectancy, exports. A raw id such as NY.GDP.MKTP.CD also works. Call list_common_indicators to see ids and units. Missing years are omitted. World Bank figures often lag by a year or more.
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": "get_indicator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_year | No | Last year. Defaults to the current year, or to start_year when only the start is set. | |
| countries | Yes | Country names or ISO codes, from 1 to 8. | |
| indicator | Yes | Alias such as gdp or inflation, or a World Bank indicator id. | |
| start_year | No | First year. Defaults to ten years before the current year, or to end_year when only the end is set. |