PPP conversion factor
get_ppp_factorReturn the IMF World Economic Outlook PPP conversion factor for one country and year: local currency units per international dollar. Use when the user needs the raw multiplier for one country/year, for example a cost-of-living comparison. Use convert with ppp=true to price an amount, and analyze_ppp for change over time or a cross-country ranking. year defaults to the latest configured PPP year (2024). Returns { year, countryCode, pppFactor, projected }; projected: true marks an IMF projection rather than observed data. An unknown country or year is a 404. Requires a signed-in connection; each successful call bills 1 API request.
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": "get_ppp_factor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Four-digit year. Defaults to the configured current PPP year (2024). | |
| country | Yes | Country as an ISO 3166-1 alpha-3 code (e.g. IND). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| pppFactor | Yes | ||
| projected | Yes | ||
| countryCode | Yes |