Top host / origin countries
top_host_countriesRank host or origin countries by refugee and displacement metrics for a chosen year, with optional normalization per population or GDP to compare relative burden.
Instructions
Rank countries by a displacement metric for a year. by="asylum" (default) ranks host countries; by="origin" ranks countries people fled from. Set normalize_by="population" to rank per 1,000 residents (or "gdp" per US$1bn) — the ranking that shows Lebanon and Chad ahead of large economies.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "top_host_countries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Rank hosts ("asylum") or origins ("origin") | |
| year | No | Year to rank (default: latest available) | |
| limit | No | How many rows (default 10) | |
| locale | No | Language of the human-readable text output: "en" (default) or "ar" (Modern Standard Arabic, right-to-left). Structured JSON fields, ISO3 codes and dataset ids stay in English either way. | |
| metric | No | Metric to rank by (default refugees) | |
| normalize_by | No | Normalize values by a denominator: "population" → per 1,000 residents, "gdp" → per US$1bn GDP. Requires the worldbank provider. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | ||
| unit | Yes | ||
| year | Yes | ||
| metric | Yes | ||
| source | Yes | ||
| ranking | Yes | ||
| normalize_by | Yes |