get_ranking
Retrieve province rankings by any indicator: specify a metric like poverty, unemployment, or HDI, then view top-N provinces sorted highest or lowest for a chosen year.
Instructions
Retrieve province rankings by a given indicator in one step. Use this tool when the user wants to see rankings, top-N, or comparisons across all provinces.
Example user queries suitable for this tool:
"10 poorest provinces in Indonesia"
"HDI ranking across all provinces"
"provinces with highest unemployment"
"poverty ranking per province 2023"
"5 provinces with the largest population"
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": {
"query": "<query>"
},
"name": "get_ranking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Data year. Leave empty for latest. | |
| order | No | Order: 'highest' (highest first) or 'lowest' (lowest first) | highest |
| query | Yes | Indicator for ranking (e.g. kemiskinan, pengangguran, IPM, penduduk) | |
| top_n | No | Number of results to show (default 10, max 34 for all provinces) |