Skip to main content
Glama

gbif-biodiversity-mcp-server

Occurrence Facet Aggregation

gbif_occurrence_facets
Read-onlyIdempotent

Aggregate occurrence counts across a dimension (COUNTRY, STATE_PROVINCE, YEAR, BASIS_OF_RECORD, DATASET_KEY, KINGDOM_KEY, etc.). Returns one page of facet values ranked by count descending — the top facetLimit at facetOffset 0, a later slice of the same ranking past that. No record payloads returned. Core tool for distribution analysis and trend queries: "which countries have the most records for this species?", "how has observation volume changed since 2010?". Key and GADM dimensions (KINGDOM_KEY through SPECIES_KEY, DATASET_KEY, PUBLISHING_ORG, GADM_LEVEL_0_GID through GADM_LEVEL_3_GID) return bare keys; includeLabels names the taxon, dataset, publishing organization, or administrative area behind each one on the page. Scope the aggregation with taxonKey (or checklistTaxonKey with checklistKey, for a Catalogue of Life key), country (uppercase ISO 3166-1 alpha-2), publishingCountry, stateProvince, gadmGid, year, month or a month range, eventDate (a date or date range), scientificName, latitude/longitude ranges, hasCoordinate, hasGeospatialIssue, isInCluster, coordinateUncertaintyInMeters, elevation and depth ranges, geometry and geoDistance (a radius around a point; all spatial filters intersect), basisOfRecord, datasetKey, publishingOrg, catalogNumber, institutionCode, recordedBy, mediaType, typeStatus, establishmentMeans, license, occurrenceStatus, or iucnRedListCategory filters. country, basisOfRecord, taxonKey, and checklistTaxonKey each take one value or an array: values within one filter are OR-ed, so an array aggregates into one ranking, and different filters still intersect, except that GBIF unions a taxon key with scientificName. Also the way to split a result set too large for gbif_search_occurrences to page (offset+limit caps at 100,001): facet by DATASET_KEY, then search each datasetKey on its own. Aggregates sightings only by default, matching gbif_search_occurrences and gbif_count_occurrences; to measure the presence/absence split itself, pass facet OCCURRENCE_STATUS with occurrenceStatus ANY.

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": {
      "facet": "<facet>"
    },
    "name": "gbif_occurrence_facets"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoObservation year as one year ("2024") or a range "min,max", both ends inclusive ("2020,2024"), where "*" may stand for one open end: "*,1990" keeps 1990 and earlier, "2020,*" 2020 and later. Any value, "*,*" included, drops records that carry no year. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.
depthNoDepth in meters below the local surface as a range "min,max", both ends inclusive, where "*" may stand for one open end ("200,*" keeps 200 m and deeper); negatives and decimals are accepted. A value without a comma is not a bound: GBIF matches only records at exactly that depth, so "200" is not "200 m and deeper". Any value, "*,*" included, drops records that carry no depth. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.
facetYesDimension to aggregate by (e.g., COUNTRY, YEAR, BASIS_OF_RECORD, SPECIES_KEY, OCCURRENCE_STATUS, IUCN_RED_LIST_CATEGORY). DATASET_KEY is the first cut when a result set is too large to page: every occurrence carries exactly one datasetKey, so its buckets cover totalOccurrences with no gap or overlap. BASIS_OF_RECORD and PUBLISHING_COUNTRY are gap-free second cuts for a dataset bucket still too large; both have a matching filter on the occurrence tools. A dimension a record can lack drops that record from every bucket: YEAR loses undated records; MONTH, STATE_PROVINCE, SPECIES_KEY, INSTITUTION_CODE, MEDIA_TYPE, RECORDED_BY, TYPE_STATUS, and ESTABLISHMENT_MEANS lose records lacking that dimension; GADM_LEVEL_0_GID, GADM_LEVEL_1_GID, GADM_LEVEL_2_GID, and GADM_LEVEL_3_GID lose records without coordinates or outside every GADM unit at that level — each even where the occurrence tools can filter on it. MEDIA_TYPE and RECORDED_BY buckets also overlap: a record with two media types or two collectors counts in each, so their sums can exceed totalOccurrences. TYPE_STATUS and ESTABLISHMENT_MEANS buckets overlap the same way: a record counts under its concept and every broader one (an Isolectotype also under Lectotype and Type, a nativeReintroduced record also under native). GADM buckets are GIDs to pass back as gadmGid; INSTITUTION_CODE buckets come back lowercased and institutionCode takes them unchanged; RECORDED_BY buckets are the exact spellings recordedBy matches; PUBLISHING_ORG, TYPE_STATUS, ESTABLISHMENT_MEANS, and LICENSE buckets pass back unchanged as publishingOrg, typeStatus, establishmentMeans, and license. OCCURRENCE_STATUS buckets read DETECTED and NOT_DETECTED, the current GBIF names for PRESENT and ABSENT, and pass back unchanged as occurrenceStatus. KINGDOM_KEY through SPECIES_KEY buckets are Backbone keys to pass back as taxonKey. Under checklistKey 7ddf754f-d193-4cc9-b351-99906754a03b they are Catalogue of Life keys to pass back as checklistTaxonKey, some all digits (8288, the genus Tringa) yet never Backbone keys. Sums are comparable only across the same occurrenceStatus scope.
monthNoCalendar month: an integer 1–12, or a string holding one month ("3", zero padding optional) or an ascending range "min,max", both ends inclusive ("3,5" for March through May), where "*" may stand for one open end ("*,5", "9,*"). A range cannot wrap past December, so a winter span such as November through February takes two calls, "11,12" and "1,2". Any value, "*,*" included, drops records that carry no month. GBIF reads the string form and rejects a month outside 1–12 or a descending range by name. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.
countryNoISO 3166-1 alpha-2 code, uppercase, of where the occurrence was recorded, to scope to one country, or an array of codes to aggregate records from any of them into one ranking (["ES", "PT"] ranks both together). Not the publisher's country — that is publishingCountry, and the two disagree on most records. Scope to one country, or pass back a value this tool returned under facet COUNTRY to drill into that bucket. Lowercase and alpha-3 forms ("gb", "USA") match nothing upstream, which is why only the uppercase two-letter form is accepted here, for every member.
gadmGidNoGADM administrative-area GID at any level: country (ESP), state or province (ESP.1_1), county or district (ESP.1.5_1), or municipality (ESP.1.6.3_1). GBIF derives a record's GIDs from its coordinates, so records without coordinates match none, and the unit can differ from the verbatim stateProvince the record carries. Matched exactly and case-sensitively, and a GID holds only uppercase letters, digits, dots, and underscores — any other character is rejected. Take one from a GADM_LEVEL_0_GID, GADM_LEVEL_1_GID, GADM_LEVEL_2_GID, or GADM_LEVEL_3_GID facet on gbif_occurrence_facets, or from the gadm field of gbif_get_occurrence; a well-formed GID GBIF does not hold matches zero records rather than erroring. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.
licenseNoLicense the record is published under, as its GBIF code: CC0_1_0, CC_BY_4_0, or CC_BY_NC_4_0 — every record carries one of the three. A record states its license as a Creative Commons URL instead (http://creativecommons.org/licenses/by/4.0/legalcode for CC_BY_4_0), which this filter does not take.
geometryNoWKT polygon to scope the aggregation to a geographic area (e.g., POLYGON((8 47, 9 47, 9 48, 8 48, 8 47))). Coordinates are longitude latitude. All supplied spatial filters intersect: decimalLatitude and decimalLongitude remain active and restrict results to the overlap. Omit the field to aggregate everywhere — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered aggregation.
taxonKeyNoBackbone taxon key to scope the aggregation, or an array of up to 100 keys to aggregate records of any of them into one ranking. Matches the given taxon and all descendant taxa (subspecies, varieties, etc.). Rejected under checklistKey 7ddf754f-d193-4cc9-b351-99906754a03b — scope by a Catalogue of Life key with checklistTaxonKey there.
elevationNoElevation in meters as a range "min,max", both ends inclusive, where "*" may stand for one open end ("2000,*" keeps 2,000 m and above); negatives and decimals are accepted. A value without a comma is not a bound: GBIF matches only records at exactly that elevation, so "2000" is not "2,000 m and above". Any value, "*,*" included, drops records that carry no elevation. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.
eventDateNoEvent date as "YYYY", "YYYY-MM", or "YYYY-MM-DD", each covering its whole period ("2026-03" is all of March 2026), or a range "min,max" of any mix of those, both ends inclusive ("2026-01-01,2026-06-30"; "2025,2026-03"), where "*" may stand for one open end ("2026-01-01,*"). Dates only: GBIF rejects a time of day, a "/" interval, a space beside the comma, an impossible date, and a descending range by name. Any value, "*,*" included, drops records that carry no event date. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.
mediaTypeNoOnly records carrying at least one media item of this type: StillImage (photographs, scans), MovingImage (video), Sound (audio), or InteractiveResource. Records without media are excluded when this is set.
datasetKeyNoScope the aggregation to a single dataset by its GBIF dataset UUID (8-4-4-4-12 hex). Obtain one from gbif_search_datasets, gbif_get_dataset, a DATASET_KEY facet, or the datasetKey field on an occurrence record. Omit the field to aggregate across every dataset — an empty string is rejected rather than read as no scope, because GBIF answers a blank datasetKey with the unfiltered aggregation.
facetLimitNoMaximum number of facet values to return (default 10, max 100).
recordedByNoCollector or observer, matched against each name in the record's recordedBy list (GBIF splits it on "|") exactly and case-sensitively: "Charles Darwin" and "charles darwin" differ, and one person written two ways ("Charles Darwin", "Darwin, C.") is two values. Take a value from a RECORDED_BY facet on gbif_occurrence_facets scoped the same way and pass it back unchanged; an unmatched value matches zero records rather than erroring. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.
typeStatusNoNomenclatural type status of a specimen — a concept from GBIF's TypeStatus vocabulary such as Holotype, Isotype, Lectotype, Paratype, Syntype, Neotype, Type, or NotAType. Matched ignoring case and surrounding whitespace, then sent and echoed in scope in GBIF's own spelling; a value naming no concept is rejected with the full list. A concept also matches every narrower one — Type covers every kind of type, Lectotype covers Isolectotype — and a TYPE_STATUS facet on gbif_occurrence_facets lists the concepts in a scope. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.
facetOffsetNoZero-based offset into the ranked facet values, for paging past the first facetLimit values on high-cardinality dimensions like DATASET_KEY. Advance by facetLimit to fetch the next page (0, then facetLimit, then 2×facetLimit, …). GBIF pages a ranking only so far, and each page also requests the one bucket after it to tell whether more remain: facetOffset + facetLimit may reach 1,199,999 on any scope, past which the call fails as pagination_cap_exceeded before any request, and 500,000 on a scope ranking more than 500,001 buckets, where GBIF refuses a deeper page and the call fails the same way. On that scope, when the next page at the same facetLimit would reach past position 500,001 (the lookahead bucket counts), the notice names the facetLimit that lands the next page exactly on it. To rank buckets past either, narrow the scope with filters and page each narrower scope from 0.
geoDistanceNoCircle around a point as "latitude,longitude,distance": latitude first, both in decimal degrees (WGS84), then a distance ending in a lowercase km or m ("38.17,-3.95,25km" keeps records within 25 km; "38.17,-3.95,25000m" is the same circle). The unit is required, because GBIF reads a distance with no unit as meters, so "38.17,-3.95,25" would be a 25 m circle; any other form is rejected. All supplied spatial filters intersect, geometry and the latitude and longitude ranges included. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.
isInClusterNoTrue includes likely duplicates; false excludes them. Omit to include all records. GBIF exposes membership only, with no cluster identifier.
checklistKeyNoTaxonomy taxon keys are read in, both in this scope and in KINGDOM_KEY through SPECIES_KEY facet buckets. Omitted, or d7dddbf4-2cf0-4f39-9b2a-bb099caae36c, is the GBIF Backbone, whose integer keys taxonKey takes; GBIF no longer updates it. 7ddf754f-d193-4cc9-b351-99906754a03b is the Catalogue of Life eXtended Release, the taxonomy GBIF now maintains: scope by one of its keys with checklistTaxonKey, which requires this value, and taxonKey is rejected under it. Supplying either value also leaves out the records GBIF has not matched to a taxon in that checklist, which a call with no checklistKey keeps. Records keep their Backbone taxonKey either way.
basisOfRecordNoScope to a specific basis of record, or to any of an array of them (["PRESERVED_SPECIMEN", "FOSSIL_SPECIMEN"] aggregates both).
catalogNumberNoCatalog number a collection assigned to the specimen or record (e.g. "L.1592880"), matched as the whole value, case-insensitively. Not unique across collections — one number can name records in several datasets, so pair it with institutionCode or datasetKey to single one out. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.
hasCoordinateNoTrue includes records with coordinates; false only records without coordinates. Omit for both.
includeLabelsNoTrue names what each bucket on the returned page identifies with a label: the canonicalName for a KINGDOM_KEY, PHYLUM_KEY, CLASS_KEY, ORDER_KEY, FAMILY_KEY, GENUS_KEY, or SPECIES_KEY bucket, read from the Catalogue of Life when checklistKey selects it and from the Backbone otherwise; the dataset title for a DATASET_KEY bucket; the organization title for a PUBLISHING_ORG bucket; the administrative area's name for a GADM_LEVEL_0_GID, GADM_LEVEL_1_GID, GADM_LEVEL_2_GID, or GADM_LEVEL_3_GID bucket. Costs one extra GBIF request per bucket, up to facetLimit, all bounded by one 10 s deadline; a bucket whose lookup fails, finds no name, or misses the deadline comes back without a label and is counted in notice. The other dimensions are codes or values that read as they are, and it looks nothing up for them. Leave it false when keys are enough, as when partitioning by DATASET_KEY.
publishingOrgNoUUID (8-4-4-4-12 hex) of the GBIF organization that published the records, to scope to what it shares across all its datasets — not the organization whose installation hosts them, and not publishingCountry. Take one from gbif_search_publishers, the publishingOrganizationKey of gbif_get_dataset, a gbif_search_datasets row, gbif_get_occurrence, or a gbif_search_occurrences row, or a PUBLISHING_ORG facet on gbif_occurrence_facets; a well-formed key GBIF does not hold matches zero records. Omit the field to leave it unfiltered — an empty string is rejected rather than read as no filter, because GBIF answers a blank publishingOrg with the unfiltered scope.
stateProvinceNoState, province, or first-level administrative division, matched as a verbatim string — exact and case-sensitive. Pass back a value this tool returned under facet STATE_PROVINCE rather than a guessed one: GBIF stores what each dataset recorded without normalizing it, so "England", "England - Greater London", and "Greater London" are three distinct values, "england" is none of them, and an unmatched value aggregates zero records rather than erroring. Omit the field to aggregate across every state or province — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered aggregation.
scientificNameNoScientific name, which GBIF resolves to its accepted taxon, so a synonym scopes the records of that taxon; a name shared across kingdoms, such as Oenanthe (a bird genus and a plant genus), matches nothing — use taxonKey from gbif_match_species with kingdom set for one. With taxonKey GBIF takes their union (OR), not their intersection, yet a name GBIF cannot resolve (one shared across kingdoms, or one it does not know) empties the combined aggregation, the taxonKey records included. Omit to leave names unfiltered; blank or whitespace-only is rejected.
decimalLatitudeNoLatitude in decimal degrees (WGS84) as a range "min,max", both ends inclusive (e.g. "47.0,48.5"); pair it with a decimalLongitude range for a bounding box. A value without a comma is not a range: GBIF matches only records at exactly that latitude, so "38" is not "around 38". All supplied spatial filters intersect, geometry included. Omit the field to leave latitude unbounded — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.
institutionCodeNoCode of the institution holding the record (e.g. "K", "CLO"), matched as the whole value, case-insensitively — part of a code or of a multi-word code matches nothing. An INSTITUTION_CODE facet on gbif_occurrence_facets lists the codes in a scope, lowercased, and this filter takes them unchanged. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.
decimalLongitudeNoLongitude in decimal degrees (WGS84) as a range "min,max", both ends inclusive (e.g. "8.0,9.5"); pair it with a decimalLatitude range for a bounding box. A value without a comma is not a range: GBIF matches only records at exactly that longitude, so "-3" is not "around -3". All supplied spatial filters intersect, geometry included. Omit the field to leave longitude unbounded — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.
occurrenceStatusNoPresence/absence scope. Defaults to PRESENT so the aggregation counts sightings, not the surveys that looked and found nothing, and agrees with gbif_count_occurrences on the same filters. Use ANY for both — required to see both buckets when facet is OCCURRENCE_STATUS — or ABSENT for non-observations alone. DETECTED and NOT_DETECTED, the spelling records and OCCURRENCE_STATUS buckets carry, select the same records as PRESENT and ABSENT and are sent as given.PRESENT
checklistTaxonKeyNoCatalogue of Life taxon key, such as 3WSJV (Lynx pardinus), to scope to that taxon and every descendant, or an array of up to 100 keys to scope to any of them — the checklistTaxonKey gbif_match_species or gbif_bulk_match_species returns under the same checklistKey, or a KINGDOM_KEY through SPECIES_KEY bucket of gbif_occurrence_facets under it. Requires checklistKey 7ddf754f-d193-4cc9-b351-99906754a03b, and goes to GBIF as its taxonKey. Uppercase letters and digits only, matched case-sensitively; a digit-only key such as 8288 (the genus Tringa) is not the Backbone taxonKey of the same spelling, which names an unrelated taxon. Omit the field to leave it unfiltered — a blank or whitespace-only value, alone or as a member, and an empty array are rejected rather than dropped, because GBIF answers one with the unfiltered scope.
publishingCountryNoISO 3166-1 alpha-2 code, uppercase, of the organization that published the record — not where the occurrence was observed, which is country. Scope to one publisher country, or pass back a value this tool returned under facet PUBLISHING_COUNTRY to drill into that bucket. Lowercase and alpha-3 forms ("us", "USA") match nothing upstream, which is why only the uppercase two-letter form is accepted here.
establishmentMeansNoHow the organism came to be where it was recorded — a concept from GBIF's EstablishmentMeans vocabulary: native, nativeEndemic, nativeReintroduced, introduced, introducedAssistedColonisation, uncertain, or vagrant. Matched ignoring case and surrounding whitespace, then sent and echoed in scope in GBIF's own spelling; any other value is rejected. A concept also matches its narrower ones: native covers nativeEndemic and nativeReintroduced, and introduced covers introducedAssistedColonisation. Most records state none and match no value. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.
hasGeospatialIssueNoTrue keeps only records GBIF flagged with a spatial issue when interpreting them — zero coordinates, coordinates out of range, or coordinates outside the stated country, for example; false keeps only records with no such flag. GBIF often drops the coordinates of a flagged record, and a record without coordinates can carry either value, so for records to map pair false with hasCoordinate true. Omit for both.
iucnRedListCategoryNoScope to records whose taxon carries this IUCN Red List category: CR Critically Endangered, EN Endangered, VU Vulnerable, NT Near Threatened, LC Least Concern, DD Data Deficient, EX Extinct, EW Extinct in the Wild, CD Conservation Dependent, NE Not Evaluated. Leave unset and facet on IUCN_RED_LIST_CATEGORY to see the whole distribution instead.
coordinateUncertaintyInMetersNoCoordinate uncertainty in meters as a range "min,max", both ends inclusive, where "*" may stand for one open end: "0,1000" or "*,1000" keeps records placed to within 1 km. A value without a comma is not an upper bound: GBIF matches only records whose uncertainty is exactly that value, so "1000" is not "within 1 km". Omit the field to accept any uncertainty — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.

Output Schema

NameRequiredDescriptionDefault
capNofacetLimit applied when the page was capped. Re-call with facetOffset advanced by this value to page on, at the facetLimit that notice names when it names one, unless notice says GBIF serves no later page. Absent otherwise.
errorNoPresent when the call failed. Absent on success.
facetNoThe facet dimension aggregated.
scopeNoEffective supplied biological filters, with occurrenceStatus always included; excludes pagination and facet controls. A filter supplied as an array echoes as that array.
shownNoFacet values returned in this page when the page was capped. Absent otherwise.
countsNoFacet values ranked by count descending — one page of up to facetLimit entries starting at facetOffset, not necessarily the top ones.
noticeNoGuidance when no facet values were returned, a read limit was clamped, a lookahead bucket proves more remain (naming the facetLimit that lands the next page exactly on position 500,001 when the next page at this facetLimit would reach past it, or that the page reached position 500,001, past which GBIF serves no later page for a scope ranking more buckets), includeLabels left buckets without a label, a scientificName or an exact-match stateProvince, gadmGid, or recordedBy filter matched nothing, a decimalLatitude, decimalLongitude, coordinateUncertaintyInMeters, elevation, or depth without a comma matched only that exact value, or a presence/absence filter narrowed the aggregation. Absent only when none applies.
truncatedNoPresent and true only when an extra upstream bucket proves another page exists. Absent on the final page, including an exactly full final page.
facetLimitNoMaximum facet values requested.
facetOffsetNoZero-based offset applied to the ranked facet values.
occurrenceStatusNoThe presence/absence filter applied upstream, as sent — PRESENT or DETECTED for sightings, ABSENT or NOT_DETECTED for absences, or ANY when no filter was sent. Says what totalOccurrences and every bucket cover.
totalOccurrencesNoTotal matching occurrences across all facet values.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed38 schema fields changed
    • addedInput schema / properties / basisOfRecord / anyOf
      Added value: +[
      +  {
      +    "description": "One value.",
      +    "enum": [
      +      "HUMAN_OBSERVATION",
      +      "MACHINE_OBSERVATION",
      +      "PRESERVED_SPECIMEN",
      +      "LIVING_SPECIMEN",
      +      "MATERIAL_SAMPLE",
      +      "MATERIAL_CITATION",
      +      "OCCURRENCE",
      +      "LITERATURE",
      +      "FOSSIL_SPECIMEN",
      +      "OBSERVATION",
      +      "UNKNOWN"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "description": "Several values, OR-ed: a record matching any one of them matches.",
      +    "items": {
      +      "enum": [
      +        "HUMAN_OBSERVATION",
      +        "MACHINE_OBSERVATION",
      +        "PRESERVED_SPECIMEN",
      +        "LIVING_SPECIMEN",
      +        "MATERIAL_SAMPLE",
      +        "MATERIAL_CITATION",
      +        "OCCURRENCE",
      +        "LITERATURE",
      +        "FOSSIL_SPECIMEN",
      +        "OBSERVATION",
      +        "UNKNOWN"
      +      ],
      +      "type": "string"
      +    },
      +    "minItems": 1,
      +    "type": "array"
      +  }
      +]
    • changedInput schema / properties / basisOfRecord / description
      Previous value: -"Scope to a specific basis of record."New value: +"Scope to a specific basis of record, or to any of an array of them ([\"PRESERVED_SPECIMEN\", \"FOSSIL_SPECIMEN\"] aggregates both)."
    • removedInput schema / properties / basisOfRecord / enum
      Removed value: -[
      -  "HUMAN_OBSERVATION",
      -  "MACHINE_OBSERVATION",
      -  "PRESERVED_SPECIMEN",
      -  "LIVING_SPECIMEN",
      -  "MATERIAL_SAMPLE",
      -  "MATERIAL_CITATION",
      -  "OCCURRENCE",
      -  "LITERATURE",
      -  "FOSSIL_SPECIMEN",
      -  "OBSERVATION",
      -  "UNKNOWN"
      -]
    • removedInput schema / properties / basisOfRecord / type
      Removed value: -"string"
    • changedInput schema / properties / checklistKey / description
      Previous value: -"Taxonomy taxon keys are read in, both in this scope and in KINGDOM_KEY through SPECIES_KEY facet buckets. Omitted, or d7dddbf4-2cf0-4f39-9b2a-bb099caae36c, is the GBIF Backbone, whose integer keys taxonKey takes; GBIF no longer updates it. 7ddf754f-d193-4cc9-b351-99906754a03b is the Catalogue of Life eXtended Release, the taxonomy GBIF now maintains: scope by one of its keys with checklistTaxonKey, which requires this value, and taxonKey is rejected under it. Records keep their Backbone taxonKey either way."New value: +"Taxonomy taxon keys are read in, both in this scope and in KINGDOM_KEY through SPECIES_KEY facet buckets. Omitted, or d7dddbf4-2cf0-4f39-9b2a-bb099caae36c, is the GBIF Backbone, whose integer keys taxonKey takes; GBIF no longer updates it. 7ddf754f-d193-4cc9-b351-99906754a03b is the Catalogue of Life eXtended Release, the taxonomy GBIF now maintains: scope by one of its keys with checklistTaxonKey, which requires this value, and taxonKey is rejected under it. Supplying either value also leaves out the records GBIF has not matched to a taxon in that checklist, which a call with no checklistKey keeps. Records keep their Backbone taxonKey either way."
    • addedInput schema / properties / checklistTaxonKey / anyOf
      Added value: +[
      +  {
      +    "description": "One value.",
      +    "type": "string"
      +  },
      +  {
      +    "description": "Several values, OR-ed: a record matching any one of them matches.",
      +    "items": {
      +      "type": "string"
      +    },
      +    "maxItems": 100,
      +    "minItems": 1,
      +    "type": "array"
      +  }
      +]
    • changedInput schema / properties / checklistTaxonKey / description
      Previous value: -"Catalogue of Life taxon key, such as 3WSJV (Lynx pardinus), to scope to that taxon and every descendant — the checklistTaxonKey gbif_match_species or gbif_bulk_match_species returns under the same checklistKey, or a KINGDOM_KEY through SPECIES_KEY bucket of gbif_occurrence_facets under it. Requires checklistKey 7ddf754f-d193-4cc9-b351-99906754a03b, and goes to GBIF as its taxonKey. Uppercase letters and digits only, matched case-sensitively; a digit-only key such as 8288 (the genus Tringa) is not the Backbone taxonKey of the same spelling, which names an unrelated taxon. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope."New value: +"Catalogue of Life taxon key, such as 3WSJV (Lynx pardinus), to scope to that taxon and every descendant, or an array of up to 100 keys to scope to any of them — the checklistTaxonKey gbif_match_species or gbif_bulk_match_species returns under the same checklistKey, or a KINGDOM_KEY through SPECIES_KEY bucket of gbif_occurrence_facets under it. Requires checklistKey 7ddf754f-d193-4cc9-b351-99906754a03b, and goes to GBIF as its taxonKey. Uppercase letters and digits only, matched case-sensitively; a digit-only key such as 8288 (the genus Tringa) is not the Backbone taxonKey of the same spelling, which names an unrelated taxon. Omit the field to leave it unfiltered — a blank or whitespace-only value, alone or as a member, and an empty array are rejected rather than dropped, because GBIF answers one with the unfiltered scope."
    • removedInput schema / properties / checklistTaxonKey / type
      Removed value: -"string"
    • addedInput schema / properties / country / anyOf
      Added value: +[
      +  {
      +    "description": "One value.",
      +    "pattern": "^[A-Z]{2}$",
      +    "type": "string"
      +  },
      +  {
      +    "description": "Several values, OR-ed: a record matching any one of them matches.",
      +    "items": {
      +      "pattern": "^[A-Z]{2}$",
      +      "type": "string"
      +    },
      +    "minItems": 1,
      +    "type": "array"
      +  }
      +]
    • changedInput schema / properties / country / description
      Previous value: -"ISO 3166-1 alpha-2 code, uppercase, of where the occurrence was recorded, to scope to one country. Not the publisher's country — that is publishingCountry, and the two disagree on most records. Scope to one country, or pass back a value this tool returned under facet COUNTRY to drill into that bucket. Lowercase and alpha-3 forms (\"gb\", \"USA\") match nothing upstream, which is why only the uppercase two-letter form is accepted here."New value: +"ISO 3166-1 alpha-2 code, uppercase, of where the occurrence was recorded, to scope to one country, or an array of codes to aggregate records from any of them into one ranking ([\"ES\", \"PT\"] ranks both together). Not the publisher's country — that is publishingCountry, and the two disagree on most records. Scope to one country, or pass back a value this tool returned under facet COUNTRY to drill into that bucket. Lowercase and alpha-3 forms (\"gb\", \"USA\") match nothing upstream, which is why only the uppercase two-letter form is accepted here, for every member."
    • removedInput schema / properties / country / pattern
      Removed value: -"^[A-Z]{2}$"
    • removedInput schema / properties / country / type
      Removed value: -"string"
    • addedInput schema / properties / depth
      Added value: +{
      +  "description": "Depth in meters below the local surface as a range \"min,max\", both ends inclusive, where \"*\" may stand for one open end (\"200,*\" keeps 200 m and deeper); negatives and decimals are accepted. A value without a comma is not a bound: GBIF matches only records at exactly that depth, so \"200\" is not \"200 m and deeper\". Any value, \"*,*\" included, drops records that carry no depth. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.",
      +  "type": "string"
      +}
    • addedInput schema / properties / elevation
      Added value: +{
      +  "description": "Elevation in meters as a range \"min,max\", both ends inclusive, where \"*\" may stand for one open end (\"2000,*\" keeps 2,000 m and above); negatives and decimals are accepted. A value without a comma is not a bound: GBIF matches only records at exactly that elevation, so \"2000\" is not \"2,000 m and above\". Any value, \"*,*\" included, drops records that carry no elevation. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.",
      +  "type": "string"
      +}
    • addedInput schema / properties / eventDate
      Added value: +{
      +  "description": "Event date as \"YYYY\", \"YYYY-MM\", or \"YYYY-MM-DD\", each covering its whole period (\"2026-03\" is all of March 2026), or a range \"min,max\" of any mix of those, both ends inclusive (\"2026-01-01,2026-06-30\"; \"2025,2026-03\"), where \"*\" may stand for one open end (\"2026-01-01,*\"). Dates only: GBIF rejects a time of day, a \"/\" interval, a space beside the comma, an impossible date, and a descending range by name. Any value, \"*,*\" included, drops records that carry no event date. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.",
      +  "type": "string"
      +}
    • changedInput schema / properties / facetOffset / description
      Previous value: -"Zero-based offset into the ranked facet values, for paging past the first facetLimit values on high-cardinality dimensions like DATASET_KEY. Advance by facetLimit to fetch the next page (0, then facetLimit, then 2×facetLimit, …)."New value: +"Zero-based offset into the ranked facet values, for paging past the first facetLimit values on high-cardinality dimensions like DATASET_KEY. Advance by facetLimit to fetch the next page (0, then facetLimit, then 2×facetLimit, …). GBIF pages a ranking only so far, and each page also requests the one bucket after it to tell whether more remain: facetOffset + facetLimit may reach 1,199,999 on any scope, past which the call fails as pagination_cap_exceeded before any request, and 500,000 on a scope ranking more than 500,001 buckets, where GBIF refuses a deeper page and the call fails the same way. On that scope, when the next page at the same facetLimit would reach past position 500,001 (the lookahead bucket counts), the notice names the facetLimit that lands the next page exactly on it. To rank buckets past either, narrow the scope with filters and page each narrower scope from 0."
    • addedInput schema / properties / geoDistance
      Added value: +{
      +  "description": "Circle around a point as \"latitude,longitude,distance\": latitude first, both in decimal degrees (WGS84), then a distance ending in a lowercase km or m (\"38.17,-3.95,25km\" keeps records within 25 km; \"38.17,-3.95,25000m\" is the same circle). The unit is required, because GBIF reads a distance with no unit as meters, so \"38.17,-3.95,25\" would be a 25 m circle; any other form is rejected. All supplied spatial filters intersect, geometry and the latitude and longitude ranges included. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.",
      +  "type": "string"
      +}
    • changedInput schema / properties / iucnRedListCategory / description
      Previous value: -"Scope to records whose taxon carries this IUCN Red List category: CR Critically Endangered, EN Endangered, VU Vulnerable, NT Near Threatened, LC Least Concern, DD Data Deficient, EX Extinct, EW Extinct in the Wild, CD Conservation Dependent. Leave unset and facet on IUCN_RED_LIST_CATEGORY to see the whole distribution instead."New value: +"Scope to records whose taxon carries this IUCN Red List category: CR Critically Endangered, EN Endangered, VU Vulnerable, NT Near Threatened, LC Least Concern, DD Data Deficient, EX Extinct, EW Extinct in the Wild, CD Conservation Dependent, NE Not Evaluated. Leave unset and facet on IUCN_RED_LIST_CATEGORY to see the whole distribution instead."
    • changedInput schema / properties / iucnRedListCategory / enum
      Previous value: -[
      -  "CR",
      -  "EN",
      -  "VU",
      -  "NT",
      -  "LC",
      -  "DD",
      -  "EX",
      -  "EW",
      -  "CD"
      -]New value: +[
      +  "CR",
      +  "EN",
      +  "VU",
      +  "NT",
      +  "LC",
      +  "DD",
      +  "EX",
      +  "EW",
      +  "CD",
      +  "NE"
      +]
    • addedInput schema / properties / month / anyOf
      Added value: +[
      +  {
      +    "description": "One calendar month, 1 (January) to 12 (December).",
      +    "maximum": 12,
      +    "minimum": 1,
      +    "type": "integer"
      +  },
      +  {
      +    "description": "One month or a \"min,max\" month range, as text GBIF reads.",
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / month / description
      Previous value: -"Calendar month (1–12), matching the occurrence search filter."New value: +"Calendar month: an integer 1–12, or a string holding one month (\"3\", zero padding optional) or an ascending range \"min,max\", both ends inclusive (\"3,5\" for March through May), where \"*\" may stand for one open end (\"*,5\", \"9,*\"). A range cannot wrap past December, so a winter span such as November through February takes two calls, \"11,12\" and \"1,2\". Any value, \"*,*\" included, drops records that carry no month. GBIF reads the string form and rejects a month outside 1–12 or a descending range by name. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope."
    • removedInput schema / properties / month / maximum
      Removed value: -12
    • removedInput schema / properties / month / minimum
      Removed value: -1
    • removedInput schema / properties / month / type
      Removed value: -"integer"
    • changedInput schema / properties / scientificName / description
      Previous value: -"Scientific name, which GBIF resolves to its accepted taxon, so a synonym scopes the records of that taxon; a name shared across kingdoms, such as Oenanthe (a bird genus and a plant genus), matches nothing — use taxonKey from gbif_match_species with kingdom set for one. With taxonKey GBIF takes their union (OR), not their intersection. Omit to leave names unfiltered; blank or whitespace-only is rejected."New value: +"Scientific name, which GBIF resolves to its accepted taxon, so a synonym scopes the records of that taxon; a name shared across kingdoms, such as Oenanthe (a bird genus and a plant genus), matches nothing — use taxonKey from gbif_match_species with kingdom set for one. With taxonKey GBIF takes their union (OR), not their intersection, yet a name GBIF cannot resolve (one shared across kingdoms, or one it does not know) empties the combined aggregation, the taxonKey records included. Omit to leave names unfiltered; blank or whitespace-only is rejected."
    • addedInput schema / properties / taxonKey / anyOf
      Added value: +[
      +  {
      +    "description": "One value.",
      +    "maximum": 9007199254740991,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  {
      +    "description": "Several values, OR-ed: a record matching any one of them matches.",
      +    "items": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "maxItems": 100,
      +    "minItems": 1,
      +    "type": "array"
      +  }
      +]
    • changedInput schema / properties / taxonKey / description
      Previous value: -"Backbone taxon key to scope the aggregation. Matches the given taxon and all descendant taxa (subspecies, varieties, etc.). Rejected under checklistKey 7ddf754f-d193-4cc9-b351-99906754a03b — scope by a Catalogue of Life key with checklistTaxonKey there."New value: +"Backbone taxon key to scope the aggregation, or an array of up to 100 keys to aggregate records of any of them into one ranking. Matches the given taxon and all descendant taxa (subspecies, varieties, etc.). Rejected under checklistKey 7ddf754f-d193-4cc9-b351-99906754a03b — scope by a Catalogue of Life key with checklistTaxonKey there."
    • removedInput schema / properties / taxonKey / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / taxonKey / minimum
      Removed value: -0
    • removedInput schema / properties / taxonKey / type
      Removed value: -"integer"
    • changedInput schema / properties / year / description
      Previous value: -"Year or year range (e.g., \"2020,2024\") to scope the aggregation. Both endpoints inclusive. Omit the field to aggregate across every year — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered aggregation."New value: +"Observation year as one year (\"2024\") or a range \"min,max\", both ends inclusive (\"2020,2024\"), where \"*\" may stand for one open end: \"*,1990\" keeps 1990 and earlier, \"2020,*\" 2020 and later. Any value, \"*,*\" included, drops records that carry no year. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope."
    • changedOutput schema / properties / cap / description
      Previous value: -"facetLimit applied when the page was capped. Re-call with facetOffset advanced by this value to page on. Absent otherwise."New value: +"facetLimit applied when the page was capped. Re-call with facetOffset advanced by this value to page on, at the facetLimit that notice names when it names one, unless notice says GBIF serves no later page. Absent otherwise."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `invalid_filter`: A string scope filter other than country and publishingCountry was supplied blank or whitespace-only (a blank country or publishingCountry fails earlier, at its uppercase pattern, as -32602 invalid_arguments), decimalLatitude, decimalLongitude, or coordinateUncertaintyInMeters is a bare \"*\", datasetKey or publishingOrg is not an 8-4-4-4-12 hex UUID, gadmGid holds a character other than an uppercase letter, digit, dot, or underscore, checklistTaxonKey holds a character other than an uppercase letter or digit, taxonKey was supplied under checklistKey 7ddf754f-d193-4cc9-b351-99906754a03b or checklistTaxonKey without it, typeStatus or establishmentMeans names no concept in its GBIF vocabulary, a two-letter country or publishingCountry code is one GBIF does not know, or GBIF rejected another filter as malformed. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `pagination_cap_exceeded`: facetOffset + facetLimit exceeds 1,199,999, the deepest GBIF pages facets to on any scope (refused before any request), or GBIF answered a page reaching past position 500,001 with an empty HTTP 404, as it does on a scope ranking more buckets than that. `invalid_filter`: A string scope filter other than country and publishingCountry, or a checklistTaxonKey member, was supplied blank or whitespace-only (a blank country or publishingCountry fails earlier, at its uppercase pattern, as -32602 invalid_arguments), decimalLatitude, decimalLongitude, coordinateUncertaintyInMeters, elevation, depth, year, month, or eventDate is a bare \"*\", coordinateUncertaintyInMeters, year, month, elevation, or depth has whitespace between a \"*\" end and the comma, geoDistance is not latitude,longitude,distance with the distance in a lowercase km or m unit, datasetKey or publishingOrg is not an 8-4-4-4-12 hex UUID, gadmGid holds a character other than an uppercase letter, digit, dot, or underscore, a checklistTaxonKey key holds a character other than an uppercase letter or digit, taxonKey was supplied under checklistKey 7ddf754f-d193-4cc9-b351-99906754a03b or checklistTaxonKey without it, typeStatus or establishmentMeans names no concept in its GBIF vocabulary, a two-letter country or publishingCountry code is one GBIF does not know, or GBIF rejected another filter as malformed. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "invalid_filter"
      -]New value: +[
      +  "pagination_cap_exceeded",
      +  "invalid_filter"
      +]
    • changedOutput schema / properties / notice / description
      Previous value: -"Guidance when no facet values were returned, a read limit was clamped, a lookahead bucket proves more remain, includeLabels left buckets without a label, a scientificName or an exact-match stateProvince, gadmGid, or recordedBy filter matched nothing, a decimalLatitude, decimalLongitude, or coordinateUncertaintyInMeters without a comma matched only that exact value, or a presence/absence filter narrowed the aggregation. Absent only when none applies."New value: +"Guidance when no facet values were returned, a read limit was clamped, a lookahead bucket proves more remain (naming the facetLimit that lands the next page exactly on position 500,001 when the next page at this facetLimit would reach past it, or that the page reached position 500,001, past which GBIF serves no later page for a scope ranking more buckets), includeLabels left buckets without a label, a scientificName or an exact-match stateProvince, gadmGid, or recordedBy filter matched nothing, a decimalLatitude, decimalLongitude, coordinateUncertaintyInMeters, elevation, or depth without a comma matched only that exact value, or a presence/absence filter narrowed the aggregation. Absent only when none applies."
    • addedOutput schema / properties / scope / additionalProperties / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "boolean"
      +  },
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "items": {
      +      "type": "number"
      +    },
      +    "type": "array"
      +  }
      +]
    • removedOutput schema / properties / scope / additionalProperties / type
      Removed value: -[
      -  "string",
      -  "number",
      -  "boolean"
      -]
    • changedOutput schema / properties / scope / description
      Previous value: -"Effective supplied biological filters, with occurrenceStatus always included; excludes pagination and facet controls."New value: +"Effective supplied biological filters, with occurrenceStatus always included; excludes pagination and facet controls. A filter supplied as an array echoes as that array."
  2. Changed21 schema fields changed
    • addedInput schema / properties / checklistKey
      Added value: +{
      +  "description": "Taxonomy taxon keys are read in, both in this scope and in KINGDOM_KEY through SPECIES_KEY facet buckets. Omitted, or d7dddbf4-2cf0-4f39-9b2a-bb099caae36c, is the GBIF Backbone, whose integer keys taxonKey takes; GBIF no longer updates it. 7ddf754f-d193-4cc9-b351-99906754a03b is the Catalogue of Life eXtended Release, the taxonomy GBIF now maintains: scope by one of its keys with checklistTaxonKey, which requires this value, and taxonKey is rejected under it. Records keep their Backbone taxonKey either way.",
      +  "enum": [
      +    "d7dddbf4-2cf0-4f39-9b2a-bb099caae36c",
      +    "7ddf754f-d193-4cc9-b351-99906754a03b"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / checklistTaxonKey
      Added value: +{
      +  "description": "Catalogue of Life taxon key, such as 3WSJV (Lynx pardinus), to scope to that taxon and every descendant — the checklistTaxonKey gbif_match_species or gbif_bulk_match_species returns under the same checklistKey, or a KINGDOM_KEY through SPECIES_KEY bucket of gbif_occurrence_facets under it. Requires checklistKey 7ddf754f-d193-4cc9-b351-99906754a03b, and goes to GBIF as its taxonKey. Uppercase letters and digits only, matched case-sensitively; a digit-only key such as 8288 (the genus Tringa) is not the Backbone taxonKey of the same spelling, which names an unrelated taxon. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.",
      +  "type": "string"
      +}
    • changedInput schema / properties / coordinateUncertaintyInMeters / description
      Previous value: -"Coordinate uncertainty radius in meters, e.g. \"0,1000\"; range endpoints inclusive. Omit for any uncertainty; blank or whitespace-only is rejected."New value: +"Coordinate uncertainty in meters as a range \"min,max\", both ends inclusive, where \"*\" may stand for one open end: \"0,1000\" or \"*,1000\" keeps records placed to within 1 km. A value without a comma is not an upper bound: GBIF matches only records whose uncertainty is exactly that value, so \"1000\" is not \"within 1 km\". Omit the field to accept any uncertainty — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope."
    • changedInput schema / properties / decimalLatitude / description
      Previous value: -"Latitude or latitude range \"min,max\" in decimal degrees (WGS84). All supplied spatial filters intersect, including geometry. Omit to leave latitude unbounded; blank or whitespace-only is rejected."New value: +"Latitude in decimal degrees (WGS84) as a range \"min,max\", both ends inclusive (e.g. \"47.0,48.5\"); pair it with a decimalLongitude range for a bounding box. A value without a comma is not a range: GBIF matches only records at exactly that latitude, so \"38\" is not \"around 38\". All supplied spatial filters intersect, geometry included. Omit the field to leave latitude unbounded — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope."
    • changedInput schema / properties / decimalLongitude / description
      Previous value: -"Longitude or longitude range \"min,max\" in decimal degrees (WGS84). All supplied spatial filters intersect, including geometry. Omit to leave longitude unbounded; blank or whitespace-only is rejected."New value: +"Longitude in decimal degrees (WGS84) as a range \"min,max\", both ends inclusive (e.g. \"8.0,9.5\"); pair it with a decimalLatitude range for a bounding box. A value without a comma is not a range: GBIF matches only records at exactly that longitude, so \"-3\" is not \"around -3\". All supplied spatial filters intersect, geometry included. Omit the field to leave longitude unbounded — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope."
    • addedInput schema / properties / establishmentMeans
      Added value: +{
      +  "description": "How the organism came to be where it was recorded — a concept from GBIF's EstablishmentMeans vocabulary: native, nativeEndemic, nativeReintroduced, introduced, introducedAssistedColonisation, uncertain, or vagrant. Matched ignoring case and surrounding whitespace, then sent and echoed in scope in GBIF's own spelling; any other value is rejected. A concept also matches its narrower ones: native covers nativeEndemic and nativeReintroduced, and introduced covers introducedAssistedColonisation. Most records state none and match no value. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.",
      +  "type": "string"
      +}
    • changedInput schema / properties / facet / description
      Previous value: -"Dimension to aggregate by (e.g., COUNTRY, YEAR, BASIS_OF_RECORD, SPECIES_KEY, OCCURRENCE_STATUS, IUCN_RED_LIST_CATEGORY). DATASET_KEY is the first cut when a result set is too large to page: every occurrence carries exactly one datasetKey, so its buckets cover totalOccurrences with no gap or overlap. BASIS_OF_RECORD and PUBLISHING_COUNTRY are gap-free second cuts for a dataset bucket still too large; both have a matching filter on the occurrence tools. A dimension a record can lack drops that record from every bucket: YEAR loses undated records; MONTH, STATE_PROVINCE, SPECIES_KEY, INSTITUTION_CODE, MEDIA_TYPE, and RECORDED_BY lose records lacking that dimension; GADM_LEVEL_0_GID, GADM_LEVEL_1_GID, GADM_LEVEL_2_GID, and GADM_LEVEL_3_GID lose records without coordinates or outside every GADM unit at that level — each even where the occurrence tools can filter on it. MEDIA_TYPE and RECORDED_BY buckets also overlap: a record with two media types or two collectors counts in each, so their sums can exceed totalOccurrences. GADM buckets are GIDs to pass back as gadmGid; INSTITUTION_CODE buckets come back lowercased and institutionCode takes them unchanged; RECORDED_BY buckets are the exact spellings recordedBy matches. Sums are comparable only across the same occurrenceStatus scope."New value: +"Dimension to aggregate by (e.g., COUNTRY, YEAR, BASIS_OF_RECORD, SPECIES_KEY, OCCURRENCE_STATUS, IUCN_RED_LIST_CATEGORY). DATASET_KEY is the first cut when a result set is too large to page: every occurrence carries exactly one datasetKey, so its buckets cover totalOccurrences with no gap or overlap. BASIS_OF_RECORD and PUBLISHING_COUNTRY are gap-free second cuts for a dataset bucket still too large; both have a matching filter on the occurrence tools. A dimension a record can lack drops that record from every bucket: YEAR loses undated records; MONTH, STATE_PROVINCE, SPECIES_KEY, INSTITUTION_CODE, MEDIA_TYPE, RECORDED_BY, TYPE_STATUS, and ESTABLISHMENT_MEANS lose records lacking that dimension; GADM_LEVEL_0_GID, GADM_LEVEL_1_GID, GADM_LEVEL_2_GID, and GADM_LEVEL_3_GID lose records without coordinates or outside every GADM unit at that level — each even where the occurrence tools can filter on it. MEDIA_TYPE and RECORDED_BY buckets also overlap: a record with two media types or two collectors counts in each, so their sums can exceed totalOccurrences. TYPE_STATUS and ESTABLISHMENT_MEANS buckets overlap the same way: a record counts under its concept and every broader one (an Isolectotype also under Lectotype and Type, a nativeReintroduced record also under native). GADM buckets are GIDs to pass back as gadmGid; INSTITUTION_CODE buckets come back lowercased and institutionCode takes them unchanged; RECORDED_BY buckets are the exact spellings recordedBy matches; PUBLISHING_ORG, TYPE_STATUS, ESTABLISHMENT_MEANS, and LICENSE buckets pass back unchanged as publishingOrg, typeStatus, establishmentMeans, and license. OCCURRENCE_STATUS buckets read DETECTED and NOT_DETECTED, the current GBIF names for PRESENT and ABSENT, and pass back unchanged as occurrenceStatus. KINGDOM_KEY through SPECIES_KEY buckets are Backbone keys to pass back as taxonKey. Under checklistKey 7ddf754f-d193-4cc9-b351-99906754a03b they are Catalogue of Life keys to pass back as checklistTaxonKey, some all digits (8288, the genus Tringa) yet never Backbone keys. Sums are comparable only across the same occurrenceStatus scope."
    • changedInput schema / properties / facet / enum
      Previous value: -[
      -  "BASIS_OF_RECORD",
      -  "COUNTRY",
      -  "STATE_PROVINCE",
      -  "YEAR",
      -  "DATASET_KEY",
      -  "KINGDOM_KEY",
      -  "PHYLUM_KEY",
      -  "CLASS_KEY",
      -  "ORDER_KEY",
      -  "FAMILY_KEY",
      -  "GENUS_KEY",
      -  "SPECIES_KEY",
      -  "PUBLISHING_COUNTRY",
      -  "MONTH",
      -  "OCCURRENCE_STATUS",
      -  "IUCN_RED_LIST_CATEGORY",
      -  "GADM_LEVEL_0_GID",
      -  "GADM_LEVEL_1_GID",
      -  "GADM_LEVEL_2_GID",
      -  "GADM_LEVEL_3_GID",
      -  "INSTITUTION_CODE",
      -  "MEDIA_TYPE",
      -  "RECORDED_BY"
      -]New value: +[
      +  "BASIS_OF_RECORD",
      +  "COUNTRY",
      +  "STATE_PROVINCE",
      +  "YEAR",
      +  "DATASET_KEY",
      +  "KINGDOM_KEY",
      +  "PHYLUM_KEY",
      +  "CLASS_KEY",
      +  "ORDER_KEY",
      +  "FAMILY_KEY",
      +  "GENUS_KEY",
      +  "SPECIES_KEY",
      +  "PUBLISHING_COUNTRY",
      +  "MONTH",
      +  "OCCURRENCE_STATUS",
      +  "IUCN_RED_LIST_CATEGORY",
      +  "GADM_LEVEL_0_GID",
      +  "GADM_LEVEL_1_GID",
      +  "GADM_LEVEL_2_GID",
      +  "GADM_LEVEL_3_GID",
      +  "INSTITUTION_CODE",
      +  "MEDIA_TYPE",
      +  "RECORDED_BY",
      +  "PUBLISHING_ORG",
      +  "TYPE_STATUS",
      +  "ESTABLISHMENT_MEANS",
      +  "LICENSE"
      +]
    • addedInput schema / properties / hasGeospatialIssue
      Added value: +{
      +  "description": "True keeps only records GBIF flagged with a spatial issue when interpreting them — zero coordinates, coordinates out of range, or coordinates outside the stated country, for example; false keeps only records with no such flag. GBIF often drops the coordinates of a flagged record, and a record without coordinates can carry either value, so for records to map pair false with hasCoordinate true. Omit for both.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / includeLabels / description
      Previous value: -"True names the taxon or dataset behind each bucket on the returned page with a label: the canonicalName for a KINGDOM_KEY, PHYLUM_KEY, CLASS_KEY, ORDER_KEY, FAMILY_KEY, GENUS_KEY, or SPECIES_KEY bucket, the dataset title for a DATASET_KEY bucket. Costs one extra GBIF request per bucket, up to facetLimit, all bounded by one 10 s deadline; a bucket whose lookup fails or misses it comes back without a label and is counted in notice. Every other dimension ignores it. Leave it false when keys are enough, as when partitioning by DATASET_KEY."New value: +"True names what each bucket on the returned page identifies with a label: the canonicalName for a KINGDOM_KEY, PHYLUM_KEY, CLASS_KEY, ORDER_KEY, FAMILY_KEY, GENUS_KEY, or SPECIES_KEY bucket, read from the Catalogue of Life when checklistKey selects it and from the Backbone otherwise; the dataset title for a DATASET_KEY bucket; the organization title for a PUBLISHING_ORG bucket; the administrative area's name for a GADM_LEVEL_0_GID, GADM_LEVEL_1_GID, GADM_LEVEL_2_GID, or GADM_LEVEL_3_GID bucket. Costs one extra GBIF request per bucket, up to facetLimit, all bounded by one 10 s deadline; a bucket whose lookup fails, finds no name, or misses the deadline comes back without a label and is counted in notice. The other dimensions are codes or values that read as they are, and it looks nothing up for them. Leave it false when keys are enough, as when partitioning by DATASET_KEY."
    • addedInput schema / properties / license
      Added value: +{
      +  "description": "License the record is published under, as its GBIF code: CC0_1_0, CC_BY_4_0, or CC_BY_NC_4_0 — every record carries one of the three. A record states its license as a Creative Commons URL instead (http://creativecommons.org/licenses/by/4.0/legalcode for CC_BY_4_0), which this filter does not take.",
      +  "enum": [
      +    "CC0_1_0",
      +    "CC_BY_4_0",
      +    "CC_BY_NC_4_0"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / occurrenceStatus / description
      Previous value: -"Presence/absence scope. Defaults to PRESENT so the aggregation counts sightings, not the surveys that looked and found nothing, and agrees with gbif_count_occurrences on the same filters. Use ANY for both — required to see both buckets when facet is OCCURRENCE_STATUS — or ABSENT for non-observations alone."New value: +"Presence/absence scope. Defaults to PRESENT so the aggregation counts sightings, not the surveys that looked and found nothing, and agrees with gbif_count_occurrences on the same filters. Use ANY for both — required to see both buckets when facet is OCCURRENCE_STATUS — or ABSENT for non-observations alone. DETECTED and NOT_DETECTED, the spelling records and OCCURRENCE_STATUS buckets carry, select the same records as PRESENT and ABSENT and are sent as given."
    • changedInput schema / properties / occurrenceStatus / enum
      Previous value: -[
      -  "PRESENT",
      -  "ABSENT",
      -  "ANY"
      -]New value: +[
      +  "PRESENT",
      +  "ABSENT",
      +  "DETECTED",
      +  "NOT_DETECTED",
      +  "ANY"
      +]
    • addedInput schema / properties / publishingOrg
      Added value: +{
      +  "description": "UUID (8-4-4-4-12 hex) of the GBIF organization that published the records, to scope to what it shares across all its datasets — not the organization whose installation hosts them, and not publishingCountry. Take one from gbif_search_publishers, the publishingOrganizationKey of gbif_get_dataset, a gbif_search_datasets row, gbif_get_occurrence, or a gbif_search_occurrences row, or a PUBLISHING_ORG facet on gbif_occurrence_facets; a well-formed key GBIF does not hold matches zero records. Omit the field to leave it unfiltered — an empty string is rejected rather than read as no filter, because GBIF answers a blank publishingOrg with the unfiltered scope.",
      +  "type": "string"
      +}
    • changedInput schema / properties / scientificName / description
      Previous value: -"Scientific name; does not match synonyms. With taxonKey GBIF takes their union (OR), not their intersection. Omit to leave names unfiltered; blank or whitespace-only is rejected."New value: +"Scientific name, which GBIF resolves to its accepted taxon, so a synonym scopes the records of that taxon; a name shared across kingdoms, such as Oenanthe (a bird genus and a plant genus), matches nothing — use taxonKey from gbif_match_species with kingdom set for one. With taxonKey GBIF takes their union (OR), not their intersection. Omit to leave names unfiltered; blank or whitespace-only is rejected."
    • changedInput schema / properties / taxonKey / description
      Previous value: -"Backbone taxon key to scope the aggregation. Matches the given taxon and all descendant taxa (subspecies, varieties, etc.)."New value: +"Backbone taxon key to scope the aggregation. Matches the given taxon and all descendant taxa (subspecies, varieties, etc.). Rejected under checklistKey 7ddf754f-d193-4cc9-b351-99906754a03b — scope by a Catalogue of Life key with checklistTaxonKey there."
    • addedInput schema / properties / typeStatus
      Added value: +{
      +  "description": "Nomenclatural type status of a specimen — a concept from GBIF's TypeStatus vocabulary such as Holotype, Isotype, Lectotype, Paratype, Syntype, Neotype, Type, or NotAType. Matched ignoring case and surrounding whitespace, then sent and echoed in scope in GBIF's own spelling; a value naming no concept is rejected with the full list. A concept also matches every narrower one — Type covers every kind of type, Lectotype covers Isolectotype — and a TYPE_STATUS facet on gbif_occurrence_facets lists the concepts in a scope. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / counts / items / properties / label / description
      Previous value: -"Name of the taxon (its canonicalName) or dataset (its title) the key identifies. Present only with includeLabels on a KINGDOM_KEY through SPECIES_KEY or DATASET_KEY facet, and only when the lookup for this bucket succeeded."New value: +"Name of the taxon (its canonicalName), dataset (its title), publishing organization (its title), or GADM administrative area (its name) the key identifies. Present only with includeLabels on a KINGDOM_KEY through SPECIES_KEY, DATASET_KEY, PUBLISHING_ORG, or GADM_LEVEL_0_GID through GADM_LEVEL_3_GID facet, and only when the lookup for this bucket found a name."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `invalid_filter`: A string scope filter other than country and publishingCountry was supplied blank or whitespace-only (a blank country or publishingCountry fails earlier, at its uppercase pattern, as -32602 invalid_arguments), datasetKey is not an 8-4-4-4-12 hex UUID, gadmGid holds a character other than an uppercase letter, digit, dot, or underscore, a two-letter country or publishingCountry code is one GBIF does not know, or GBIF rejected another filter as malformed. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `invalid_filter`: A string scope filter other than country and publishingCountry was supplied blank or whitespace-only (a blank country or publishingCountry fails earlier, at its uppercase pattern, as -32602 invalid_arguments), decimalLatitude, decimalLongitude, or coordinateUncertaintyInMeters is a bare \"*\", datasetKey or publishingOrg is not an 8-4-4-4-12 hex UUID, gadmGid holds a character other than an uppercase letter, digit, dot, or underscore, checklistTaxonKey holds a character other than an uppercase letter or digit, taxonKey was supplied under checklistKey 7ddf754f-d193-4cc9-b351-99906754a03b or checklistTaxonKey without it, typeStatus or establishmentMeans names no concept in its GBIF vocabulary, a two-letter country or publishingCountry code is one GBIF does not know, or GBIF rejected another filter as malformed. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / notice / description
      Previous value: -"Guidance when no facet values were returned, a read limit was clamped, a lookahead bucket proves more remain, includeLabels left buckets without a label, an exact-match stateProvince, gadmGid, or recordedBy filter matched nothing, or a presence/absence filter narrowed the aggregation. Absent only when none applies."New value: +"Guidance when no facet values were returned, a read limit was clamped, a lookahead bucket proves more remain, includeLabels left buckets without a label, a scientificName or an exact-match stateProvince, gadmGid, or recordedBy filter matched nothing, a decimalLatitude, decimalLongitude, or coordinateUncertaintyInMeters without a comma matched only that exact value, or a presence/absence filter narrowed the aggregation. Absent only when none applies."
    • changedOutput schema / properties / occurrenceStatus / description
      Previous value: -"The presence/absence filter applied upstream — PRESENT, ABSENT, or ANY when no filter was sent. Says what totalOccurrences and every bucket cover."New value: +"The presence/absence filter applied upstream, as sent — PRESENT or DETECTED for sightings, ABSENT or NOT_DETECTED for absences, or ANY when no filter was sent. Says what totalOccurrences and every bucket cover."
  3. Changed19 schema fields changed
    • addedInput schema / properties / catalogNumber
      Added value: +{
      +  "description": "Catalog number a collection assigned to the specimen or record (e.g. \"L.1592880\"), matched as the whole value, case-insensitively. Not unique across collections — one number can name records in several datasets, so pair it with institutionCode or datasetKey to single one out. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.",
      +  "type": "string"
      +}
    • changedInput schema / properties / facet / description
      Previous value: -"Dimension to aggregate by (e.g., COUNTRY, YEAR, BASIS_OF_RECORD, SPECIES_KEY, OCCURRENCE_STATUS, IUCN_RED_LIST_CATEGORY). DATASET_KEY is the first cut when a result set is too large to page: every occurrence carries exactly one datasetKey, so its buckets cover totalOccurrences with no gap or overlap. BASIS_OF_RECORD and PUBLISHING_COUNTRY are gap-free second cuts for a dataset bucket still too large; both have a matching filter on the occurrence tools. A dimension a record can lack drops that record from every bucket: YEAR loses undated records; MONTH, STATE_PROVINCE, and SPECIES_KEY lose records lacking that dimension, even where the occurrence tools can filter on it. Sums are comparable only across the same occurrenceStatus scope."New value: +"Dimension to aggregate by (e.g., COUNTRY, YEAR, BASIS_OF_RECORD, SPECIES_KEY, OCCURRENCE_STATUS, IUCN_RED_LIST_CATEGORY). DATASET_KEY is the first cut when a result set is too large to page: every occurrence carries exactly one datasetKey, so its buckets cover totalOccurrences with no gap or overlap. BASIS_OF_RECORD and PUBLISHING_COUNTRY are gap-free second cuts for a dataset bucket still too large; both have a matching filter on the occurrence tools. A dimension a record can lack drops that record from every bucket: YEAR loses undated records; MONTH, STATE_PROVINCE, SPECIES_KEY, INSTITUTION_CODE, MEDIA_TYPE, and RECORDED_BY lose records lacking that dimension; GADM_LEVEL_0_GID, GADM_LEVEL_1_GID, GADM_LEVEL_2_GID, and GADM_LEVEL_3_GID lose records without coordinates or outside every GADM unit at that level — each even where the occurrence tools can filter on it. MEDIA_TYPE and RECORDED_BY buckets also overlap: a record with two media types or two collectors counts in each, so their sums can exceed totalOccurrences. GADM buckets are GIDs to pass back as gadmGid; INSTITUTION_CODE buckets come back lowercased and institutionCode takes them unchanged; RECORDED_BY buckets are the exact spellings recordedBy matches. Sums are comparable only across the same occurrenceStatus scope."
    • changedInput schema / properties / facet / enum
      Previous value: -[
      -  "BASIS_OF_RECORD",
      -  "COUNTRY",
      -  "STATE_PROVINCE",
      -  "YEAR",
      -  "DATASET_KEY",
      -  "KINGDOM_KEY",
      -  "PHYLUM_KEY",
      -  "CLASS_KEY",
      -  "ORDER_KEY",
      -  "FAMILY_KEY",
      -  "GENUS_KEY",
      -  "SPECIES_KEY",
      -  "PUBLISHING_COUNTRY",
      -  "MONTH",
      -  "OCCURRENCE_STATUS",
      -  "IUCN_RED_LIST_CATEGORY"
      -]New value: +[
      +  "BASIS_OF_RECORD",
      +  "COUNTRY",
      +  "STATE_PROVINCE",
      +  "YEAR",
      +  "DATASET_KEY",
      +  "KINGDOM_KEY",
      +  "PHYLUM_KEY",
      +  "CLASS_KEY",
      +  "ORDER_KEY",
      +  "FAMILY_KEY",
      +  "GENUS_KEY",
      +  "SPECIES_KEY",
      +  "PUBLISHING_COUNTRY",
      +  "MONTH",
      +  "OCCURRENCE_STATUS",
      +  "IUCN_RED_LIST_CATEGORY",
      +  "GADM_LEVEL_0_GID",
      +  "GADM_LEVEL_1_GID",
      +  "GADM_LEVEL_2_GID",
      +  "GADM_LEVEL_3_GID",
      +  "INSTITUTION_CODE",
      +  "MEDIA_TYPE",
      +  "RECORDED_BY"
      +]
    • addedInput schema / properties / facetLimit / maximum
      Added value: +9007199254740991
    • changedInput schema / properties / facetLimit / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / facetOffset / maximum
      Added value: +9007199254740991
    • changedInput schema / properties / facetOffset / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / gadmGid
      Added value: +{
      +  "description": "GADM administrative-area GID at any level: country (ESP), state or province (ESP.1_1), county or district (ESP.1.5_1), or municipality (ESP.1.6.3_1). GBIF derives a record's GIDs from its coordinates, so records without coordinates match none, and the unit can differ from the verbatim stateProvince the record carries. Matched exactly and case-sensitively, and a GID holds only uppercase letters, digits, dots, and underscores — any other character is rejected. Take one from a GADM_LEVEL_0_GID, GADM_LEVEL_1_GID, GADM_LEVEL_2_GID, or GADM_LEVEL_3_GID facet on gbif_occurrence_facets, or from the gadm field of gbif_get_occurrence; a well-formed GID GBIF does not hold matches zero records rather than erroring. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.",
      +  "type": "string"
      +}
    • addedInput schema / properties / includeLabels
      Added value: +{
      +  "default": false,
      +  "description": "True names the taxon or dataset behind each bucket on the returned page with a label: the canonicalName for a KINGDOM_KEY, PHYLUM_KEY, CLASS_KEY, ORDER_KEY, FAMILY_KEY, GENUS_KEY, or SPECIES_KEY bucket, the dataset title for a DATASET_KEY bucket. Costs one extra GBIF request per bucket, up to facetLimit, all bounded by one 10 s deadline; a bucket whose lookup fails or misses it comes back without a label and is counted in notice. Every other dimension ignores it. Leave it false when keys are enough, as when partitioning by DATASET_KEY.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / institutionCode
      Added value: +{
      +  "description": "Code of the institution holding the record (e.g. \"K\", \"CLO\"), matched as the whole value, case-insensitively — part of a code or of a multi-word code matches nothing. An INSTITUTION_CODE facet on gbif_occurrence_facets lists the codes in a scope, lowercased, and this filter takes them unchanged. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.",
      +  "type": "string"
      +}
    • addedInput schema / properties / mediaType
      Added value: +{
      +  "description": "Only records carrying at least one media item of this type: StillImage (photographs, scans), MovingImage (video), Sound (audio), or InteractiveResource. Records without media are excluded when this is set.",
      +  "enum": [
      +    "StillImage",
      +    "MovingImage",
      +    "Sound",
      +    "InteractiveResource"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / month / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / recordedBy
      Added value: +{
      +  "description": "Collector or observer, matched against each name in the record's recordedBy list (GBIF splits it on \"|\") exactly and case-sensitively: \"Charles Darwin\" and \"charles darwin\" differ, and one person written two ways (\"Charles Darwin\", \"Darwin, C.\") is two values. Take a value from a RECORDED_BY facet on gbif_occurrence_facets scoped the same way and pass it back unchanged; an unmatched value matches zero records rather than erroring. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.",
      +  "type": "string"
      +}
    • addedInput schema / properties / taxonKey / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / taxonKey / minimum
      Added value: +0
    • changedInput schema / properties / taxonKey / type
      Previous value: -"number"New value: +"integer"
    • addedOutput schema / properties / counts / items / properties / label
      Added value: +{
      +  "description": "Name of the taxon (its canonicalName) or dataset (its title) the key identifies. Present only with includeLabels on a KINGDOM_KEY through SPECIES_KEY or DATASET_KEY facet, and only when the lookup for this bucket succeeded.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `invalid_filter`: A scope filter was supplied blank or whitespace-only, datasetKey is not an 8-4-4-4-12 hex UUID, a two-letter country or publishingCountry code is one GBIF does not know, or GBIF rejected another filter as malformed. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `invalid_filter`: A string scope filter other than country and publishingCountry was supplied blank or whitespace-only (a blank country or publishingCountry fails earlier, at its uppercase pattern, as -32602 invalid_arguments), datasetKey is not an 8-4-4-4-12 hex UUID, gadmGid holds a character other than an uppercase letter, digit, dot, or underscore, a two-letter country or publishingCountry code is one GBIF does not know, or GBIF rejected another filter as malformed. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / notice / description
      Previous value: -"Guidance when no facet values were returned, a read limit was clamped, a lookahead bucket proves more remain, a verbatim stateProvince filter matched nothing, or a presence/absence filter narrowed the aggregation. Absent only when none applies."New value: +"Guidance when no facet values were returned, a read limit was clamped, a lookahead bucket proves more remain, includeLabels left buckets without a label, an exact-match stateProvince, gadmGid, or recordedBy filter matched nothing, or a presence/absence filter narrowed the aggregation. Absent only when none applies."
  4. Changed3 schema fields changed
    • changedInput schema / properties / facet / description
      Previous value: -"Dimension to aggregate by (e.g., COUNTRY, YEAR, BASIS_OF_RECORD, SPECIES_KEY, OCCURRENCE_STATUS, IUCN_RED_LIST_CATEGORY). DATASET_KEY is the dimension to split on when a result set is too large to page: every occurrence carries exactly one datasetKey, so its buckets sum to totalOccurrences with no gap and no overlap, and it has the cardinality to cut a large scope into pageable pieces. BASIS_OF_RECORD and PUBLISHING_COUNTRY are gap-free too and both have a matching filter on the occurrence tools, so either can drive a further split of a bucket still too large — but on that same scope they return 9 and 41 buckets against DATASET_KEY's 550, so neither replaces it as the first cut. A dimension a record can lack silently drops that record: faceting one 60,290,950-record scope by YEAR returned 224 buckets summing to 59,407,400, leaving 883,550 undated records in no bucket at all, and MONTH, STATE_PROVINCE, and SPECIES_KEY lose records the same way — stateProvince included, even though the occurrence tools can now filter on it. Sums are comparable only across the same occurrenceStatus scope."New value: +"Dimension to aggregate by (e.g., COUNTRY, YEAR, BASIS_OF_RECORD, SPECIES_KEY, OCCURRENCE_STATUS, IUCN_RED_LIST_CATEGORY). DATASET_KEY is the first cut when a result set is too large to page: every occurrence carries exactly one datasetKey, so its buckets cover totalOccurrences with no gap or overlap. BASIS_OF_RECORD and PUBLISHING_COUNTRY are gap-free second cuts for a dataset bucket still too large; both have a matching filter on the occurrence tools. A dimension a record can lack drops that record from every bucket: YEAR loses undated records; MONTH, STATE_PROVINCE, and SPECIES_KEY lose records lacking that dimension, even where the occurrence tools can filter on it. Sums are comparable only across the same occurrenceStatus scope."
    • removedInput schema / properties / facetLimit / maximum
      Removed value: -100
    • changedOutput schema / properties / notice / description
      Previous value: -"Guidance when no facet values were returned, a lookahead bucket proves more remain, a verbatim stateProvince filter matched nothing, or a presence/absence filter narrowed the aggregation. Absent only when none applies."New value: +"Guidance when no facet values were returned, a read limit was clamped, a lookahead bucket proves more remain, a verbatim stateProvince filter matched nothing, or a presence/absence filter narrowed the aggregation. Absent only when none applies."
  5. Changed14 schema fields changed
    • changedInput schema / properties / basisOfRecord / enum
      Previous value: -[
      -  "HUMAN_OBSERVATION",
      -  "MACHINE_OBSERVATION",
      -  "PRESERVED_SPECIMEN",
      -  "LIVING_SPECIMEN",
      -  "MATERIAL_SAMPLE",
      -  "MATERIAL_CITATION",
      -  "OCCURRENCE",
      -  "LITERATURE"
      -]New value: +[
      +  "HUMAN_OBSERVATION",
      +  "MACHINE_OBSERVATION",
      +  "PRESERVED_SPECIMEN",
      +  "LIVING_SPECIMEN",
      +  "MATERIAL_SAMPLE",
      +  "MATERIAL_CITATION",
      +  "OCCURRENCE",
      +  "LITERATURE",
      +  "FOSSIL_SPECIMEN",
      +  "OBSERVATION",
      +  "UNKNOWN"
      +]
    • addedInput schema / properties / coordinateUncertaintyInMeters
      Added value: +{
      +  "description": "Coordinate uncertainty radius in meters, e.g. \"0,1000\"; range endpoints inclusive. Omit for any uncertainty; blank or whitespace-only is rejected.",
      +  "type": "string"
      +}
    • addedInput schema / properties / decimalLatitude
      Added value: +{
      +  "description": "Latitude or latitude range \"min,max\" in decimal degrees (WGS84). All supplied spatial filters intersect, including geometry. Omit to leave latitude unbounded; blank or whitespace-only is rejected.",
      +  "type": "string"
      +}
    • addedInput schema / properties / decimalLongitude
      Added value: +{
      +  "description": "Longitude or longitude range \"min,max\" in decimal degrees (WGS84). All supplied spatial filters intersect, including geometry. Omit to leave longitude unbounded; blank or whitespace-only is rejected.",
      +  "type": "string"
      +}
    • changedInput schema / properties / geometry / description
      Previous value: -"WKT polygon to scope the aggregation to a geographic area (e.g., POLYGON((8 47, 9 47, 9 48, 8 48, 8 47))). Coordinates are longitude latitude. Omit the field to aggregate everywhere — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered aggregation."New value: +"WKT polygon to scope the aggregation to a geographic area (e.g., POLYGON((8 47, 9 47, 9 48, 8 48, 8 47))). Coordinates are longitude latitude. All supplied spatial filters intersect: decimalLatitude and decimalLongitude remain active and restrict results to the overlap. Omit the field to aggregate everywhere — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered aggregation."
    • addedInput schema / properties / hasCoordinate
      Added value: +{
      +  "description": "True includes records with coordinates; false only records without coordinates. Omit for both.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / isInCluster
      Added value: +{
      +  "description": "True includes likely duplicates; false excludes them. Omit to include all records. GBIF exposes membership only, with no cluster identifier.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / month
      Added value: +{
      +  "description": "Calendar month (1–12), matching the occurrence search filter.",
      +  "maximum": 12,
      +  "minimum": 1,
      +  "type": "number"
      +}
    • addedInput schema / properties / scientificName
      Added value: +{
      +  "description": "Scientific name; does not match synonyms. With taxonKey GBIF takes their union (OR), not their intersection. Omit to leave names unfiltered; blank or whitespace-only is rejected.",
      +  "type": "string"
      +}
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "not": {
      -      "required": [
      -        "error"
      -      ]
      -    },
      -    "required": [
      -      "facet",
      -      "totalOccurrences",
      -      "counts",
      -      "facetLimit",
      -      "facetOffset",
      -      "occurrenceStatus"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "error"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "facet",
      +      "totalOccurrences",
      +      "counts",
      +      "scope",
      +      "facetLimit",
      +      "facetOffset",
      +      "occurrenceStatus"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `invalid_filter`: A scope filter was supplied blank or whitespace-only, datasetKey is not an 8-4-4-4-12 hex UUID, a two-letter country or publishingCountry code is one GBIF does not know, or GBIF rejected the geometry or year scope as malformed. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `invalid_filter`: A scope filter was supplied blank or whitespace-only, datasetKey is not an 8-4-4-4-12 hex UUID, a two-letter country or publishingCountry code is one GBIF does not know, or GBIF rejected another filter as malformed. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / notice / description
      Previous value: -"Guidance when no facet values were returned, the page came back full and more values may remain, a verbatim stateProvince filter matched nothing, or a presence/absence filter narrowed the aggregation. Absent only when none applies."New value: +"Guidance when no facet values were returned, a lookahead bucket proves more remain, a verbatim stateProvince filter matched nothing, or a presence/absence filter narrowed the aggregation. Absent only when none applies."
    • addedOutput schema / properties / scope
      Added value: +{
      +  "additionalProperties": {
      +    "type": [
      +      "string",
      +      "number",
      +      "boolean"
      +    ]
      +  },
      +  "description": "Effective supplied biological filters, with occurrenceStatus always included; excludes pagination and facet controls.",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • changedOutput schema / properties / truncated / description
      Previous value: -"Heuristic continuation flag: present and true when this page returned a full facetLimit of values, so more distinct values may exist past facetOffset + facetLimit. GBIF exposes no total distinct-value count, so this is an estimate, not exact. Absent when the page came back short, which is the only proof the ranking is exhausted."New value: +"Present and true only when an extra upstream bucket proves another page exists. Absent on the final page, including an exactly full final page."
  6. Changed11 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": [
      +      "facet",
      +      "totalOccurrences",
      +      "counts",
      +      "facetLimit",
      +      "facetOffset",
      +      "occurrenceStatus"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / cap
      Added value: +{
      +  "description": "facetLimit applied when the page was capped. Re-call with facetOffset advanced by this value to page on. Absent otherwise.",
      +  "type": "number"
      +}
    • 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: `invalid_filter`: A scope filter was supplied blank or whitespace-only, datasetKey is not an 8-4-4-4-12 hex UUID, a two-letter country or publishingCountry code is one GBIF does not know, or GBIF rejected the geometry or year scope as malformed. Other values are possible when a failure originates below the handler.",
      +          "examples": [
      +            "invalid_filter"
      +          ],
      +          "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 / properties / moreValuesLikely
      Removed value: -{
      -  "description": "Heuristic continuation flag: true when this page returned a full facetLimit of values, so more distinct values may exist past facetOffset + facetLimit (re-call with facetOffset advanced by facetLimit). GBIF exposes no total distinct-value count, so this is an estimate, not exact.",
      -  "type": "boolean"
      -}
    • changedOutput schema / properties / notice / description
      Previous value: -"Guidance when no facet values were returned, a verbatim stateProvince filter matched nothing, or a presence/absence filter narrowed the aggregation. Absent only when none applies."New value: +"Guidance when no facet values were returned, the page came back full and more values may remain, a verbatim stateProvince filter matched nothing, or a presence/absence filter narrowed the aggregation. Absent only when none applies."
    • addedOutput schema / properties / shown
      Added value: +{
      +  "description": "Facet values returned in this page when the page was capped. Absent otherwise.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "description": "Heuristic continuation flag: present and true when this page returned a full facetLimit of values, so more distinct values may exist past facetOffset + facetLimit. GBIF exposes no total distinct-value count, so this is an estimate, not exact. Absent when the page came back short, which is the only proof the ranking is exhausted.",
      +  "type": "boolean"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "facet",
      -  "totalOccurrences",
      -  "counts",
      -  "facetLimit",
      -  "facetOffset",
      -  "moreValuesLikely",
      -  "occurrenceStatus"
      -]
  7. Changed4 schema fields changed
    • changedInput schema / properties / datasetKey / description
      Previous value: -"Scope the aggregation to a single dataset by its GBIF dataset UUID (8-4-4-4-12 hex). Obtain one from gbif_search_datasets, gbif_get_dataset, a DATASET_KEY facet, or the datasetKey field on an occurrence record."New value: +"Scope the aggregation to a single dataset by its GBIF dataset UUID (8-4-4-4-12 hex). Obtain one from gbif_search_datasets, gbif_get_dataset, a DATASET_KEY facet, or the datasetKey field on an occurrence record. Omit the field to aggregate across every dataset — an empty string is rejected rather than read as no scope, because GBIF answers a blank datasetKey with the unfiltered aggregation."
    • changedInput schema / properties / geometry / description
      Previous value: -"WKT polygon to scope the aggregation to a geographic area (e.g., POLYGON((8 47, 9 47, 9 48, 8 48, 8 47))). Coordinates are longitude latitude."New value: +"WKT polygon to scope the aggregation to a geographic area (e.g., POLYGON((8 47, 9 47, 9 48, 8 48, 8 47))). Coordinates are longitude latitude. Omit the field to aggregate everywhere — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered aggregation."
    • changedInput schema / properties / stateProvince / description
      Previous value: -"State, province, or first-level administrative division, matched as a verbatim string — exact and case-sensitive. Pass back a value this tool returned under facet STATE_PROVINCE rather than a guessed one: GBIF stores what each dataset recorded without normalizing it, so \"England\", \"England - Greater London\", and \"Greater London\" are three distinct values, \"england\" is none of them, and an unmatched value aggregates zero records rather than erroring."New value: +"State, province, or first-level administrative division, matched as a verbatim string — exact and case-sensitive. Pass back a value this tool returned under facet STATE_PROVINCE rather than a guessed one: GBIF stores what each dataset recorded without normalizing it, so \"England\", \"England - Greater London\", and \"Greater London\" are three distinct values, \"england\" is none of them, and an unmatched value aggregates zero records rather than erroring. Omit the field to aggregate across every state or province — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered aggregation."
    • changedInput schema / properties / year / description
      Previous value: -"Year or year range (e.g., \"2020,2024\") to scope the aggregation. Both endpoints inclusive."New value: +"Year or year range (e.g., \"2020,2024\") to scope the aggregation. Both endpoints inclusive. Omit the field to aggregate across every year — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered aggregation."
  8. Changed2 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"ISO 3166-1 alpha-2 code of where the occurrence was recorded, to scope to one country. Not the publisher's country — that is publishingCountry, and the two disagree on most records."New value: +"ISO 3166-1 alpha-2 code, uppercase, of where the occurrence was recorded, to scope to one country. Not the publisher's country — that is publishingCountry, and the two disagree on most records. Scope to one country, or pass back a value this tool returned under facet COUNTRY to drill into that bucket. Lowercase and alpha-3 forms (\"gb\", \"USA\") match nothing upstream, which is why only the uppercase two-letter form is accepted here."
    • addedInput schema / properties / country / pattern
      Added value: +"^[A-Z]{2}$"
  9. Changed5 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"ISO 3166-1 alpha-2 country code to scope to one country."New value: +"ISO 3166-1 alpha-2 code of where the occurrence was recorded, to scope to one country. Not the publisher's country — that is publishingCountry, and the two disagree on most records."
    • changedInput schema / properties / facet / description
      Previous value: -"Dimension to aggregate by (e.g., COUNTRY, YEAR, BASIS_OF_RECORD, SPECIES_KEY, OCCURRENCE_STATUS, IUCN_RED_LIST_CATEGORY)."New value: +"Dimension to aggregate by (e.g., COUNTRY, YEAR, BASIS_OF_RECORD, SPECIES_KEY, OCCURRENCE_STATUS, IUCN_RED_LIST_CATEGORY). DATASET_KEY is the dimension to split on when a result set is too large to page: every occurrence carries exactly one datasetKey, so its buckets sum to totalOccurrences with no gap and no overlap, and it has the cardinality to cut a large scope into pageable pieces. BASIS_OF_RECORD and PUBLISHING_COUNTRY are gap-free too and both have a matching filter on the occurrence tools, so either can drive a further split of a bucket still too large — but on that same scope they return 9 and 41 buckets against DATASET_KEY's 550, so neither replaces it as the first cut. A dimension a record can lack silently drops that record: faceting one 60,290,950-record scope by YEAR returned 224 buckets summing to 59,407,400, leaving 883,550 undated records in no bucket at all, and MONTH, STATE_PROVINCE, and SPECIES_KEY lose records the same way — stateProvince included, even though the occurrence tools can now filter on it. Sums are comparable only across the same occurrenceStatus scope."
    • addedInput schema / properties / publishingCountry
      Added value: +{
      +  "description": "ISO 3166-1 alpha-2 code, uppercase, of the organization that published the record — not where the occurrence was observed, which is country. Scope to one publisher country, or pass back a value this tool returned under facet PUBLISHING_COUNTRY to drill into that bucket. Lowercase and alpha-3 forms (\"us\", \"USA\") match nothing upstream, which is why only the uppercase two-letter form is accepted here.",
      +  "pattern": "^[A-Z]{2}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / stateProvince
      Added value: +{
      +  "description": "State, province, or first-level administrative division, matched as a verbatim string — exact and case-sensitive. Pass back a value this tool returned under facet STATE_PROVINCE rather than a guessed one: GBIF stores what each dataset recorded without normalizing it, so \"England\", \"England - Greater London\", and \"Greater London\" are three distinct values, \"england\" is none of them, and an unmatched value aggregates zero records rather than erroring.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / notice / description
      Previous value: -"Guidance when no facet values were returned or a presence/absence filter narrowed the aggregation. Absent only when neither applies."New value: +"Guidance when no facet values were returned, a verbatim stateProvince filter matched nothing, or a presence/absence filter narrowed the aggregation. Absent only when none applies."
  10. Changed7 schema fields changed
    • changedInput schema / properties / facet / description
      Previous value: -"Dimension to aggregate by (e.g., COUNTRY, YEAR, BASIS_OF_RECORD, SPECIES_KEY)."New value: +"Dimension to aggregate by (e.g., COUNTRY, YEAR, BASIS_OF_RECORD, SPECIES_KEY, OCCURRENCE_STATUS, IUCN_RED_LIST_CATEGORY)."
    • changedInput schema / properties / facet / enum
      Previous value: -[
      -  "BASIS_OF_RECORD",
      -  "COUNTRY",
      -  "STATE_PROVINCE",
      -  "YEAR",
      -  "DATASET_KEY",
      -  "KINGDOM_KEY",
      -  "PHYLUM_KEY",
      -  "CLASS_KEY",
      -  "ORDER_KEY",
      -  "FAMILY_KEY",
      -  "GENUS_KEY",
      -  "SPECIES_KEY",
      -  "PUBLISHING_COUNTRY",
      -  "MONTH"
      -]New value: +[
      +  "BASIS_OF_RECORD",
      +  "COUNTRY",
      +  "STATE_PROVINCE",
      +  "YEAR",
      +  "DATASET_KEY",
      +  "KINGDOM_KEY",
      +  "PHYLUM_KEY",
      +  "CLASS_KEY",
      +  "ORDER_KEY",
      +  "FAMILY_KEY",
      +  "GENUS_KEY",
      +  "SPECIES_KEY",
      +  "PUBLISHING_COUNTRY",
      +  "MONTH",
      +  "OCCURRENCE_STATUS",
      +  "IUCN_RED_LIST_CATEGORY"
      +]
    • addedInput schema / properties / iucnRedListCategory
      Added value: +{
      +  "description": "Scope to records whose taxon carries this IUCN Red List category: CR Critically Endangered, EN Endangered, VU Vulnerable, NT Near Threatened, LC Least Concern, DD Data Deficient, EX Extinct, EW Extinct in the Wild, CD Conservation Dependent. Leave unset and facet on IUCN_RED_LIST_CATEGORY to see the whole distribution instead.",
      +  "enum": [
      +    "CR",
      +    "EN",
      +    "VU",
      +    "NT",
      +    "LC",
      +    "DD",
      +    "EX",
      +    "EW",
      +    "CD"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / occurrenceStatus
      Added value: +{
      +  "default": "PRESENT",
      +  "description": "Presence/absence scope. Defaults to PRESENT so the aggregation counts sightings, not the surveys that looked and found nothing, and agrees with gbif_count_occurrences on the same filters. Use ANY for both — required to see both buckets when facet is OCCURRENCE_STATUS — or ABSENT for non-observations alone.",
      +  "enum": [
      +    "PRESENT",
      +    "ABSENT",
      +    "ANY"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / notice / description
      Previous value: -"Guidance when no facet values were returned. Absent when counts are non-empty."New value: +"Guidance when no facet values were returned or a presence/absence filter narrowed the aggregation. Absent only when neither applies."
    • addedOutput schema / properties / occurrenceStatus
      Added value: +{
      +  "description": "The presence/absence filter applied upstream — PRESENT, ABSENT, or ANY when no filter was sent. Says what totalOccurrences and every bucket cover.",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "facet",
      -  "totalOccurrences",
      -  "counts",
      -  "facetLimit",
      -  "facetOffset",
      -  "moreValuesLikely"
      -]New value: +[
      +  "facet",
      +  "totalOccurrences",
      +  "counts",
      +  "facetLimit",
      +  "facetOffset",
      +  "moreValuesLikely",
      +  "occurrenceStatus"
      +]
  11. Changed1 schema field changed
    • changedOutput schema / properties / counts / description
      Previous value: -"Facet values ranked by count descending (top facetLimit entries)."New value: +"Facet values ranked by count descending — one page of up to facetLimit entries starting at facetOffset, not necessarily the top ones."
  12. Changed1 schema field changed
    • changedInput schema / properties / datasetKey / description
      Previous value: -"Scope the aggregation to a single dataset by its GBIF dataset UUID. Obtain one from gbif_search_datasets, gbif_get_dataset, a DATASET_KEY facet, or the datasetKey field on an occurrence record."New value: +"Scope the aggregation to a single dataset by its GBIF dataset UUID (8-4-4-4-12 hex). Obtain one from gbif_search_datasets, gbif_get_dataset, a DATASET_KEY facet, or the datasetKey field on an occurrence record."
  13. Changed4 schema fields changed
    • addedInput schema / properties / facetOffset
      Added value: +{
      +  "default": 0,
      +  "description": "Zero-based offset into the ranked facet values, for paging past the first facetLimit values on high-cardinality dimensions like DATASET_KEY. Advance by facetLimit to fetch the next page (0, then facetLimit, then 2×facetLimit, …).",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedOutput schema / properties / facetOffset
      Added value: +{
      +  "description": "Zero-based offset applied to the ranked facet values.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / moreValuesLikely
      Added value: +{
      +  "description": "Heuristic continuation flag: true when this page returned a full facetLimit of values, so more distinct values may exist past facetOffset + facetLimit (re-call with facetOffset advanced by facetLimit). GBIF exposes no total distinct-value count, so this is an estimate, not exact.",
      +  "type": "boolean"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "facet",
      -  "totalOccurrences",
      -  "counts",
      -  "facetLimit"
      -]New value: +[
      +  "facet",
      +  "totalOccurrences",
      +  "counts",
      +  "facetLimit",
      +  "facetOffset",
      +  "moreValuesLikely"
      +]
  14. Changed1 schema field changed
    • addedInput schema / properties / datasetKey
      Added value: +{
      +  "description": "Scope the aggregation to a single dataset by its GBIF dataset UUID. Obtain one from gbif_search_datasets, gbif_get_dataset, a DATASET_KEY facet, or the datasetKey field on an occurrence record.",
      +  "type": "string"
      +}
  15. Changed3 schema fields changed
    • addedOutput schema / properties / facetLimit
      Added value: +{
      +  "description": "Maximum facet values requested.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / notice
      Added value: +{
      +  "description": "Guidance when no facet values were returned. Absent when counts are non-empty.",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "facet",
      -  "totalOccurrences",
      -  "counts"
      -]New value: +[
      +  "facet",
      +  "totalOccurrences",
      +  "counts",
      +  "facetLimit"
      +]
  16. Changed3 schema fields changed
    • changedInput schema / properties / facet / enum
      Previous value: -[
      -  "BASIS_OF_RECORD",
      -  "COUNTRY",
      -  "YEAR",
      -  "DATASET_KEY",
      -  "KINGDOM_KEY",
      -  "PHYLUM_KEY",
      -  "CLASS_KEY",
      -  "ORDER_KEY",
      -  "FAMILY_KEY",
      -  "GENUS_KEY",
      -  "SPECIES_KEY",
      -  "PUBLISHING_COUNTRY",
      -  "MONTH"
      -]New value: +[
      +  "BASIS_OF_RECORD",
      +  "COUNTRY",
      +  "STATE_PROVINCE",
      +  "YEAR",
      +  "DATASET_KEY",
      +  "KINGDOM_KEY",
      +  "PHYLUM_KEY",
      +  "CLASS_KEY",
      +  "ORDER_KEY",
      +  "FAMILY_KEY",
      +  "GENUS_KEY",
      +  "SPECIES_KEY",
      +  "PUBLISHING_COUNTRY",
      +  "MONTH"
      +]
    • changedInput schema / properties / taxonKey / description
      Previous value: -"Backbone taxon key to scope the aggregation."New value: +"Backbone taxon key to scope the aggregation. Matches the given taxon and all descendant taxa (subspecies, varieties, etc.)."
    • changedInput schema / properties / year / description
      Previous value: -"Year or year range (e.g., \"2020,2024\") to scope the aggregation."New value: +"Year or year range (e.g., \"2020,2024\") to scope the aggregation. Both endpoints inclusive."
  17. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnly/idempotent/openWorld, but the description goes far beyond: bucket overlap semantics (MEDIA_TYPE, RECORDED_BY, TYPE_STATUS count in multiple buckets so sums can exceed totalOccurrences), lossy dimensions (YEAR drops undated records), conditional validity of sums ("Sums are comparable only across the same occurrenceStatus scope"), the default PRESENT-only scope, and named pagination caps with their error identifiers. It also discloses the extra per-bucket lookup cost and 10 s deadline for includeLabels.

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

Conciseness3/5

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

Purpose and paging guidance are front-loaded, but the middle section becomes a long prose re-enumeration of roughly 25 filter names (country, publishingCountry, stateProvince, gadmGid, year, month, eventDate, scientificName, latitude/longitude...) that the 37-property schema already documents, which costs an agent scanning effort without adding semantics. The dense single-block structure also mixes return-shape facts, dimension caveats, and the splitting strategy in one paragraph.

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?

For a 37-parameter aggregation tool with an output schema and safety annotations in place, the description covers everything an agent needs: required facet selection, pagination via facetLimit/facetOffset with hard caps, label enrichment behavior, default occurrenceStatus scope, and the recommended large-result strategy. Nothing material for correct invocation is left unstated.

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

Parameters5/5

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

Schema coverage is already 100%, so the baseline is 3, but the description adds cross-parameter meaning the schema cannot express: OR-within-filter vs intersect-across-filters, and the exception that a taxonKey unions with scientificName rather than intersecting. It also explains dimension-specific value handling (KINGDOM_KEY through SPECIES_KEY are Backbone keys unless checklistKey selects a Catalogue of Life checklist, then they are checklistTaxonKey values) and that occurrenceStatus ANY is required for the OCCURRENCE_STATUS facet.

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?

States a specific verb and resource ("Aggregate occurrence counts across a dimension") and immediately names the return shape ("one page of facet values ranked by count descending... No record payloads returned"). It also positions itself against siblings by tying default behavior to gbif_search_occurrences and gbif_count_occurrences and by naming the splitting workflow gbif_search_occurrences cannot handle.

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?

Gives concrete when-to-use examples ("which countries have the most records for this species?") and an explicit alternative workflow for the case this tool is not for ("split a result set too large for gbif_search_occurrences to page... facet by DATASET_KEY, then search each datasetKey on its own"). It also states when to switch modes, e.g. pass facet OCCURRENCE_STATUS with occurrenceStatus ANY to see presence/absence, and when to leave includeLabels false.

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.