Skip to main content
Glama

Get World Bank Poverty and Inequality Estimates

worldbank_get_poverty
Read-onlyIdempotent

Query poverty and inequality estimates from the World Bank Poverty and Inequality Platform (PIP) for economies and PIP's own aggregates (World, regions, income, lending, and fragility groups): poverty headcount, gap, and severity at any poverty line, mean and median welfare, and population, plus the Gini, mean log deviation, polarization, and decile shares on survey rows. PIP is separate from the WDI series worldbank_get_data reads: welfare is in PPP dollars per person per day at the vintage ppp_version selects, and its aggregates are computed at any line, where worldbank_get_data carries only the published lines. estimationType tells survey rows from gap-filled estimates, whose inequality fields are null by design rather than missing in error.

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": {
      "countries": "<countries>"
    },
    "name": "worldbank_get_poverty"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 1-based.
yearNoA four-digit reporting year, "all" (the default) for the full history, or "MRV" for the latest: per economy, PIP's latest estimate year with fill_gaps true or its latest survey year with fill_gaps false; an aggregate's newest year. Coverage runs from 1963 to the last year of PIP's data release.
per_pageNoResults per page (default: server default); sizes above 1000 are served at that maximum, with a notice.
countriesYesEconomies by ISO3 (IND) or ISO2 (IN) code, model-estimate-only ones (AFG) included, or "all" for every economy. PIP's aggregates: WLD; regions AFE, AFW, EAS, ECS, LCN, MEA, NAC, SAS, SSF; income groups HIC, LIC, LMIC (or LMC), UMIC (or UMC); fragility groups FCVY (fragile) and FCVN (not fragile); lending groups IDX (IDA only), IDB or BLND (IDA blend), IBD or IBRD (IBRD only), REST. Income groups use the classification of PIP's data release for every year, so membership can differ from worldbank_get_country's. IDA is rejected (PIP computes no IDA total: ask for IDX and IDB), as are FCS (use FCVY, not asserted to match it), SSA, EAP, MIC, and LMY. welfare_type and reporting_level cannot combine with an aggregate.
fill_gapsNoTrue: PIP's estimates fill the years, reporting levels, and welfare types no survey covers, so an unsurveyed year still returns a row; those rows carry no inequality data. False: survey rows only, empty for unsurveyed years and for model-estimate-only economies. No effect on aggregates.
ppp_versionNoPPP vintage for every dollar figure ("2021", "2017"), one PIP's current data release is published at; omitted, the newest.
poverty_lineNoPoverty line in PPP dollars per person per day at the applied vintage, any threshold; omitted, the international poverty line for that vintage. PIP rounds it to two decimals (6.953 is computed at 6.95): each row's povertyLine is the line applied, appliedFilters.povertyLine the value sent. The inequality fields do not depend on it.
welfare_typeNoOne welfare measure. Income and consumption are not directly comparable, so pin one for a cross-country comparison. Omitted, each economy's published measure, with a row per measure in a year surveyed both ways; gap-filled estimates use one measure per year.
reporting_levelNoOne reporting level. Most economies publish national figures only; China publishes all three for the same year; some publish urban or rural figures in some years, where fill_gaps true adds PIP's national estimate if it has one. Argentina is urban only, so "national" leaves it out.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
noticeNoExplains an empty result, a page past the end, a reduced page size, gap-filled or aggregate rows, gap-filled estimates PIP failed to return, or economies fill_gaps false left out.
estimatesNoEstimates on this page, ordered by code, year, reporting level, then welfare type.
totalCountNoMatching estimates before pagination.
totalPagesNoTotal pages at perPage.
currentPageNoPage number; past totalPages when the request ran off the end.
appliedFiltersNoThe query as sent to PIP; a filter not applied is omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed61 schema fields changed
    • changedInput schema / properties / countries / anyOf
      Previous value: -[
      -  {
      -    "description": "A single country code, a list separated by commas, semicolons, or pipes, or \"all\".",
      -    "pattern": "[^\\s;,|]",
      -    "type": "string"
      -  },
      -  {
      -    "description": "An array of country codes; an element holding several codes separated by commas, semicolons, or pipes is split too.",
      -    "items": {
      -      "description": "A country code.",
      -      "type": "string"
      -    },
      -    "minItems": 1,
      -    "type": "array"
      -  }
      -]New value: +[
      +  {
      +    "description": "One code, several separated by commas, semicolons, or pipes, or \"all\".",
      +    "pattern": "[^\\s;,|]",
      +    "type": "string"
      +  },
      +  {
      +    "description": "Codes; an element holding several separated codes is split too.",
      +    "items": {
      +      "type": "string"
      +    },
      +    "minItems": 1,
      +    "type": "array"
      +  }
      +]
    • changedInput schema / properties / countries / description
      Previous value: -"Country codes: a single code, an array, or one string separated by commas, semicolons, or pipes. Economies go by ISO3 (IND, USA) or ISO2 (IN, US) code, including those PIP publishes only as model estimates (AFG); \"all\" returns every economy. PIP's aggregates are served too: WLD; the World Bank regions AFE, AFW, EAS, ECS, LCN, MEA, NAC, SAS, SSF; the income groups HIC, LIC, LMIC (or LMC), UMIC (or UMC); the fragility groups FCVY (fragile) and FCVN (not fragile); and the lending groups IDX (IDA only), IDB or BLND (IDA blend), IBD or IBRD (IBRD only), and REST. Income groups follow the fiscal-year classification PIP's data release was built with — FY2026 (July 2025) for release 20260922 — applied to every year, so membership can differ from the current one worldbank_get_country reports. IDA (IDA total) is rejected because PIP computes no IDA total: ask for IDX and IDB together. FCS is rejected: use PIP's FCVY for its fragile group, whose membership is not asserted to match WDI's FCS. Other aggregate codes (SSA, EAP, MIC, LMY) are rejected, and welfare_type and reporting_level cannot be combined with an aggregate."New value: +"Economies by ISO3 (IND) or ISO2 (IN) code, model-estimate-only ones (AFG) included, or \"all\" for every economy. PIP's aggregates: WLD; regions AFE, AFW, EAS, ECS, LCN, MEA, NAC, SAS, SSF; income groups HIC, LIC, LMIC (or LMC), UMIC (or UMC); fragility groups FCVY (fragile) and FCVN (not fragile); lending groups IDX (IDA only), IDB or BLND (IDA blend), IBD or IBRD (IBRD only), REST. Income groups use the classification of PIP's data release for every year, so membership can differ from worldbank_get_country's. IDA is rejected (PIP computes no IDA total: ask for IDX and IDB), as are FCS (use FCVY, not asserted to match it), SSA, EAP, MIC, and LMY. welfare_type and reporting_level cannot combine with an aggregate."
    • changedInput schema / properties / fill_gaps / description
      Previous value: -"When true (the default), PIP's own estimate fills in whatever the surveys do not cover instead of leaving it out: a year with no survey, so a single-year query still answers and a full-history query returns a row per year rather than only the survey years, and a reporting level or welfare type a surveyed year lacks, such as a national estimate beside an urban-only survey. Those estimated rows carry no inequality data. Set false to return survey-derived rows only, accepting an empty result for years no survey covers and for economies PIP publishes only as model estimates. It also decides what \"MRV\" resolves to, and has no effect on aggregate rows."New value: +"True: PIP's estimates fill the years, reporting levels, and welfare types no survey covers, so an unsurveyed year still returns a row; those rows carry no inequality data. False: survey rows only, empty for unsurveyed years and for model-estimate-only economies. No effect on aggregates."
    • changedInput schema / properties / page / description
      Previous value: -"Pagination page number (1-based)."New value: +"Page number, 1-based."
    • changedInput schema / properties / per_page / description
      Previous value: -"Results per page (default: server default). Positive integers above 1000 are served at that maximum with the requested and served sizes echoed and a notice. totalPages uses the served size."New value: +"Results per page (default: server default); sizes above 1000 are served at that maximum, with a notice."
    • changedInput schema / properties / poverty_line / description
      Previous value: -"Poverty line in PPP dollars per person per day, at the applied PPP vintage — any threshold, not only the published ones. Omitted uses the international poverty line for that vintage, so the applied value is echoed back on every row as povertyLine rather than assumed here. The poverty line does not affect the inequality fields, which describe the whole distribution."New value: +"Poverty line in PPP dollars per person per day at the applied vintage, any threshold; omitted, the international poverty line for that vintage. PIP rounds it to two decimals (6.953 is computed at 6.95): each row's povertyLine is the line applied, appliedFilters.povertyLine the value sent. The inequality fields do not depend on it."
    • changedInput schema / properties / ppp_version / anyOf
      Previous value: -[
      -  {
      -    "const": "",
      -    "type": "string"
      -  },
      -  {
      -    "description": "A PPP vintage year.",
      -    "pattern": "^\\d{4}$",
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "const": "",
      +    "type": "string"
      +  },
      +  {
      +    "description": "A four-digit PPP vintage year.",
      +    "pattern": "^\\d{4}$",
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / ppp_version / description
      Previous value: -"PPP vintage to express every dollar figure in — the poverty line, mean, and median — as a four-digit year (\"2021\", \"2017\"). It must be one of the vintages PIP's current data release is published at; any other value fails with the available vintages named. Omitted uses the newest vintage of that release. The vintage and release applied are echoed as appliedFilters.pppVersion and appliedFilters.releaseVersion."New value: +"PPP vintage for every dollar figure (\"2021\", \"2017\"), one PIP's current data release is published at; omitted, the newest."
    • changedInput schema / properties / reporting_level / anyOf
      Previous value: -[
      -  {
      -    "const": "",
      -    "type": "string"
      -  },
      -  {
      -    "description": "Restrict to the national, urban, or rural estimate.",
      -    "enum": [
      -      "national",
      -      "urban",
      -      "rural"
      -    ],
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "const": "",
      +    "type": "string"
      +  },
      +  {
      +    "description": "National, urban, or rural estimates.",
      +    "enum": [
      +      "national",
      +      "urban",
      +      "rural"
      +    ],
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / reporting_level / description
      Previous value: -"Restrict results to one reporting level. Most economies publish a national figure only. China alone publishes national, urban, and rural figures for the same year. Several others publish urban or rural figures in some years and national figures in others, and with fill_gaps true a year surveyed only in urban or rural areas also returns PIP's national estimate where PIP publishes one. Argentina publishes urban figures only, so \"national\" leaves it out. Every row states its own reportingLevel."New value: +"One reporting level. Most economies publish national figures only; China publishes all three for the same year; some publish urban or rural figures in some years, where fill_gaps true adds PIP's national estimate if it has one. Argentina is urban only, so \"national\" leaves it out."
    • changedInput schema / properties / welfare_type / anyOf
      Previous value: -[
      -  {
      -    "const": "",
      -    "type": "string"
      -  },
      -  {
      -    "description": "Restrict to surveys measuring income, or to those measuring consumption.",
      -    "enum": [
      -      "income",
      -      "consumption"
      -    ],
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "const": "",
      +    "type": "string"
      +  },
      +  {
      +    "description": "Income or consumption surveys.",
      +    "enum": [
      +      "income",
      +      "consumption"
      +    ],
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / welfare_type / description
      Previous value: -"Restrict results to one welfare measure. Surveys measure either income or consumption and the two are not directly comparable, so a cross-country comparison is safer pinned to one. Omitted returns whichever measure each economy publishes, with a row for each measure in a year surveyed both ways; PIP's gap-filled estimates use one measure per year."New value: +"One welfare measure. Income and consumption are not directly comparable, so pin one for a cross-country comparison. Omitted, each economy's published measure, with a row per measure in a year surveyed both ways; gap-filled estimates use one measure per year."
    • changedInput schema / properties / year / description
      Previous value: -"Reporting year to return. A four-digit year (2022), \"all\" for the full history, or \"MRV\" for the most recent year. Omitted behaves as \"all\". MRV follows fill_gaps: with fill_gaps true each economy resolves to PIP's latest estimate year, and with fill_gaps false to its latest survey year; an aggregate resolves to its newest reporting year. PIP coverage starts in 1963 and ends at the last year of the data release in use; a year outside that span fails with the span named."New value: +"A four-digit reporting year, \"all\" (the default) for the full history, or \"MRV\" for the latest: per economy, PIP's latest estimate year with fill_gaps true or its latest survey year with fill_gaps false; an aggregate's newest year. Coverage runs from 1963 to the last year of PIP's data release."
    • changedOutput schema / properties / appliedFilters / description
      Previous value: -"The effective parameters sent to PIP — confirms country code normalization and which filters were in force for these estimates."New value: +"The query as sent to PIP; a filter not applied is omitted."
    • changedOutput schema / properties / appliedFilters / properties / countries / description
      Previous value: -"Codes as queried, comma-joined across economies and aggregates: uppercased and deduplicated, two-character codes resolved to their three-character form (NG → NGA), and WDI group spellings read as PIP's (LMC → LMIC, IDB → BLND, IBD → IBRD). PIP's IDA-only group stays IDX, since IDA means IDA total. Every code here can be sent back as countries and asks for the same economy or group."New value: +"Codes as queried, comma-joined: uppercased, deduplicated, ISO2 resolved to three characters (NG → NGA), and WDI group spellings read as PIP's (LMC → LMIC, IDB → BLND, IBD → IBRD). Each can be sent back as countries."
    • changedOutput schema / properties / appliedFilters / properties / fillGaps / description
      Previous value: -"Whether gap-filling was permitted for this query, including the server default of true."New value: +"Whether gap-filling was on."
    • changedOutput schema / properties / appliedFilters / properties / page / description
      Previous value: -"Page number requested."New value: +"Page requested."
    • changedOutput schema / properties / appliedFilters / properties / perPage / description
      Previous value: -"Results per page actually served — the requested size or server default, reduced to the page cap when larger. totalPages is counted at this size."New value: +"Page size served, after any reduction to the page maximum."
    • changedOutput schema / properties / appliedFilters / properties / povertyLine / description
      Previous value: -"Poverty line requested, omitted when the upstream default was used — in which case the applied value is on every row as povertyLine."New value: +"Poverty line as sent."
    • changedOutput schema / properties / appliedFilters / properties / pppVersion / description
      Previous value: -"PPP vintage every dollar figure in these estimates is expressed in, whether requested or resolved as the newest vintage of the release."New value: +"PPP vintage of every dollar figure."
    • changedOutput schema / properties / appliedFilters / properties / releaseVersion / description
      Previous value: -"PIP data release the estimates come from, as its YYYYMMDD stamp — the newest release PIP lists. Survey and gap-filled rows share it."New value: +"PIP data release (YYYYMMDD), the newest PIP lists."
    • changedOutput schema / properties / appliedFilters / properties / reportingLevel / description
      Previous value: -"Reporting-level filter applied, omitted when none."New value: +"Reporting level applied."
    • changedOutput schema / properties / appliedFilters / properties / requestedPerPage / description
      Previous value: -"Page size asked for, requested or server default, present only when it exceeded the page cap and perPage was reduced."New value: +"Page size asked for, or the server default; present only when perPage was reduced."
    • changedOutput schema / properties / appliedFilters / properties / welfareType / description
      Previous value: -"Welfare-type filter applied, omitted when none."New value: +"Welfare type applied."
    • changedOutput schema / properties / appliedFilters / properties / year / description
      Previous value: -"Year filter applied, omitted when none was requested."New value: +"Year applied."
    • changedOutput schema / properties / currentPage / description
      Previous value: -"Page number requested — past totalPages when the request ran off the end."New value: +"Page number; past totalPages when the request ran off the end."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `country_not_found`: No economy or aggregate PIP publishes goes by one or more of the codes, including a two-character code the World Bank country listing does not carry. `ambiguous_aggregate`: IDA or its ISO2 code XG names WDI's IDA total, which PIP does not compute. `unserved_aggregate`: An aggregate code this tool does not serve: WDI's FCS, a PovcalNet grouping from PIP's regions table (SSA, EAP), or a WDI income aggregate PIP computes none for (MIC, LMY). `aggregate_filter_conflict`: welfare_type or reporting_level was set alongside an aggregate code. `invalid_parameter`: PIP rejected the value supplied for a query parameter other than country. `ppp_version_unavailable`: ppp_version names a PPP vintage PIP's current data release is not published at. `upstream_unavailable`: PIP answered with a server error, or the World Bank Indicators API country listing that resolves an ISO2 code could not be loaded. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `country_not_found`: A code names no economy or aggregate PIP publishes. `ambiguous_aggregate`: IDA or XG asks for WDI's IDA total, which PIP does not compute. `unserved_aggregate`: An aggregate code this tool does not serve, such as FCS, SSA, or MIC. `aggregate_filter_conflict`: welfare_type or reporting_level is set with an aggregate code. `invalid_parameter`: PIP rejected a parameter value. `ppp_version_unavailable`: ppp_version is not a vintage PIP's current release is published at. `upstream_unavailable`: PIP returned a server error, or the country listing that resolves ISO2 codes did not load. `upstream_timeout`: The call's 50-second budget ran out before PIP or the ISO2 country listing answered, or a PIP request ran past its 90-second bound. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "country_not_found",
      -  "ambiguous_aggregate",
      -  "unserved_aggregate",
      -  "aggregate_filter_conflict",
      -  "invalid_parameter",
      -  "ppp_version_unavailable",
      -  "upstream_unavailable"
      -]New value: +[
      +  "country_not_found",
      +  "ambiguous_aggregate",
      +  "unserved_aggregate",
      +  "aggregate_filter_conflict",
      +  "invalid_parameter",
      +  "ppp_version_unavailable",
      +  "upstream_unavailable",
      +  "upstream_timeout"
      +]
    • changedOutput schema / properties / estimates / description
      Previous value: -"Poverty and inequality estimates for this page — economies and aggregates in one list, ordered by code, year, reporting level, then welfare type."New value: +"Estimates on this page, ordered by code, year, reporting level, then welfare type."
    • changedOutput schema / properties / estimates / items / description
      Previous value: -"One economy × year × reporting-level × welfare-type estimate, or one aggregate × year."New value: +"An economy × year × reporting level × welfare type estimate, or an aggregate × year."
    • changedOutput schema / properties / estimates / items / properties / comparableSpell / description
      Previous value: -"The span of years the comparable series behind this row covers, as PIP labels it (\"2022\", \"2011 - 2022\"). Null on gap-filled rows."New value: +"Years the comparable series covers, as PIP labels it (\"2011 - 2022\")."
    • changedOutput schema / properties / estimates / items / properties / countryCode / description
      Previous value: -"ISO3 code of the economy, or the aggregate code (SSF, LIC, WLD) on an aggregate row — IDX for PIP's IDA-only group. Accepted back as countries."New value: +"Economy ISO3 code, or the aggregate code (IDX for IDA only); accepted back as countries."
    • changedOutput schema / properties / estimates / items / properties / countryName / description
      Previous value: -"Economy or aggregate name — \"IDA only\" for IDX, as WDI names it."New value: +"Economy or aggregate name."
    • changedOutput schema / properties / estimates / items / properties / decileShares / description
      Previous value: -"Share of total income or consumption held by each decile, poorest first, summing to 1. Null on gap-filled rows."New value: +"Each decile's share of income or consumption, poorest first, summing to 1."
    • changedOutput schema / properties / estimates / items / properties / distributionType / description
      Previous value: -"PIP distribution classification, such as micro, group, or imputed. Null when PIP publishes none."New value: +"Distribution classification: micro, group, or imputed; null when none is published."
    • changedOutput schema / properties / estimates / items / properties / estimateType / description
      Previous value: -"PIP estimate classification: actual, nowcast, or projection. Null when PIP publishes none; independent of estimationType."New value: +"Estimate classification: actual, nowcast, or projection; null when none is published. Independent of estimationType."
    • changedOutput schema / properties / estimates / items / properties / estimationType / description
      Previous value: -"How the row was produced. On an economy: \"survey\" carries the full inequality block; \"interpolation\", \"extrapolation\", and \"CMD estimation\" are gap-filled and carry none, the last being what PIP publishes for economies it has no survey for at all. On an aggregate: \"actual\", \"nowcast\", or \"projection\"."New value: +"How the row was produced. Economy rows: \"survey\", or gap-filled \"interpolation\", \"extrapolation\", or \"CMD estimation\" (no survey at all), whose gini, mld, polarization, decileShares, surveyYear, surveyComparability, and comparableSpell are null. Aggregate rows: \"actual\", \"nowcast\", or \"projection\"."
    • changedOutput schema / properties / estimates / items / properties / gini / description
      Previous value: -"Gini coefficient of the welfare distribution, 0 (perfect equality) to 1. Null on gap-filled rows — see estimationType."New value: +"Gini coefficient, 0 (equality) to 1."
    • changedOutput schema / properties / estimates / items / properties / headcount / description
      Previous value: -"Share of the population below the poverty line, as a fraction (0.0814 = 8.14%)."New value: +"Share of the population below the line, as a fraction (0.0814 = 8.14%)."
    • changedOutput schema / properties / estimates / items / properties / isAggregate / description
      Previous value: -"True on a PIP aggregate — World, a region, an income group, a lending group, or a fragility group — whose median, distributional block, survey fields, welfareType, and reportingLevel are null."New value: +"True on a PIP aggregate row, whose regionCode, regionName, reportingLevel, welfareType, median, gini, mld, polarization, decileShares, surveyYear, surveyComparability, comparableSpell, and isInterpolated are null and surveyAcronym is empty."
    • changedOutput schema / properties / estimates / items / properties / isInterpolated / description
      Previous value: -"True on the interpolated and extrapolated rows. Read estimationType instead of relying on this alone — a \"CMD estimation\" row is also gap-filled but reports false here. Null on aggregate rows."New value: +"True on interpolated and extrapolated rows but false on a gap-filled \"CMD estimation\" row, so read estimationType."
    • changedOutput schema / properties / estimates / items / properties / median / description
      Previous value: -"Median daily welfare per person in PPP dollars. Null on aggregate rows, which PIP publishes without one."New value: +"Median daily welfare per person in PPP dollars."
    • changedOutput schema / properties / estimates / items / properties / mld / description
      Previous value: -"Mean log deviation, an inequality measure. Null on gap-filled rows."New value: +"Mean log deviation."
    • changedOutput schema / properties / estimates / items / properties / polarization / description
      Previous value: -"Wolfson polarization index. Null on gap-filled rows."New value: +"Wolfson polarization index."
    • changedOutput schema / properties / estimates / items / properties / popInPoverty / description
      Previous value: -"Number of people below the poverty line, as PIP publishes it on aggregate rows. Null on economy rows, where population × headcount gives it."New value: +"People below the line, published on aggregate rows; null on economy rows, where population × headcount gives it."
    • changedOutput schema / properties / estimates / items / properties / population / description
      Previous value: -"Population the estimate covers — multiply by headcount for the number of people below the line."New value: +"Population the estimate covers."
    • changedOutput schema / properties / estimates / items / properties / povertyGap / description
      Previous value: -"Mean shortfall below the poverty line across the whole population, as a fraction of the line — depth of poverty, not just its incidence."New value: +"Mean shortfall below the line across the population, as a fraction of the line."
    • changedOutput schema / properties / estimates / items / properties / povertyLine / description
      Previous value: -"Poverty line the poverty measures were computed at, in PPP dollars per person per day, as applied upstream."New value: +"Poverty line applied, in PPP dollars per person per day."
    • changedOutput schema / properties / estimates / items / properties / povertySeverity / description
      Previous value: -"Squared poverty gap, weighting the poorest most heavily — inequality among those below the line."New value: +"Squared poverty gap, weighting the poorest most."
    • changedOutput schema / properties / estimates / items / properties / regionCode / description
      Previous value: -"PIP region code of the economy (e.g. SAS, NAC, SSF); null on an aggregate row."New value: +"PIP region code, such as SAS."
    • changedOutput schema / properties / estimates / items / properties / regionName / description
      Previous value: -"PIP region name of the economy; null on an aggregate row."New value: +"PIP region name."
    • changedOutput schema / properties / estimates / items / properties / reportingLevel / description
      Previous value: -"Coverage of this estimate: national, urban, or rural. Null on an aggregate row."New value: +"Coverage: national, urban, or rural."
    • changedOutput schema / properties / estimates / items / properties / reportingYear / description
      Previous value: -"Calendar year the estimate reports on."New value: +"Year the estimate reports on."
    • changedOutput schema / properties / estimates / items / properties / surveyAcronym / description
      Previous value: -"Short name of the underlying survey (empty on gap-filled rows and where PIP publishes none)."New value: +"Survey short name; empty on gap-filled rows and where none is published."
    • changedOutput schema / properties / estimates / items / properties / surveyComparability / description
      Previous value: -"PIP's series comparability code within the economy: 0 is its oldest comparable series and the code steps up each time comparability breaks, so two survey rows of one economy compare over time only when they share it. Null on gap-filled rows."New value: +"Comparability code within the economy, 0 for its oldest series and stepping up at each break; two survey rows compare over time only when they share it."
    • changedOutput schema / properties / estimates / items / properties / surveyYear / description
      Previous value: -"Year of the survey behind the estimate, fractional when the survey spans a fiscal year (2022.58). Null on gap-filled rows, which trace to no single survey."New value: +"Survey year, fractional when the survey spans a fiscal year (2022.58)."
    • changedOutput schema / properties / estimates / items / properties / watts / description
      Previous value: -"Watts index, a distribution-sensitive measure."New value: +"Watts poverty index."
    • changedOutput schema / properties / estimates / items / properties / welfareType / description
      Previous value: -"Whether the underlying survey measures income or consumption. The two are not directly comparable across economies. Null on an aggregate row, which spans both."New value: +"Welfare measure: income or consumption."
    • changedOutput schema / properties / notice / description
      Previous value: -"Context for an empty result set, for a page past the end of the results, for a page size reduced to the page cap, for a result carrying gap-filled or aggregate rows with no inequality data, for survey rows returned without the gap-filled estimates PIP failed to serve, and for economies fill_gaps false left out."New value: +"Explains an empty result, a page past the end, a reduced page size, gap-filled or aggregate rows, gap-filled estimates PIP failed to return, or economies fill_gaps false left out."
    • changedOutput schema / properties / totalCount / description
      Previous value: -"Total estimates before pagination."New value: +"Matching estimates before pagination."
    • changedOutput schema / properties / totalPages / description
      Previous value: -"Total number of pages."New value: +"Total pages at perPage."
  2. Changed5 schema fields changed
    • changedInput schema / properties / fill_gaps / description
      Previous value: -"When true (the default), any year the surveys do not cover falls back to PIP's own estimate for it instead of being left out — so a single-year query still answers, and a full-history query returns a row per year rather than only the survey years. Those fallback rows carry no inequality data. Set false to return survey-derived rows only, accepting an empty result for years no survey covers and for economies PIP publishes only as model estimates. It also decides what \"MRV\" resolves to, and has no effect on aggregate rows."New value: +"When true (the default), PIP's own estimate fills in whatever the surveys do not cover instead of leaving it out: a year with no survey, so a single-year query still answers and a full-history query returns a row per year rather than only the survey years, and a reporting level or welfare type a surveyed year lacks, such as a national estimate beside an urban-only survey. Those estimated rows carry no inequality data. Set false to return survey-derived rows only, accepting an empty result for years no survey covers and for economies PIP publishes only as model estimates. It also decides what \"MRV\" resolves to, and has no effect on aggregate rows."
    • removedInput schema / properties / per_page / maximum
      Removed value: -9007199254740991
    • changedInput schema / properties / reporting_level / description
      Previous value: -"Restrict results to one reporting level. Most economies publish a national figure only; ten publish a split and return an extra row per year for it, China with all three levels and the rest pairing national with either urban or rural. Every row states its own reportingLevel."New value: +"Restrict results to one reporting level. Most economies publish a national figure only. China alone publishes national, urban, and rural figures for the same year. Several others publish urban or rural figures in some years and national figures in others, and with fill_gaps true a year surveyed only in urban or rural areas also returns PIP's national estimate where PIP publishes one. Argentina publishes urban figures only, so \"national\" leaves it out. Every row states its own reportingLevel."
    • changedInput schema / properties / welfare_type / description
      Previous value: -"Restrict results to one welfare measure. Surveys measure either income or consumption and the two are not directly comparable, so a cross-country comparison is safer pinned to one. Omitted returns whichever each economy publishes, and both where an economy publishes both — thirty-five do, and those return two rows per year."New value: +"Restrict results to one welfare measure. Surveys measure either income or consumption and the two are not directly comparable, so a cross-country comparison is safer pinned to one. Omitted returns whichever measure each economy publishes, with a row for each measure in a year surveyed both ways; PIP's gap-filled estimates use one measure per year."
    • changedOutput schema / properties / notice / description
      Previous value: -"Context for an empty result set, for a page past the end of the results, for a page size reduced to the page cap, for a result carrying gap-filled or aggregate rows with no inequality data, and for economies fill_gaps false left out."New value: +"Context for an empty result set, for a page past the end of the results, for a page size reduced to the page cap, for a result carrying gap-filled or aggregate rows with no inequality data, for survey rows returned without the gap-filled estimates PIP failed to serve, and for economies fill_gaps false left out."
  3. Changed5 schema fields changed
    • changedInput schema / properties / per_page / description
      Previous value: -"Results per page (default: server default, max: 1000). \"all\" countries across \"all\" years runs to several thousand rows. One page holds at most 70 estimates, which keeps a response within about 50 KB; a larger value, the server default included, is reduced to that cap and echoed as appliedFilters.perPage, and totalPages is counted at the reduced size; notice discloses the reduction whenever the result runs past one page."New value: +"Results per page (default: server default). Positive integers above 1000 are served at that maximum with the requested and served sizes echoed and a notice. totalPages uses the served size."
    • changedInput schema / properties / per_page / maximum
      Previous value: -1000New value: +9007199254740991
    • addedOutput schema / properties / estimates / items / properties / distributionType
      Added value: +{
      +  "description": "PIP distribution classification, such as micro, group, or imputed. Null when PIP publishes none.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / estimates / items / properties / estimateType
      Added value: +{
      +  "description": "PIP estimate classification: actual, nowcast, or projection. Null when PIP publishes none; independent of estimationType.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / estimates / items / required
      Previous value: -[
      -  "countryCode",
      -  "countryName",
      -  "regionCode",
      -  "regionName",
      -  "reportingYear",
      -  "reportingLevel",
      -  "welfareType",
      -  "povertyLine",
      -  "headcount",
      -  "povertyGap",
      -  "povertySeverity",
      -  "watts",
      -  "mean",
      -  "median",
      -  "gini",
      -  "mld",
      -  "polarization",
      -  "decileShares",
      -  "population",
      -  "popInPoverty",
      -  "surveyYear",
      -  "surveyAcronym",
      -  "surveyComparability",
      -  "comparableSpell",
      -  "estimationType",
      -  "isInterpolated",
      -  "isAggregate"
      -]New value: +[
      +  "countryCode",
      +  "countryName",
      +  "regionCode",
      +  "regionName",
      +  "reportingYear",
      +  "reportingLevel",
      +  "welfareType",
      +  "povertyLine",
      +  "headcount",
      +  "povertyGap",
      +  "povertySeverity",
      +  "watts",
      +  "mean",
      +  "median",
      +  "gini",
      +  "mld",
      +  "polarization",
      +  "decileShares",
      +  "population",
      +  "popInPoverty",
      +  "surveyYear",
      +  "surveyAcronym",
      +  "surveyComparability",
      +  "comparableSpell",
      +  "estimationType",
      +  "estimateType",
      +  "distributionType",
      +  "isInterpolated",
      +  "isAggregate"
      +]
  4. Changed3 schema fields changed
    • changedInput schema / properties / countries / description
      Previous value: -"Country codes: a single code, an array, or one string separated by commas, semicolons, or pipes. Economies go by ISO3 (IND, USA) or ISO2 (IN, US) code, including those PIP publishes only as model estimates (AFG); \"all\" returns every economy. PIP's aggregates are served too: WLD; the World Bank regions AFE, AFW, EAS, ECS, LCN, MEA, NAC, SAS, SSF; the income groups HIC, LIC, LMIC (or LMC), UMIC (or UMC); and the lending groups IDX (IDA only), IDB or BLND (IDA blend), IBD or IBRD (IBRD only), and REST. Income groups follow the fiscal-year classification PIP's data release was built with — FY2026 (July 2025) for release 20260922 — applied to every year, so membership can differ from the current one worldbank_get_country reports. IDA (IDA total) is rejected because PIP computes no IDA total: ask for IDX and IDB together. Other aggregate codes (SSA, EAP, FCVY, MIC, LMY) are rejected, and welfare_type and reporting_level cannot be combined with an aggregate."New value: +"Country codes: a single code, an array, or one string separated by commas, semicolons, or pipes. Economies go by ISO3 (IND, USA) or ISO2 (IN, US) code, including those PIP publishes only as model estimates (AFG); \"all\" returns every economy. PIP's aggregates are served too: WLD; the World Bank regions AFE, AFW, EAS, ECS, LCN, MEA, NAC, SAS, SSF; the income groups HIC, LIC, LMIC (or LMC), UMIC (or UMC); the fragility groups FCVY (fragile) and FCVN (not fragile); and the lending groups IDX (IDA only), IDB or BLND (IDA blend), IBD or IBRD (IBRD only), and REST. Income groups follow the fiscal-year classification PIP's data release was built with — FY2026 (July 2025) for release 20260922 — applied to every year, so membership can differ from the current one worldbank_get_country reports. IDA (IDA total) is rejected because PIP computes no IDA total: ask for IDX and IDB together. FCS is rejected: use PIP's FCVY for its fragile group, whose membership is not asserted to match WDI's FCS. Other aggregate codes (SSA, EAP, MIC, LMY) are rejected, and welfare_type and reporting_level cannot be combined with an aggregate."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `country_not_found`: No economy or aggregate PIP publishes goes by one or more of the codes, including a two-character code the World Bank country listing does not carry. `ambiguous_aggregate`: IDA or its ISO2 code XG names WDI's IDA total, which PIP does not compute. `unserved_aggregate`: An aggregate code this tool does not serve: an FCV or PovcalNet grouping from PIP's regions table (FCVY, SSA, EAP), or a WDI income aggregate PIP computes none for (MIC, LMY). `aggregate_filter_conflict`: welfare_type or reporting_level was set alongside an aggregate code. `invalid_parameter`: PIP rejected the value supplied for a query parameter other than country. `ppp_version_unavailable`: ppp_version names a PPP vintage PIP's current data release is not published at. `upstream_unavailable`: PIP answered with a server error, or the World Bank Indicators API country listing that resolves an ISO2 code could not be loaded. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `country_not_found`: No economy or aggregate PIP publishes goes by one or more of the codes, including a two-character code the World Bank country listing does not carry. `ambiguous_aggregate`: IDA or its ISO2 code XG names WDI's IDA total, which PIP does not compute. `unserved_aggregate`: An aggregate code this tool does not serve: WDI's FCS, a PovcalNet grouping from PIP's regions table (SSA, EAP), or a WDI income aggregate PIP computes none for (MIC, LMY). `aggregate_filter_conflict`: welfare_type or reporting_level was set alongside an aggregate code. `invalid_parameter`: PIP rejected the value supplied for a query parameter other than country. `ppp_version_unavailable`: ppp_version names a PPP vintage PIP's current data release is not published at. `upstream_unavailable`: PIP answered with a server error, or the World Bank Indicators API country listing that resolves an ISO2 code could not be loaded. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / estimates / items / properties / isAggregate / description
      Previous value: -"True on a PIP aggregate — World, a region, an income group, or a lending group — whose median, distributional block, survey fields, welfareType, and reportingLevel are null."New value: +"True on a PIP aggregate — World, a region, an income group, a lending group, or a fragility group — whose median, distributional block, survey fields, welfareType, and reportingLevel are null."
  5. Changed3 schema fields changed
    • changedInput schema / properties / countries / anyOf
      Previous value: -[
      -  {
      -    "description": "A single country code, a comma-separated list, or \"all\".",
      -    "pattern": "[^\\s;,]",
      -    "type": "string"
      -  },
      -  {
      -    "description": "An array of country codes.",
      -    "items": {
      -      "description": "A country code.",
      -      "type": "string"
      -    },
      -    "minItems": 1,
      -    "type": "array"
      -  }
      -]New value: +[
      +  {
      +    "description": "A single country code, a list separated by commas, semicolons, or pipes, or \"all\".",
      +    "pattern": "[^\\s;,|]",
      +    "type": "string"
      +  },
      +  {
      +    "description": "An array of country codes; an element holding several codes separated by commas, semicolons, or pipes is split too.",
      +    "items": {
      +      "description": "A country code.",
      +      "type": "string"
      +    },
      +    "minItems": 1,
      +    "type": "array"
      +  }
      +]
    • changedInput schema / properties / countries / description
      Previous value: -"Country codes: a single code, an array, or one string separated by commas or semicolons. Economies go by ISO3 (IND, USA) or ISO2 (IN, US) code, including those PIP publishes only as model estimates (AFG); \"all\" returns every economy. PIP's aggregates are served too: WLD; the World Bank regions AFE, AFW, EAS, ECS, LCN, MEA, NAC, SAS, SSF; the income groups HIC, LIC, LMIC (or LMC), UMIC (or UMC); and the lending groups IDX (IDA only), IDB or BLND (IDA blend), IBD or IBRD (IBRD only), and REST. Income groups follow the fiscal-year classification PIP's data release was built with — FY2026 (July 2025) for release 20260922 — applied to every year, so membership can differ from the current one worldbank_get_country reports. IDA (IDA total) is rejected because PIP computes no IDA total: ask for IDX and IDB together. Other aggregate codes (SSA, EAP, FCVY, MIC, LMY) are rejected, and welfare_type and reporting_level cannot be combined with an aggregate."New value: +"Country codes: a single code, an array, or one string separated by commas, semicolons, or pipes. Economies go by ISO3 (IND, USA) or ISO2 (IN, US) code, including those PIP publishes only as model estimates (AFG); \"all\" returns every economy. PIP's aggregates are served too: WLD; the World Bank regions AFE, AFW, EAS, ECS, LCN, MEA, NAC, SAS, SSF; the income groups HIC, LIC, LMIC (or LMC), UMIC (or UMC); and the lending groups IDX (IDA only), IDB or BLND (IDA blend), IBD or IBRD (IBRD only), and REST. Income groups follow the fiscal-year classification PIP's data release was built with — FY2026 (July 2025) for release 20260922 — applied to every year, so membership can differ from the current one worldbank_get_country reports. IDA (IDA total) is rejected because PIP computes no IDA total: ask for IDX and IDB together. Other aggregate codes (SSA, EAP, FCVY, MIC, LMY) are rejected, and welfare_type and reporting_level cannot be combined with an aggregate."
    • changedInput schema / properties / per_page / description
      Previous value: -"Results per page (default: server default, max: 1000). \"all\" countries across \"all\" years runs to several thousand rows. One page holds at most 70 estimates, which keeps a response within about 50 KB; a larger value, the server default included, is reduced to that cap, disclosed in notice, and echoed as appliedFilters.perPage, and totalPages is counted at the reduced size."New value: +"Results per page (default: server default, max: 1000). \"all\" countries across \"all\" years runs to several thousand rows. One page holds at most 70 estimates, which keeps a response within about 50 KB; a larger value, the server default included, is reduced to that cap and echoed as appliedFilters.perPage, and totalPages is counted at the reduced size; notice discloses the reduction whenever the result runs past one page."
  6. Changed1 schema field changed
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `country_not_found`: No economy or aggregate PIP publishes goes by one or more of the codes, including a two-character code the World Bank country listing does not carry. `ambiguous_aggregate`: IDA or its ISO2 code XG names WDI's IDA total, which PIP does not compute. `unserved_aggregate`: An aggregate code this tool does not serve: an FCV or PovcalNet grouping from PIP's regions table (FCVY, SSA, EAP), or a WDI income aggregate PIP computes none for (MIC, LMY). `aggregate_filter_conflict`: welfare_type or reporting_level was set alongside an aggregate code. `invalid_parameter`: PIP rejected the value supplied for a query parameter other than country. `ppp_version_unavailable`: ppp_version names a PPP vintage PIP's current data release is not published at. `upstream_unavailable`: PIP answered with a server error. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `country_not_found`: No economy or aggregate PIP publishes goes by one or more of the codes, including a two-character code the World Bank country listing does not carry. `ambiguous_aggregate`: IDA or its ISO2 code XG names WDI's IDA total, which PIP does not compute. `unserved_aggregate`: An aggregate code this tool does not serve: an FCV or PovcalNet grouping from PIP's regions table (FCVY, SSA, EAP), or a WDI income aggregate PIP computes none for (MIC, LMY). `aggregate_filter_conflict`: welfare_type or reporting_level was set alongside an aggregate code. `invalid_parameter`: PIP rejected the value supplied for a query parameter other than country. `ppp_version_unavailable`: ppp_version names a PPP vintage PIP's current data release is not published at. `upstream_unavailable`: PIP answered with a server error, or the World Bank Indicators API country listing that resolves an ISO2 code could not be loaded. Other values are possible when a failure originates below the handler."
  7. Changed26 schema fields changed
    • changedInput schema / properties / countries / description
      Previous value: -"Country codes. PIP identifies economies by ISO3 code (IND, USA, BRA); \"all\" returns every economy it covers. Pass a single code, an array, or one string separated by commas or semicolons. Regional, income-group, and world aggregate codes (WLD, SSF, HIC) are not served by this dataset — query the individual economies instead."New value: +"Country codes: a single code, an array, or one string separated by commas or semicolons. Economies go by ISO3 (IND, USA) or ISO2 (IN, US) code, including those PIP publishes only as model estimates (AFG); \"all\" returns every economy. PIP's aggregates are served too: WLD; the World Bank regions AFE, AFW, EAS, ECS, LCN, MEA, NAC, SAS, SSF; the income groups HIC, LIC, LMIC (or LMC), UMIC (or UMC); and the lending groups IDX (IDA only), IDB or BLND (IDA blend), IBD or IBRD (IBRD only), and REST. Income groups follow the fiscal-year classification PIP's data release was built with — FY2026 (July 2025) for release 20260922 — applied to every year, so membership can differ from the current one worldbank_get_country reports. IDA (IDA total) is rejected because PIP computes no IDA total: ask for IDX and IDB together. Other aggregate codes (SSA, EAP, FCVY, MIC, LMY) are rejected, and welfare_type and reporting_level cannot be combined with an aggregate."
    • changedInput schema / properties / fill_gaps / description
      Previous value: -"When true (the default), any year the surveys do not cover falls back to PIP's own estimate for it instead of being left out — so a single-year query still answers, and a full-history query returns a row per year rather than only the survey years. Those fallback rows carry no inequality data. Set false to return survey-derived rows only, accepting an empty result for years no survey covers."New value: +"When true (the default), any year the surveys do not cover falls back to PIP's own estimate for it instead of being left out — so a single-year query still answers, and a full-history query returns a row per year rather than only the survey years. Those fallback rows carry no inequality data. Set false to return survey-derived rows only, accepting an empty result for years no survey covers and for economies PIP publishes only as model estimates. It also decides what \"MRV\" resolves to, and has no effect on aggregate rows."
    • changedInput schema / properties / year / description
      Previous value: -"Reporting year to return. A four-digit year (2022), \"all\" for the full history, or \"MRV\" for the most recent year available. Omitted behaves as \"all\". PIP coverage starts in 1963 and runs to the current year."New value: +"Reporting year to return. A four-digit year (2022), \"all\" for the full history, or \"MRV\" for the most recent year. Omitted behaves as \"all\". MRV follows fill_gaps: with fill_gaps true each economy resolves to PIP's latest estimate year, and with fill_gaps false to its latest survey year; an aggregate resolves to its newest reporting year. PIP coverage starts in 1963 and ends at the last year of the data release in use; a year outside that span fails with the span named."
    • changedOutput schema / properties / appliedFilters / properties / countries / description
      Previous value: -"Country codes as sent to PIP — arrays and semicolon-separated input are normalized to a comma-joined list, so this shows the value actually queried."New value: +"Codes as queried, comma-joined across economies and aggregates: uppercased and deduplicated, two-character codes resolved to their three-character form (NG → NGA), and WDI group spellings read as PIP's (LMC → LMIC, IDB → BLND, IBD → IBRD). PIP's IDA-only group stays IDX, since IDA means IDA total. Every code here can be sent back as countries and asks for the same economy or group."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `country_not_found`: PIP does not recognize one or more of the country codes. `invalid_parameter`: PIP rejected the value supplied for a query parameter other than country. `ppp_version_unavailable`: ppp_version names a PPP vintage PIP's current data release is not published at. `upstream_unavailable`: PIP answered with a server error, which an aggregate country code also produces. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `country_not_found`: No economy or aggregate PIP publishes goes by one or more of the codes, including a two-character code the World Bank country listing does not carry. `ambiguous_aggregate`: IDA or its ISO2 code XG names WDI's IDA total, which PIP does not compute. `unserved_aggregate`: An aggregate code this tool does not serve: an FCV or PovcalNet grouping from PIP's regions table (FCVY, SSA, EAP), or a WDI income aggregate PIP computes none for (MIC, LMY). `aggregate_filter_conflict`: welfare_type or reporting_level was set alongside an aggregate code. `invalid_parameter`: PIP rejected the value supplied for a query parameter other than country. `ppp_version_unavailable`: ppp_version names a PPP vintage PIP's current data release is not published at. `upstream_unavailable`: PIP answered with a server error. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "country_not_found",
      -  "invalid_parameter",
      -  "ppp_version_unavailable",
      -  "upstream_unavailable"
      -]New value: +[
      +  "country_not_found",
      +  "ambiguous_aggregate",
      +  "unserved_aggregate",
      +  "aggregate_filter_conflict",
      +  "invalid_parameter",
      +  "ppp_version_unavailable",
      +  "upstream_unavailable"
      +]
    • changedOutput schema / properties / estimates / description
      Previous value: -"Poverty and inequality estimates for this page, ordered by country, year, reporting level, then welfare type."New value: +"Poverty and inequality estimates for this page — economies and aggregates in one list, ordered by code, year, reporting level, then welfare type."
    • changedOutput schema / properties / estimates / items / description
      Previous value: -"One country × year × reporting-level × welfare-type estimate."New value: +"One economy × year × reporting-level × welfare-type estimate, or one aggregate × year."
    • changedOutput schema / properties / estimates / items / properties / countryCode / description
      Previous value: -"ISO3 country code."New value: +"ISO3 code of the economy, or the aggregate code (SSF, LIC, WLD) on an aggregate row — IDX for PIP's IDA-only group. Accepted back as countries."
    • changedOutput schema / properties / estimates / items / properties / countryName / description
      Previous value: -"Economy name."New value: +"Economy or aggregate name — \"IDA only\" for IDX, as WDI names it."
    • changedOutput schema / properties / estimates / items / properties / estimationType / description
      Previous value: -"How the row was produced: \"survey\" carries the full inequality block; \"interpolation\", \"extrapolation\", and \"CMD estimation\" are gap-filled and carry none. The last is what PIP publishes for economies it has no survey for at all."New value: +"How the row was produced. On an economy: \"survey\" carries the full inequality block; \"interpolation\", \"extrapolation\", and \"CMD estimation\" are gap-filled and carry none, the last being what PIP publishes for economies it has no survey for at all. On an aggregate: \"actual\", \"nowcast\", or \"projection\"."
    • addedOutput schema / properties / estimates / items / properties / isAggregate
      Added value: +{
      +  "description": "True on a PIP aggregate — World, a region, an income group, or a lending group — whose median, distributional block, survey fields, welfareType, and reportingLevel are null.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / estimates / items / properties / isInterpolated / description
      Previous value: -"True on the interpolated and extrapolated rows. Read estimationType instead of relying on this alone — a \"CMD estimation\" row is also gap-filled but reports false here."New value: +"True on the interpolated and extrapolated rows. Read estimationType instead of relying on this alone — a \"CMD estimation\" row is also gap-filled but reports false here. Null on aggregate rows."
    • changedOutput schema / properties / estimates / items / properties / isInterpolated / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / estimates / items / properties / median / description
      Previous value: -"Median daily welfare per person in PPP dollars."New value: +"Median daily welfare per person in PPP dollars. Null on aggregate rows, which PIP publishes without one."
    • addedOutput schema / properties / estimates / items / properties / popInPoverty
      Added value: +{
      +  "description": "Number of people below the poverty line, as PIP publishes it on aggregate rows. Null on economy rows, where population × headcount gives it.",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / estimates / items / properties / regionCode / description
      Previous value: -"PIP region code (e.g. SAS, NAC, SSA)."New value: +"PIP region code of the economy (e.g. SAS, NAC, SSF); null on an aggregate row."
    • changedOutput schema / properties / estimates / items / properties / regionCode / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / estimates / items / properties / regionName / description
      Previous value: -"PIP region name."New value: +"PIP region name of the economy; null on an aggregate row."
    • changedOutput schema / properties / estimates / items / properties / regionName / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / estimates / items / properties / reportingLevel / description
      Previous value: -"Coverage of this estimate: national, urban, or rural."New value: +"Coverage of this estimate: national, urban, or rural. Null on an aggregate row."
    • changedOutput schema / properties / estimates / items / properties / reportingLevel / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / estimates / items / properties / welfareType / description
      Previous value: -"Whether the underlying survey measures income or consumption. The two are not directly comparable across economies."New value: +"Whether the underlying survey measures income or consumption. The two are not directly comparable across economies. Null on an aggregate row, which spans both."
    • changedOutput schema / properties / estimates / items / properties / welfareType / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / estimates / items / required
      Previous value: -[
      -  "countryCode",
      -  "countryName",
      -  "regionCode",
      -  "regionName",
      -  "reportingYear",
      -  "reportingLevel",
      -  "welfareType",
      -  "povertyLine",
      -  "headcount",
      -  "povertyGap",
      -  "povertySeverity",
      -  "watts",
      -  "mean",
      -  "median",
      -  "gini",
      -  "mld",
      -  "polarization",
      -  "decileShares",
      -  "population",
      -  "surveyYear",
      -  "surveyAcronym",
      -  "surveyComparability",
      -  "comparableSpell",
      -  "estimationType",
      -  "isInterpolated"
      -]New value: +[
      +  "countryCode",
      +  "countryName",
      +  "regionCode",
      +  "regionName",
      +  "reportingYear",
      +  "reportingLevel",
      +  "welfareType",
      +  "povertyLine",
      +  "headcount",
      +  "povertyGap",
      +  "povertySeverity",
      +  "watts",
      +  "mean",
      +  "median",
      +  "gini",
      +  "mld",
      +  "polarization",
      +  "decileShares",
      +  "population",
      +  "popInPoverty",
      +  "surveyYear",
      +  "surveyAcronym",
      +  "surveyComparability",
      +  "comparableSpell",
      +  "estimationType",
      +  "isInterpolated",
      +  "isAggregate"
      +]
    • changedOutput schema / properties / notice / description
      Previous value: -"Context for an empty result set, for a page past the end of the results, for a page size reduced to the page cap, or for a result carrying gap-filled rows with no inequality data."New value: +"Context for an empty result set, for a page past the end of the results, for a page size reduced to the page cap, for a result carrying gap-filled or aggregate rows with no inequality data, and for economies fill_gaps false left out."
  8. Changed15 schema fields changed
    • changedInput schema / properties / per_page / description
      Previous value: -"Results per page (default: server default, max: 1000). \"all\" countries across \"all\" years runs to a few thousand rows."New value: +"Results per page (default: server default, max: 1000). \"all\" countries across \"all\" years runs to several thousand rows. One page holds at most 70 estimates, which keeps a response within about 50 KB; a larger value, the server default included, is reduced to that cap, disclosed in notice, and echoed as appliedFilters.perPage, and totalPages is counted at the reduced size."
    • changedInput schema / properties / poverty_line / description
      Previous value: -"Poverty line in PPP dollars per person per day — any threshold, not only the published ones. Omitted uses the international poverty line of the PIP release currently served, so the applied value is echoed back on every row as povertyLine rather than assumed here. The poverty line does not affect the inequality fields, which describe the whole distribution."New value: +"Poverty line in PPP dollars per person per day, at the applied PPP vintage — any threshold, not only the published ones. Omitted uses the international poverty line for that vintage, so the applied value is echoed back on every row as povertyLine rather than assumed here. The poverty line does not affect the inequality fields, which describe the whole distribution."
    • addedInput schema / properties / ppp_version
      Added value: +{
      +  "anyOf": [
      +    {
      +      "const": "",
      +      "type": "string"
      +    },
      +    {
      +      "description": "A PPP vintage year.",
      +      "pattern": "^\\d{4}$",
      +      "type": "string"
      +    }
      +  ],
      +  "description": "PPP vintage to express every dollar figure in — the poverty line, mean, and median — as a four-digit year (\"2021\", \"2017\"). It must be one of the vintages PIP's current data release is published at; any other value fails with the available vintages named. Omitted uses the newest vintage of that release. The vintage and release applied are echoed as appliedFilters.pppVersion and appliedFilters.releaseVersion."
      +}
    • changedOutput schema / properties / appliedFilters / properties / perPage / description
      Previous value: -"Results per page used, including the server default."New value: +"Results per page actually served — the requested size or server default, reduced to the page cap when larger. totalPages is counted at this size."
    • addedOutput schema / properties / appliedFilters / properties / pppVersion
      Added value: +{
      +  "description": "PPP vintage every dollar figure in these estimates is expressed in, whether requested or resolved as the newest vintage of the release.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / appliedFilters / properties / releaseVersion
      Added value: +{
      +  "description": "PIP data release the estimates come from, as its YYYYMMDD stamp — the newest release PIP lists. Survey and gap-filled rows share it.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / appliedFilters / properties / requestedPerPage
      Added value: +{
      +  "description": "Page size asked for, requested or server default, present only when it exceeded the page cap and perPage was reduced.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / appliedFilters / required
      Previous value: -[
      -  "countries",
      -  "fillGaps",
      -  "page",
      -  "perPage"
      -]New value: +[
      +  "countries",
      +  "pppVersion",
      +  "releaseVersion",
      +  "fillGaps",
      +  "page",
      +  "perPage"
      +]
    • changedOutput schema / properties / currentPage / description
      Previous value: -"Current page number."New value: +"Page number requested — past totalPages when the request ran off the end."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `country_not_found`: PIP does not recognize one or more of the country codes. `invalid_parameter`: PIP rejected the value supplied for a query parameter other than country. `upstream_unavailable`: PIP answered with a server error, which an aggregate country code also produces. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `country_not_found`: PIP does not recognize one or more of the country codes. `invalid_parameter`: PIP rejected the value supplied for a query parameter other than country. `ppp_version_unavailable`: ppp_version names a PPP vintage PIP's current data release is not published at. `upstream_unavailable`: PIP answered with a server error, which an aggregate country code also produces. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "country_not_found",
      -  "invalid_parameter",
      -  "upstream_unavailable"
      -]New value: +[
      +  "country_not_found",
      +  "invalid_parameter",
      +  "ppp_version_unavailable",
      +  "upstream_unavailable"
      +]
    • addedOutput schema / properties / estimates / items / properties / comparableSpell
      Added value: +{
      +  "description": "The span of years the comparable series behind this row covers, as PIP labels it (\"2022\", \"2011 - 2022\"). Null on gap-filled rows.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / estimates / items / properties / surveyComparability
      Added value: +{
      +  "description": "PIP's series comparability code within the economy: 0 is its oldest comparable series and the code steps up each time comparability breaks, so two survey rows of one economy compare over time only when they share it. Null on gap-filled rows.",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / estimates / items / required
      Previous value: -[
      -  "countryCode",
      -  "countryName",
      -  "regionCode",
      -  "regionName",
      -  "reportingYear",
      -  "reportingLevel",
      -  "welfareType",
      -  "povertyLine",
      -  "headcount",
      -  "povertyGap",
      -  "povertySeverity",
      -  "watts",
      -  "mean",
      -  "median",
      -  "gini",
      -  "mld",
      -  "polarization",
      -  "decileShares",
      -  "population",
      -  "surveyYear",
      -  "surveyAcronym",
      -  "estimationType",
      -  "isInterpolated"
      -]New value: +[
      +  "countryCode",
      +  "countryName",
      +  "regionCode",
      +  "regionName",
      +  "reportingYear",
      +  "reportingLevel",
      +  "welfareType",
      +  "povertyLine",
      +  "headcount",
      +  "povertyGap",
      +  "povertySeverity",
      +  "watts",
      +  "mean",
      +  "median",
      +  "gini",
      +  "mld",
      +  "polarization",
      +  "decileShares",
      +  "population",
      +  "surveyYear",
      +  "surveyAcronym",
      +  "surveyComparability",
      +  "comparableSpell",
      +  "estimationType",
      +  "isInterpolated"
      +]
    • changedOutput schema / properties / notice / description
      Previous value: -"Context for an empty result set, or for a result carrying gap-filled rows with no inequality data."New value: +"Context for an empty result set, for a page past the end of the results, for a page size reduced to the page cap, or for a result carrying gap-filled rows with no inequality data."
  9. Changed22 schema fields changed
    • removedOutput schema / properties / estimates / items / properties / gini / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / estimates / items / properties / gini / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / estimates / items / properties / headcount / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / estimates / items / properties / headcount / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / estimates / items / properties / mean / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / estimates / items / properties / mean / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / estimates / items / properties / median / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / estimates / items / properties / median / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / estimates / items / properties / mld / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / estimates / items / properties / mld / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / estimates / items / properties / polarization / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / estimates / items / properties / polarization / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / estimates / items / properties / population / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / estimates / items / properties / population / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / estimates / items / properties / povertyGap / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / estimates / items / properties / povertyGap / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / estimates / items / properties / povertySeverity / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / estimates / items / properties / povertySeverity / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / estimates / items / properties / surveyYear / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / estimates / items / properties / surveyYear / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / estimates / items / properties / watts / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / estimates / items / properties / watts / type
      Added value: +[
      +  "number",
      +  "null"
      +]
  10. Changed6 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / additionalProperties
      Added value: +false
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "estimates",
      +      "appliedFilters",
      +      "totalCount",
      +      "currentPage",
      +      "totalPages"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / error
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Present when the call failed. Absent on success.",
      +  "properties": {
      +    "code": {
      +      "description": "JSON-RPC error code for this failure.",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "data": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "reason": {
      +          "description": "Machine-readable failure mode. Declared by this tool: `country_not_found`: PIP does not recognize one or more of the country codes. `invalid_parameter`: PIP rejected the value supplied for a query parameter other than country. `upstream_unavailable`: PIP answered with a server error, which an aggregate country code also produces. Other values are possible when a failure originates below the handler.",
      +          "examples": [
      +            "country_not_found",
      +            "invalid_parameter",
      +            "upstream_unavailable"
      +          ],
      +          "type": "string"
      +        },
      +        "recovery": {
      +          "additionalProperties": {},
      +          "description": "Actionable next step for the caller.",
      +          "properties": {
      +            "hint": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hint"
      +          ],
      +          "type": "object"
      +        },
      +        "retryable": {
      +          "description": "Whether retrying may succeed.",
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "message": {
      +      "description": "Human-readable description of what went wrong.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "estimates",
      -  "appliedFilters",
      -  "totalCount",
      -  "currentPage",
      -  "totalPages"
      -]
  11. Added

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the read-only, open-world, and idempotent annotations, it explains vintage-dependent welfare units, arbitrary-line aggregate computation, and the distinction between survey and gap-filled rows. The warning that inequality fields on gap-filled rows are null by design is especially useful for interpreting results correctly.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The three sentences are front-loaded and consistently useful, with no filler or repetition of annotation-level safety claims. However, the metric-heavy opening and dense single-paragraph presentation make the definition somewhat harder to scan than it needs to be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Together with the rich schema, output schema, and safety annotations, the description supplies the key selection, interpretation, and sibling-differentiation context an agent needs. It addresses non-obvious units, aggregate behavior, and null semantics without unnecessarily documenting return fields already covered by the output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and the nine parameters already receive unusually detailed documentation there. The description reinforces ppp_version and arbitrary poverty lines but adds little new parameter-level guidance; its estimationType explanation primarily clarifies output interpretation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource—querying poverty and inequality estimates from PIP—and enumerates the available poverty, welfare, population, and inequality measures. It also distinguishes PIP's economies and aggregates from the WDI series accessed through worldbank_get_data.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly contrasts this tool with worldbank_get_data, explaining that PIP welfare uses PPP dollars per person per day and that PIP aggregates can be computed at any line rather than only published lines. This gives the agent concrete conditions for choosing this tool over its closest sibling.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.