Skip to main content
Glama

gbif-biodiversity-mcp-server

Get Occurrence Record

gbif_get_occurrence
Read-onlyIdempotent

Fetch a single occurrence record by its GBIF occurrence key. Returns the Darwin Core record — coordinates with what the publisher withheld or generalized about them (informationWithheld, dataGeneralizations), elevation and depth, administrative geography (GADM levels 0–3), dates, collections metadata, collector identifiers and record number, the identification date (dateIdentified), the recorder's remarks, habitat, sampling protocol and organism quantity, type status, establishment means, the backbone key at every rank, the accepted taxon behind a synonym, conservation status, license, rights holder, publishing organization, the source dataset's name, the link to the source record (references), media links with their rights holders, duplicate-cluster membership (isInCluster), and quality issue flags. Check occurrenceStatus before reading the record as a sighting: NOT_DETECTED (ABSENT or NOT_DETECTED in the occurrenceStatus filter) means a survey looked for the taxon and did not find it. Use the occurrence key from gbif_search_occurrences results.

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": {
      "occurrenceKey": "<occurrenceKey>"
    },
    "name": "gbif_get_occurrence"
  }
}

Input Schema

NameRequiredDescriptionDefault
occurrenceKeyYesGBIF occurrence key from gbif_search_occurrences results.

Output Schema

NameRequiredDescriptionDefault
dayNoObservation day. May be absent.
keyNoGBIF occurrence key.
sexNoSex of the individual(s). May be absent.
gadmNoGADM administrative geography — stable GIDs and names at levels 0–3. May be absent.
yearNoObservation year. May be absent.
classNoClass classification. May be absent.
depthNoDepth in meters below the local surface, such as a water surface. May be absent.
errorNoPresent when the call failed. Absent on success.
genusNoGenus classification.
mediaNoAssociated media (images, audio, video). May be absent.
monthNoObservation month (1–12). May be absent.
orderNoOrder classification.
familyNoFamily classification.
issuesNoGBIF data quality issue flags.
phylumNoPhylum classification.
countryNoCountry name. May be absent.
habitatNoHabitat the publisher recorded for the occurrence. May be absent.
kingdomNoKingdom classification.
licenseNoLicense the record is published under, as the Creative Commons URL GBIF stores (e.g. http://creativecommons.org/licenses/by-nc/4.0/legalcode). The license filter on the occurrence tools takes the matching code instead — CC0_1_0, CC_BY_4_0, or CC_BY_NC_4_0 — not this URL. May be absent.
speciesNoSpecies canonical name.
classKeyNoBackbone taxon key for the class. May be absent.
genusKeyNoBackbone taxon key for the genus. May be absent.
localityNoLocality description. May be absent.
orderKeyNoBackbone taxon key for the order. May be absent.
taxonKeyNoBackbone taxon key.
continentNoContinent name. May be absent.
elevationNoElevation in meters above sea level. May be absent.
eventDateNoObservation date as ISO 8601 string. May be absent.
eventTimeNoTime of day of the observation, with seconds and UTC offset (e.g. 20:15:00+01:00) — the offset eventDate omits when it carries a local time. May be absent.
familyKeyNoBackbone taxon key for the family. May be absent.
lifeStageNoLife stage of the individual(s). May be absent.
phylumKeyNoBackbone taxon key for the phylum. May be absent.
taxonRankNoTaxonomic rank of the identified taxon.
datasetKeyNoUUID of the source dataset.
kingdomKeyNoBackbone taxon key for the kingdom. May be absent.
recordedByNoCollector name(s). May be absent.
referencesNoLink to the source record as the publisher supplies it, usually an http(s) URL — on many specimens the record's only URL, distinct from occurrenceID. May be absent.
speciesKeyNoBackbone taxon key for the species. May be absent.
typeStatusNoNomenclatural type status of the specimen (e.g. Holotype, Isolectotype), as the GBIF concept name the typeStatus filter takes unchanged. May be absent.
countryCodeNoISO 3166-1 alpha-2 country code. May be absent.
datasetNameNoDataset name as the publisher wrote it on the record — not always the registry title gbif_get_dataset returns for datasetKey. May be absent.
identifiersNoAlternative record identifiers from the source. May be absent.
isInClusterNoTrue when GBIF flags the record as a likely duplicate of another — the flag the isInCluster filter on gbif_search_occurrences, gbif_count_occurrences, and gbif_occurrence_facets selects on. GBIF exposes membership only, with no cluster identifier. May be absent.
identifiedByNoIdentifier name(s). May be absent.
occurrenceIDNoDarwin Core occurrenceID — the source record identifier, often a URL back to the origin record. May be absent.
recordNumberNoNumber the collector assigned when collecting (e.g. "JL 157") — how herbarium specimens are cited, beside recordedBy. Not the catalogNumber. May be absent.
rightsHolderNoPerson or organization that owns or manages rights over the record — the name to credit under a CC BY license. May be absent.
basisOfRecordNoHow the occurrence was recorded.
canonicalNameNoCanonical name without authorship.
catalogNumberNoCatalog number within the collection. May be absent.
stateProvinceNoState or province. May be absent.
collectionCodeNoCollection code within the institution. May be absent.
dateIdentifiedNoWhen the identification was made, as GBIF sends it: YYYY-MM-DDTHH:MM:SS with no UTC offset. GBIF pads a date-only value to T00:00:00 and a year-only one to -01-01T00:00:00, so a midnight time or a 1 January date may be padding rather than recorded precision. May be absent.
scientificNameNoScientific name from occurrence record.
decimalLatitudeNoLatitude in decimal degrees (WGS84). May be absent.
individualCountNoNumber of individuals. May be absent.
institutionCodeNoCode of the contributing institution. May be absent.
taxonomicStatusNoStatus of the identification carried on this record — ACCEPTED, PROVISIONALLY_ACCEPTED, SYNONYM, DOUBTFUL, and so on. Says whether the occurrence was filed under an accepted name or a synonym. May be absent.
acceptedTaxonKeyNoBackbone taxon key of the accepted taxon. Equals taxonKey for a record filed under an accepted name; when taxonomicStatus is SYNONYM, taxonKey is the synonym and this is the taxon it resolves to. Passed as taxonKey to the occurrence tools, it covers the accepted taxon and every synonym. May be absent.
decimalLongitudeNoLongitude in decimal degrees (WGS84). May be absent.
occurrenceStatusNoWhether the record asserts presence or absence: DETECTED when the taxon was there, NOT_DETECTED when it documents a survey that looked and did not find it. GBIF serves these spellings; the occurrenceStatus filter also takes the older PRESENT and ABSENT, which select the same records. A NOT_DETECTED record is not a sighting — it carries coordinates, a date, and a recorder all the same. May be absent.
organismQuantityNoQuantity of organisms, in the unit organismQuantityType names — survey abundance where individualCount is often absent. May be absent.
samplingProtocolNoMethod used to collect or observe the record (e.g. GOV Trawl, acoustic detection) — what separates a survey from an incidental sighting. May be absent.
occurrenceRemarksNoThe recorder's notes on the record, in full. May be absent.
publishingCountryNoCountry code of the publishing organization.
establishmentMeansNoHow the organism came to be at the location (e.g. native, introduced), as the GBIF concept name the establishmentMeans filter takes unchanged. May be absent.
dataGeneralizationsNoHow the publisher generalized the record, as written — the Darwin Core counterpart to informationWithheld for values deliberately coarsened, most often rounded coordinates (e.g. "WGS84 coordinates generalized with formula: …"). May be absent.
informationWithheldNoWhat the publisher withheld from the record and why, as written (e.g. "Coordinate uncertainty increased to 28300m to protect threatened taxon") — the coordinates or other values are coarser than observed on purpose. May be absent.
iucnRedListCategoryNoIUCN Red List category of the taxon — 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. May be absent.
organismQuantityTypeNoUnit organismQuantity is counted in, as the publisher wrote it (e.g. Individuals, % biomass). May be absent.
acceptedScientificNameNoScientific name of the accepted taxon as GBIF writes it, with authorship where GBIF has one (e.g. "Quercus castanea Née") — the accepted counterpart of scientificName. May be absent.
publishingOrganizationKeyNoUUID of the organization that published the record — GBIF's publishingOrgKey. Pass it as publishingOrg to the occurrence tools or gbif_search_datasets. May be absent.
coordinateUncertaintyInMetersNoCoordinate uncertainty radius in meters. May be absent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed18 schema fields changed
    • addedOutput schema / properties / dataGeneralizations
      Added value: +{
      +  "description": "How the publisher generalized the record, as written — the Darwin Core counterpart to informationWithheld for values deliberately coarsened, most often rounded coordinates (e.g. \"WGS84 coordinates generalized with formula: …\"). May be absent.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / datasetName
      Added value: +{
      +  "description": "Dataset name as the publisher wrote it on the record — not always the registry title gbif_get_dataset returns for datasetKey. May be absent.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / dateIdentified
      Added value: +{
      +  "description": "When the identification was made, as GBIF sends it: YYYY-MM-DDTHH:MM:SS with no UTC offset. GBIF pads a date-only value to T00:00:00 and a year-only one to -01-01T00:00:00, so a midnight time or a 1 January date may be padding rather than recorded precision. May be absent.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / familyKey
      Added value: +{
      +  "description": "Backbone taxon key for the family. May be absent.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / genusKey
      Added value: +{
      +  "description": "Backbone taxon key for the genus. May be absent.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / habitat
      Added value: +{
      +  "description": "Habitat the publisher recorded for the occurrence. May be absent.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / informationWithheld
      Added value: +{
      +  "description": "What the publisher withheld from the record and why, as written (e.g. \"Coordinate uncertainty increased to 28300m to protect threatened taxon\") — the coordinates or other values are coarser than observed on purpose. May be absent.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / isInCluster
      Added value: +{
      +  "description": "True when GBIF flags the record as a likely duplicate of another — the flag the isInCluster filter on gbif_search_occurrences, gbif_count_occurrences, and gbif_occurrence_facets selects on. GBIF exposes membership only, with no cluster identifier. May be absent.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / iucnRedListCategory / description
      Previous value: -"IUCN Red List category of the taxon — 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. May be absent."New value: +"IUCN Red List category of the taxon — 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. May be absent."
    • addedOutput schema / properties / kingdomKey
      Added value: +{
      +  "description": "Backbone taxon key for the kingdom. May be absent.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / occurrenceRemarks
      Added value: +{
      +  "description": "The recorder's notes on the record, in full. May be absent.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / orderKey
      Added value: +{
      +  "description": "Backbone taxon key for the order. May be absent.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / organismQuantity
      Added value: +{
      +  "description": "Quantity of organisms, in the unit organismQuantityType names — survey abundance where individualCount is often absent. May be absent.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / organismQuantityType
      Added value: +{
      +  "description": "Unit organismQuantity is counted in, as the publisher wrote it (e.g. Individuals, % biomass). May be absent.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / phylumKey
      Added value: +{
      +  "description": "Backbone taxon key for the phylum. May be absent.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / references
      Added value: +{
      +  "description": "Link to the source record as the publisher supplies it, usually an http(s) URL — on many specimens the record's only URL, distinct from occurrenceID. May be absent.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / samplingProtocol
      Added value: +{
      +  "description": "Method used to collect or observe the record (e.g. GOV Trawl, acoustic detection) — what separates a survey from an incidental sighting. May be absent.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / speciesKey
      Added value: +{
      +  "description": "Backbone taxon key for the species. May be absent.",
      +  "type": "number"
      +}
  2. Changed12 schema fields changed
    • addedOutput schema / properties / acceptedScientificName
      Added value: +{
      +  "description": "Scientific name of the accepted taxon as GBIF writes it, with authorship where GBIF has one (e.g. \"Quercus castanea Née\") — the accepted counterpart of scientificName. May be absent.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / acceptedTaxonKey
      Added value: +{
      +  "description": "Backbone taxon key of the accepted taxon. Equals taxonKey for a record filed under an accepted name; when taxonomicStatus is SYNONYM, taxonKey is the synonym and this is the taxon it resolves to. Passed as taxonKey to the occurrence tools, it covers the accepted taxon and every synonym. May be absent.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / depth
      Added value: +{
      +  "description": "Depth in meters below the local surface, such as a water surface. May be absent.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / elevation
      Added value: +{
      +  "description": "Elevation in meters above sea level. May be absent.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / establishmentMeans
      Added value: +{
      +  "description": "How the organism came to be at the location (e.g. native, introduced), as the GBIF concept name the establishmentMeans filter takes unchanged. May be absent.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / license
      Added value: +{
      +  "description": "License the record is published under, as the Creative Commons URL GBIF stores (e.g. http://creativecommons.org/licenses/by-nc/4.0/legalcode). The license filter on the occurrence tools takes the matching code instead — CC0_1_0, CC_BY_4_0, or CC_BY_NC_4_0 — not this URL. May be absent.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / media / items / properties / rightsHolder
      Added value: +{
      +  "description": "Rights holder to credit for the media item. May be absent.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / occurrenceStatus / description
      Previous value: -"PRESENT when the record asserts the taxon was there, ABSENT when it documents a survey that looked and did not find it. An ABSENT record is not a sighting — it carries coordinates, a date, and a recorder all the same. May be absent."New value: +"Whether the record asserts presence or absence: DETECTED when the taxon was there, NOT_DETECTED when it documents a survey that looked and did not find it. GBIF serves these spellings; the occurrenceStatus filter also takes the older PRESENT and ABSENT, which select the same records. A NOT_DETECTED record is not a sighting — it carries coordinates, a date, and a recorder all the same. May be absent."
    • addedOutput schema / properties / publishingOrganizationKey
      Added value: +{
      +  "description": "UUID of the organization that published the record — GBIF's publishingOrgKey. Pass it as publishingOrg to the occurrence tools or gbif_search_datasets. May be absent.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / recordNumber
      Added value: +{
      +  "description": "Number the collector assigned when collecting (e.g. \"JL 157\") — how herbarium specimens are cited, beside recordedBy. Not the catalogNumber. May be absent.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / rightsHolder
      Added value: +{
      +  "description": "Person or organization that owns or manages rights over the record — the name to credit under a CC BY license. May be absent.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / typeStatus
      Added value: +{
      +  "description": "Nomenclatural type status of the specimen (e.g. Holotype, Isolectotype), as the GBIF concept name the typeStatus filter takes unchanged. May be absent.",
      +  "type": "string"
      +}
  3. Changed9 schema fields changed
    • addedInput schema / properties / occurrenceKey / exclusiveMinimum
      Added value: +0
    • addedInput schema / properties / occurrenceKey / maximum
      Added value: +9007199254740991
    • changedInput schema / properties / occurrenceKey / type
      Previous value: -"number"New value: +"integer"
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `not_found`: The occurrenceKey does not exist in GBIF. `invalid_filter`: GBIF rejected the occurrenceKey as unparseable — a fraction, or a value past the largest integer the endpoint accepts. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `not_found`: The occurrenceKey does not exist in GBIF. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "not_found",
      -  "invalid_filter"
      -]New value: +[
      +  "not_found"
      +]
    • changedOutput schema / properties / gadm / properties / level0 / properties / gid / description
      Previous value: -"GADM GID — stable administrative-unit identifier (e.g. SWE, SWE.2_1). May be absent."New value: +"GADM GID — stable administrative-unit identifier (e.g. SWE, SWE.2_1). Pass it as gadmGid to gbif_search_occurrences, gbif_count_occurrences, or gbif_occurrence_facets to filter on this unit. May be absent."
    • changedOutput schema / properties / gadm / properties / level1 / properties / gid / description
      Previous value: -"GADM GID — stable administrative-unit identifier (e.g. SWE, SWE.2_1). May be absent."New value: +"GADM GID — stable administrative-unit identifier (e.g. SWE, SWE.2_1). Pass it as gadmGid to gbif_search_occurrences, gbif_count_occurrences, or gbif_occurrence_facets to filter on this unit. May be absent."
    • changedOutput schema / properties / gadm / properties / level2 / properties / gid / description
      Previous value: -"GADM GID — stable administrative-unit identifier (e.g. SWE, SWE.2_1). May be absent."New value: +"GADM GID — stable administrative-unit identifier (e.g. SWE, SWE.2_1). Pass it as gadmGid to gbif_search_occurrences, gbif_count_occurrences, or gbif_occurrence_facets to filter on this unit. May be absent."
    • changedOutput schema / properties / gadm / properties / level3 / properties / gid / description
      Previous value: -"GADM GID — stable administrative-unit identifier (e.g. SWE, SWE.2_1). May be absent."New value: +"GADM GID — stable administrative-unit identifier (e.g. SWE, SWE.2_1). Pass it as gadmGid to gbif_search_occurrences, gbif_count_occurrences, or gbif_occurrence_facets to filter on this unit. May be absent."
  4. Changed5 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": [
      +      "error"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / error
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Present when the call failed. Absent on success.",
      +  "properties": {
      +    "code": {
      +      "description": "JSON-RPC error code for this failure.",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "data": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "reason": {
      +          "description": "Machine-readable failure mode. Declared by this tool: `not_found`: The occurrenceKey does not exist in GBIF. `invalid_filter`: GBIF rejected the occurrenceKey as unparseable — a fraction, or a value past the largest integer the endpoint accepts. Other values are possible when a failure originates below the handler.",
      +          "examples": [
      +            "not_found",
      +            "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"
      +}
  5. Changed6 schema fields changed
    • addedOutput schema / properties / eventTime
      Added value: +{
      +  "description": "Time of day of the observation, with seconds and UTC offset (e.g. 20:15:00+01:00) — the offset eventDate omits when it carries a local time. May be absent.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / gadm / description
      Previous value: -"GADM administrative geography — stable GIDs and names at levels 0–2. May be absent."New value: +"GADM administrative geography — stable GIDs and names at levels 0–3. May be absent."
    • addedOutput schema / properties / gadm / properties / level3
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "GADM level 3 — municipality/ward, the finest level GBIF indexes. Absent where the country does not subdivide that far.",
      +  "properties": {
      +    "gid": {
      +      "description": "GADM GID — stable administrative-unit identifier (e.g. SWE, SWE.2_1). May be absent.",
      +      "type": "string"
      +    },
      +    "name": {
      +      "description": "Administrative-unit name. May be absent.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / iucnRedListCategory
      Added value: +{
      +  "description": "IUCN Red List category of the taxon — 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. May be absent.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / occurrenceStatus
      Added value: +{
      +  "description": "PRESENT when the record asserts the taxon was there, ABSENT when it documents a survey that looked and did not find it. An ABSENT record is not a sighting — it carries coordinates, a date, and a recorder all the same. May be absent.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / taxonomicStatus
      Added value: +{
      +  "description": "Status of the identification carried on this record — ACCEPTED, PROVISIONALLY_ACCEPTED, SYNONYM, DOUBTFUL, and so on. Says whether the occurrence was filed under an accepted name or a synonym. May be absent.",
      +  "type": "string"
      +}
  6. Changed5 schema fields changed
    • addedOutput schema / properties / class
      Added value: +{
      +  "description": "Class classification. May be absent.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / classKey
      Added value: +{
      +  "description": "Backbone taxon key for the class. May be absent.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / gadm
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "GADM administrative geography — stable GIDs and names at levels 0–2. May be absent.",
      +  "properties": {
      +    "level0": {
      +      "additionalProperties": false,
      +      "description": "GADM level 0 — country. May be absent.",
      +      "properties": {
      +        "gid": {
      +          "description": "GADM GID — stable administrative-unit identifier (e.g. SWE, SWE.2_1). May be absent.",
      +          "type": "string"
      +        },
      +        "name": {
      +          "description": "Administrative-unit name. May be absent.",
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "level1": {
      +      "additionalProperties": false,
      +      "description": "GADM level 1 — state/province. May be absent.",
      +      "properties": {
      +        "gid": {
      +          "description": "GADM GID — stable administrative-unit identifier (e.g. SWE, SWE.2_1). May be absent.",
      +          "type": "string"
      +        },
      +        "name": {
      +          "description": "Administrative-unit name. May be absent.",
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "level2": {
      +      "additionalProperties": false,
      +      "description": "GADM level 2 — county/district. May be absent.",
      +      "properties": {
      +        "gid": {
      +          "description": "GADM GID — stable administrative-unit identifier (e.g. SWE, SWE.2_1). May be absent.",
      +          "type": "string"
      +        },
      +        "name": {
      +          "description": "Administrative-unit name. May be absent.",
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / identifiers
      Added value: +{
      +  "description": "Alternative record identifiers from the source. May be absent.",
      +  "items": {
      +    "additionalProperties": false,
      +    "description": "An alternative identifier for the occurrence record.",
      +    "properties": {
      +      "identifier": {
      +        "description": "The identifier value. May be absent.",
      +        "type": "string"
      +      },
      +      "type": {
      +        "description": "Identifier type (e.g. URL, DOI, GBIF_PORTAL). May be absent.",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / occurrenceID
      Added value: +{
      +  "description": "Darwin Core occurrenceID — the source record identifier, often a URL back to the origin record. May be absent.",
      +  "type": "string"
      +}
  7. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, openWorld), so the description's added value is the semantic caveats: coordinates may be withheld or generalized per informationWithheld/dataGeneralizations, and occurrenceStatus must be checked before treating a record as a sighting. That is substantive context beyond structured metadata, though it omits whether missing keys error or return empty.

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 key provenance are correctly front-loaded, but the middle becomes a ~120-word comma-separated field inventory that duplicates the return contract already carried by the output schema. That list crowds out the two genuinely valuable sentences (withheld data, occurrenceStatus) and makes the definition harder to scan.

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

Completeness4/5

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

For a single-record read with annotations and an output schema present, the definition gives what matters: the key source and the interpretation hazard around occurrenceStatus. The field enumeration is redundant rather than harmful, so nothing an agent needs to call it correctly is missing.

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

Parameters4/5

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

Single parameter with 100% schema description coverage, so the baseline is 4. The description restates the key's provenance (from search results) but adds no format or range meaning beyond what the schema already documents.

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?

Opens with a specific verb and resource: "Fetch a single occurrence record by its GBIF occurrence key." The singular/record-level scope is explicit, which cleanly separates it from the search and facet siblings without needing to name them.

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

Usage Guidelines4/5

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

Tells the agent where the key comes from ("Use the occurrence key from gbif_search_occurrences results") and gives an interpretive rule for occurrenceStatus (NOT_DETECTED/ABSENT means a survey found nothing). It does not state a when-not condition or explicitly route searches back to the search tool, so it falls short of full alternative-routing guidance.

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.