PPP analysis (change, compare, movers)
analyze_pppMeasure how a country's IMF PPP conversion factor changed over a year window: start/end year and factor, % change, and optional min/max/avg. Use for purchasing-power trends and cross-country PPP rankings. Omit countries to rank all countries (movers); provide ISO alpha-3 codes to compare specific ones. Use get_ppp_factor for a single country/year value, and convert with ppp=true to price an amount. Defaults: 10-year window, sort increased, limit 10, stats true. Returns { from, to, mode, stats, results[] }, with projected: true marking an IMF projection. Returns an error when no PPP data exists in the window. Requires a signed-in connection and the Growth plan or higher; each successful call bills 1 API request.
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": "analyze_ppp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Window end YEAR (e.g. 2024). Defaults to the current year. | |
| from | No | Window start YEAR (e.g. 2015). Defaults to 10 years before `to`. See `period` for a shorthand. | |
| sort | No | Movers ranking: increased (PPP factor rose most, default) or decreased. | |
| limit | No | Movers: how many top results to return (default 10, max 200). | |
| stats | No | Include min/max/avg of the PPP factor over the window per country. Defaults to true; pass false to skip. | |
| period | No | Relative window shorthand for `from`: e.g. 10y, 20y, max. Ignored if `from` is given. | |
| countries | No | Comma-separated ISO 3166-1 alpha-3 country codes to compare, e.g. IND,DEU,USA. OMIT to rank ALL countries by PPP-factor change ('movers' mode). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| mode | Yes | ||
| sort | No | ||
| stats | Yes | ||
| results | Yes |