Rank districts
rank_districtsUse for best/worst/highest/lowest questions over many districts — "worst 20 districts for child stunting in Uttar Pradesh". Check the indicator's polarity in the result before calling a tail "worst": for a higher-worse indicator the worst districts are order: "desc", for higher-better they are order: "asc". Districts the source never covered sort last in both directions and are never presented as an extreme.
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>"
},
"name": "rank_districts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many districts to return. Defaults to 20. | |
| order | No | desc = highest value first. Defaults to desc. | |
| scope | No | A state name to rank within. Omit to rank every district of India. | |
| indicator | Yes | One indicator id from find_indicator. |