changedInput schema / properties / filter / description
Previous value: -"Text that narrows either listing to entries whose id and name, together, contain every word of it. Case, diacritics, punctuation, and word order are ignored, and a word may be part of a longer one: \"nairobi kenya\" matches KEN_Nairobi_Province_KE.NP_51328_KEN004, and \"ZM\" matches ZM.WE. Aggregate names such as Sub-Saharan Africa match only with include_aggregates=true. Applied after the other filters and before pagination, so totalCount and totalPages count matches. A filter with no letter or digit, blank included, is absent."New value: +"Text whose every word must appear in an entry's id and name together, ignoring case, diacritics, punctuation, and order; a word may be part of a longer one (\"nairobi kenya\" matches KEN_Nairobi_Province_KE.NP_51328_KEN004). Aggregates match only with include_aggregates=true. Applied before paging, so the totals count matches; one with no letter or digit is ignored."
changedInput schema / properties / include_aggregates / description
Previous value: -"When true, includes regional, income-group, and world aggregate entries alongside individual countries. Default false (individual countries only). No aggregate is returned under region, income_level, or lending_type, whichever code is given, so this changes nothing when any of them is set."New value: +"Also return regional, income-group, and world aggregates (default false: countries only). No effect with region, income_level, or lending_type, which never return aggregates."
changedInput schema / properties / income_level / description
Previous value: -"Filter by income group code: LIC (Low income), LMC (Lower middle income), UMC (Upper middle income), HIC (High income)."New value: +"Income group code: LIC (Low), LMC (Lower middle), UMC (Upper middle), or HIC (High income)."
changedInput schema / properties / lending_type / anyOf
Previous value: -[
- {
- "const": "",
- "type": "string"
- },
- {
- "description": "IDX (IDA), IBD (IBRD), IDB (Blend), or LNX (Not classified).",
- "enum": [
- "IBD",
- "IDB",
- "IDX",
- "LNX"
- ],
- "type": "string"
- }
-]New value: +[
+ {
+ "const": "",
+ "type": "string"
+ },
+ {
+ "description": "A lending type code.",
+ "enum": [
+ "IBD",
+ "IDB",
+ "IDX",
+ "LNX"
+ ],
+ "type": "string"
+ }
+]
changedInput schema / properties / lending_type / description
Previous value: -"Filter by World Bank lending type code: IDX (IDA), IBD (IBRD), IDB (Blend — eligible for both), or LNX (Not classified). IDX, IBD, and IDB are also the codes worldbank_get_poverty takes for its lending groups; a country's lendingType field reports the name (IDA, IBRD, Blend, Not classified)."New value: +"Lending type code: IDX (IDA), IBD (IBRD), IDB (Blend, eligible for both), or LNX (Not classified). worldbank_get_poverty takes IDX, IBD, and IDB for its lending groups."
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 300 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 300 are served at that maximum, with a notice."
changedInput schema / properties / region / description
Previous value: -"Filter by World Bank region code. A country's region.id is one of EAS (East Asia & Pacific), ECS (Europe & Central Asia), LCN (Latin America & Caribbean), MEA (Middle East, North Africa, Afghanistan & Pakistan), NAC (North America), SAS (South Asia), or SSF (Sub-Saharan Africa). Any other World Bank region or grouping code also filters, by membership: AFE (Africa Eastern and Southern), AFW (Africa Western and Central), ARB (Arab World), EUU (European Union), LDC (Least developed countries), and the rest of the codes the World Bank publishes for regions."New value: +"Region code, as region.id reports: EAS (East Asia & Pacific), ECS (Europe & Central Asia), LCN (Latin America & Caribbean), MEA (Middle East, North Africa, Afghanistan & Pakistan), NAC (North America), SAS (South Asia), or SSF (Sub-Saharan Africa). Other World Bank region and grouping codes (AFE, AFW, ARB, EUU, LDC, …) filter by membership."
changedInput schema / properties / source_id / description
Previous value: -"Select a source-specific entity listing. Entries carry canonical id, name and sourceId only. region, income_level, lending_type, and include_aggregates=true are unavailable here (include_aggregates' default false keeps every source entity); filter applies."New value: +"Source ID (from worldbank_list_sources) whose own entities to list, as id, name, and sourceId only. region, income_level, lending_type, and include_aggregates=true are rejected with it (the default false keeps every entity); filter applies."
changedOutput schema / properties / appliedFilters / description
Previous value: -"The effective listing parameters — which filters were in force and the page size served."New value: +"Parameters in force for this listing; a filter not applied is omitted."
changedOutput schema / properties / appliedFilters / properties / filter / description
Previous value: -"Text filter applied, trimmed; omitted when none."New value: +"filter applied, trimmed."
changedOutput schema / properties / appliedFilters / properties / includeAggregates / description
Previous value: -"Whether aggregates were requested, including the default of false."New value: +"include_aggregates in force."
changedOutput schema / properties / appliedFilters / properties / incomeLevel / description
Previous value: -"Income level code applied, omitted when none."New value: +"income_level applied."
changedOutput schema / properties / appliedFilters / properties / lendingType / description
Previous value: -"Lending type code applied, omitted when none."New value: +"lending_type applied."
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 / region / description
Previous value: -"Region code applied, omitted when none."New value: +"region applied."
changedOutput schema / properties / appliedFilters / properties / requestedPerPage / description
Previous value: -"Page size asked for, 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 / sourceId / description
Previous value: -"Source dataset requested, omitted for the global country listing."New value: +"source_id requested."
changedOutput schema / properties / countries / description
Previous value: -"Countries (and optionally aggregates) matching the filters."New value: +"Matching entries on this page."
changedOutput schema / properties / countries / items / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "description": "An entity from a selected source.",
- "properties": {
- "id": {
- "description": "Canonical source entity ID, accepted unchanged by worldbank_get_data.",
- "type": "string"
- },
- "name": {
- "description": "Source entity name.",
- "type": "string"
- },
- "sourceId": {
- "description": "Source owning this entity.",
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "sourceId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "A country or aggregate entry.",
- "properties": {
- "capitalCity": {
- "description": "Capital city name (empty for aggregates).",
- "type": "string"
- },
- "id": {
- "description": "Country or aggregate ID (ISO2 or WB aggregate code).",
- "type": "string"
- },
- "incomeLevel": {
- "additionalProperties": false,
- "description": "World Bank income classification.",
- "properties": {
- "id": {
- "description": "Income level code.",
- "type": "string"
- },
- "name": {
- "description": "Income level name.",
- "type": "string"
- }
- },
- "required": [
- "id",
- "name"
- ],
- "type": "object"
- },
- "isAggregate": {
- "description": "True when this entry is a regional or income-group aggregate rather than an individual country.",
- "type": "boolean"
- },
- "iso2": {
- "description": "ISO2 country code.",
- "type": "string"
- },
- "latitude": {
- "description": "Capital latitude (empty for aggregates).",
- "type": "string"
- },
- "lendingType": {
- "description": "World Bank lending type name: IDA, IBRD, Blend, or Not classified (lending_type filters by the codes IDX, IBD, IDB, LNX). Aggregates report Aggregates.",
- "type": "string"
- },
- "longitude": {
- "description": "Capital longitude (empty for aggregates).",
- "type": "string"
- },
- "name": {
- "description": "Country or aggregate name.",
- "type": "string"
- },
- "region": {
- "additionalProperties": false,
- "description": "World Bank region this country belongs to.",
- "properties": {
- "id": {
- "description": "Region code.",
- "type": "string"
- },
- "name": {
- "description": "Region name.",
- "type": "string"
- }
- },
- "required": [
- "id",
- "name"
- ],
- "type": "object"
- }
- },
- "required": [
- "id",
- "iso2",
- "name",
- "region",
- "incomeLevel",
- "lendingType",
- "capitalCity",
- "longitude",
- "latitude",
- "isAggregate"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "description": "A source entity.",
+ "properties": {
+ "id": {
+ "description": "Entity ID, which worldbank_get_data takes unchanged.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Entity name.",
+ "type": "string"
+ },
+ "sourceId": {
+ "description": "Source owning this entity.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "sourceId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "A country or aggregate.",
+ "properties": {
+ "capitalCity": {
+ "description": "Capital city; empty for aggregates, as are the coordinates.",
+ "type": "string"
+ },
+ "id": {
+ "description": "Three-character code (USA; SSF for an aggregate).",
+ "type": "string"
+ },
+ "incomeLevel": {
+ "additionalProperties": false,
+ "description": "Income classification.",
+ "properties": {
+ "id": {
+ "description": "Income level code.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Income level name.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ },
+ "isAggregate": {
+ "description": "True for a regional or income-group aggregate.",
+ "type": "boolean"
+ },
+ "iso2": {
+ "description": "ISO2 code.",
+ "type": "string"
+ },
+ "latitude": {
+ "description": "Capital latitude.",
+ "type": "string"
+ },
+ "lendingType": {
+ "description": "Lending type name: IDA, IBRD, Blend, Not classified, or Aggregates.",
+ "type": "string"
+ },
+ "longitude": {
+ "description": "Capital longitude.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Country or aggregate name.",
+ "type": "string"
+ },
+ "region": {
+ "additionalProperties": false,
+ "description": "World Bank region.",
+ "properties": {
+ "id": {
+ "description": "Region code.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Region name.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "id",
+ "iso2",
+ "name",
+ "region",
+ "incomeLevel",
+ "lendingType",
+ "capitalCity",
+ "longitude",
+ "latitude",
+ "isAggregate"
+ ],
+ "type": "object"
+ }
+]
changedOutput schema / properties / countries / items / description
Previous value: -"A global country or aggregate, or an entity from the selected source."New value: +"A country or aggregate, or a source entity."
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: `source_not_found`: source_id does not name a source. `source_not_queryable`: The selected source has no supported country/series/time layout. `unsupported_source_filter`: Global classification filters are combined with source_id. `invalid_filter`: An invalid region or income_level code was provided. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `source_not_found`: source_id does not name a source. `source_not_queryable`: The source lacks a country/series/time layout. `unsupported_source_filter`: Classification filters are combined with source_id. `invalid_filter`: Unknown region or income_level code. `upstream_timeout`: The World Bank Indicators API did not answer within the call's 50-second budget. Other values are possible when a failure originates below the handler."
changedOutput schema / properties / error / properties / data / properties / reason / examples
Previous value: -[
- "source_not_found",
- "source_not_queryable",
- "unsupported_source_filter",
- "invalid_filter"
-]New value: +[
+ "source_not_found",
+ "source_not_queryable",
+ "unsupported_source_filter",
+ "invalid_filter",
+ "upstream_timeout"
+]
changedOutput schema / properties / notice / description
Previous value: -"Context for an empty page — which filters matched nothing, or the page range that exists when the requested page is past the end — or for a page size reduced to the page cap."New value: +"Explains an empty result (which filters matched nothing), a page past the end, or a reduced page size."
changedOutput schema / properties / totalCount / description
Previous value: -"Total matching entries before pagination (includes aggregates if include_aggregates=true)."New value: +"Matching entries before pagination."
changedOutput schema / properties / totalPages / description
Previous value: -"Total number of pages."New value: +"Total pages at perPage."