Gpi Ranking
gpi_rankingRank countries by Global Peace Index score — the N most peaceful or N least peaceful countries in one call, with rank and score. PREFER for "most peaceful countries", "least peaceful/most dangerous countries", "top 10 most peaceful nations", "which countries have the worst peace ranking". direction defaults to "most_peaceful".
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"limit": 5
},
"name": "gpi_ranking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many countries to return (default 10, max 50). | |
| direction | No | Which end of the ranking to return. Default "most_peaceful". |