Compare countries
compare_countriesCompares one indicator across 2 to 8 countries (e.g. « unemployment in France vs Germany », « debt of Italy, Spain and Greece ») from ONE harmonised source (Eurostat, OECD, IMF, ILO, BIS or World Bank), so values are comparable. Countries the source does not cover are listed apart. Last 10 years by default.
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": {
"indicator": "<indicator>",
"countries": "<countries>"
},
"name": "compare_countries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | No | Years of history (default 10, max 40). | |
| language | No | Language of names and period labels (default en). | |
| countries | Yes | ISO 3166 alpha-2 codes, 2 to 8. | |
| indicator | Yes | Indicator code from `search`. |