Country facts
country_infoAny country's essentials: capital, population, GDP and GDP per capita (World Bank), currencies, languages, calling code, internet TLD, time zones, driving side, borders, flag. Static facts from the world-countries dataset (no rate limits) plus the latest World Bank population and GDP figures. Price: free. Errors: returns isError with a message for invalid input or an upstream failure (not charged).
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": {
"country": "<country>"
},
"name": "country_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | name or ISO code |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tld | No | ||
| cca2 | No | ||
| cca3 | No | ||
| flag | No | ||
| name | No | ||
| latlng | No | ||
| region | No | ||
| source | No | ||
| borders | No | ||
| capital | No | ||
| demonym | No | ||
| gdp_usd | No | ||
| area_km2 | No | ||
| languages | No | ||
| subregion | No | ||
| un_member | No | ||
| currencies | No | ||
| landlocked | No | ||
| population | No | ||
| independent | No | ||
| calling_code | No | ||
| official_name | No | ||
| gdp_per_capita_usd | No |