eurostat_get_ranking
Ranks countries by a Eurostat indicator for a specified year, sorted descending by value. Helps fact-checkers compare EU nations against official statistics.
Instructions
Rank countries by a Eurostat indicator value.
Args: dataset_code: Eurostat dataset code. metric: Metric/na_item code. year: Year to rank on. If None, uses most recent available. geo_scope: Geographic scope filter (unused in basic implementation).
Returns: List of RankingEntry sorted by value descending.
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": {
"dataset_code": "<dataset_code>",
"metric": "<metric>"
},
"name": "eurostat_get_ranking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| metric | Yes | ||
| geo_scope | No | EU27 | |
| dataset_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |