Skip to main content
Glama

gbif-biodiversity-mcp-server

Get Dataset

gbif_get_dataset
Read-onlyIdempotent

Fetch full dataset metadata by UUID key — title, description, citation text, contacts, license, DOI, record count, numConstituents (sub-datasets), temporal coverage, geographic coverage with its bounding boxes, the deletion timestamp of a dataset GBIF no longer publishes, and the publishing organization key, which gbif_search_datasets takes as publishingOrg. Use after gbif_search_datasets or when an occurrence record's datasetKey needs provenance detail. Contacts are capped by contactLimit (default 10); contactsTotal and contactsReturned report the full count.

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": {
      "datasetKey": "<datasetKey>"
    },
    "name": "gbif_get_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
datasetKeyYesDataset UUID (8-4-4-4-12 hex) from gbif_search_datasets or an occurrence record.
contactLimitNoMaximum number of contacts to include (default 10, max 100). Set to 0 to omit contact detail while still reporting contactsTotal — useful when citation, license, and record count are all you need from a high-contact dataset like eBird.

Output Schema

NameRequiredDescriptionDefault
capNocontactLimit applied when the list was capped. Raise it (max 100) to see more. Absent otherwise.
doiNoDOI for citation. May be absent.
keyNoDataset UUID.
typeNoDataset type (OCCURRENCE, CHECKLIST, etc.).
errorNoPresent when the call failed. Absent on success.
shownNoContacts included in this response when the list was capped. Absent otherwise.
titleNoDataset title.
noticeNoHow to reach contacts held back, or requested/applied values when contactLimit was clamped. Absent when neither applies.
deletedNoWhen GBIF deleted the dataset, as the timestamp GBIF sends (e.g. 2026-11-10T20:11:45.006+00:00). A deleted dataset is no longer published or searchable, and GBIF indexes none of its occurrences. Absent on a published dataset.
licenseNoLicense identifier. May be absent.
contactsNoDataset contacts, capped at contactLimit. Absent when the dataset has no contacts or contactLimit is 0.
truncatedNoTrue when the dataset carries more contacts than contactLimit allowed through. Absent when every contact was returned.
descriptionNoFull dataset description. May be absent.
recordCountNoOccurrence records GBIF has indexed for this dataset, matching the figure gbif_search_datasets reports. Spans every occurrenceStatus: absence records — surveys that looked for a taxon and did not find it — are counted alongside sightings, and on some datasets they are the overwhelming majority. gbif_count_occurrences with this datasetKey answers the other question, defaulting to occurrenceStatus PRESENT, so the two figures are expected to differ rather than one being wrong. Fetched separately because the detail endpoint omits it; absent when that lookup does not return in time.
citationTextNoFull citation text for academic reference. May be absent.
contactsTotalNoTotal contacts on the dataset before applying contactLimit. Present when the dataset has any contacts.
numConstituentsNoNumber of constituent sub-datasets. May be absent.
contactsReturnedNoNumber of contacts included in this response (≤ contactLimit). Present when the dataset has any contacts.
publishingCountryNoCountry code of the publishing organization.
recordCountNoticeNoExplains an unavailable supplementary count and how to retry. Absent after a successful lookup or a declared count.
temporalCoveragesNoTemporal coverage declared by the dataset, preserving supplied dates and verbatim periods. May be absent.
geographicCoveragesNoGeographic coverage declared by the dataset — descriptions and bounding boxes. May be absent.
temporalCoverageNoticeNoDiscloses unsupported or unusable temporal entries omitted from the response. May be absent.
publishingOrganizationKeyNoUUID of the organization that published the dataset. Pass it to gbif_search_datasets as publishingOrg for every dataset this organization published; gbif_search_datasets rows also carry the organization's name. Absent when GBIF omits it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / deleted
      Added value: +{
      +  "description": "When GBIF deleted the dataset, as the timestamp GBIF sends (e.g. 2026-11-10T20:11:45.006+00:00). A deleted dataset is no longer published or searchable, and GBIF indexes none of its occurrences. Absent on a published dataset.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / geographicCoverages / description
      Previous value: -"Geographic coverage descriptions declared by the dataset. May be absent."New value: +"Geographic coverage declared by the dataset — descriptions and bounding boxes. May be absent."
    • changedOutput schema / properties / geographicCoverages / items / description
      Previous value: -"A geographic coverage entry."New value: +"A geographic coverage entry: a description, a bounding box, or both."
    • addedOutput schema / properties / geographicCoverages / items / properties / boundingBox
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Bounding box the dataset declares, with every value as GBIF sends it. GBIF maps EML west and east bounds to minLongitude and maxLongitude, so a minLongitude above maxLongitude is a box crossing the antimeridian, not an error. May be absent.",
      +  "properties": {
      +    "globalCoverage": {
      +      "description": "GBIF's global-coverage flag for the box, as sent.",
      +      "type": "boolean"
      +    },
      +    "maxLatitude": {
      +      "description": "Northern bound in decimal degrees.",
      +      "type": "number"
      +    },
      +    "maxLongitude": {
      +      "description": "Eastern bound in decimal degrees — EML's eastBoundingCoordinate.",
      +      "type": "number"
      +    },
      +    "minLatitude": {
      +      "description": "Southern bound in decimal degrees.",
      +      "type": "number"
      +    },
      +    "minLongitude": {
      +      "description": "Western bound in decimal degrees — EML's westBoundingCoordinate.",
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / publishingOrganizationKey
      Added value: +{
      +  "description": "UUID of the organization that published the dataset. Pass it to gbif_search_datasets as publishingOrg for every dataset this organization published; gbif_search_datasets rows also carry the organization's name. Absent when GBIF omits it.",
      +  "type": "string"
      +}
  3. Changed10 schema fields changed
    • changedInput schema / properties / contactLimit / maximum
      Previous value: -100New value: +9007199254740991
    • changedOutput schema / properties / notice / description
      Previous value: -"How to reach the contacts contactLimit held back. Absent when every contact was returned."New value: +"How to reach contacts held back, or requested/applied values when contactLimit was clamped. Absent when neither applies."
    • addedOutput schema / properties / recordCountNotice
      Added value: +{
      +  "description": "Explains an unavailable supplementary count and how to retry. Absent after a successful lookup or a declared count.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / temporalCoverageNotice
      Added value: +{
      +  "description": "Discloses unsupported or unusable temporal entries omitted from the response. May be absent.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / temporalCoverages / description
      Previous value: -"Temporal coverage ranges declared by the dataset. May be absent."New value: +"Temporal coverage declared by the dataset, preserving supplied dates and verbatim periods. May be absent."
    • changedOutput schema / properties / temporalCoverages / items / description
      Previous value: -"A temporal coverage range."New value: +"A temporal coverage range, single date, or verbatim period."
    • addedOutput schema / properties / temporalCoverages / items / properties / @type
      Added value: +{
      +  "description": "GBIF coverage representation: range, single, or verbatim. May be absent on legacy ranges.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / temporalCoverages / items / properties / date
      Added value: +{
      +  "description": "Single coverage date as supplied by GBIF. May be absent.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / temporalCoverages / items / properties / period
      Added value: +{
      +  "description": "Verbatim coverage period. May be absent.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / temporalCoverages / items / properties / type
      Added value: +{
      +  "description": "Verbatim period type. May be absent.",
      +  "type": "string"
      +}
  4. Changed9 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 / cap
      Added value: +{
      +  "description": "contactLimit applied when the list was capped. Raise it (max 100) to see more. 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: `not_found`: The datasetKey UUID does not match any dataset in GBIF. `invalid_filter`: datasetKey is not a UUID, or GBIF rejected the request as malformed. 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"
      +}
    • addedOutput schema / properties / notice
      Added value: +{
      +  "description": "How to reach the contacts contactLimit held back. Absent when every contact was returned.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / shown
      Added value: +{
      +  "description": "Contacts included in this response when the list was capped. Absent otherwise.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "description": "True when the dataset carries more contacts than contactLimit allowed through. Absent when every contact was returned.",
      +  "type": "boolean"
      +}
  5. Changed1 schema field changed
    • changedOutput schema / properties / recordCount / description
      Previous value: -"Occurrence records GBIF has indexed for this dataset, matching the figure gbif_search_datasets reports. Fetched separately for OCCURRENCE datasets because the detail endpoint omits it; absent for other dataset types and when that lookup does not return in time."New value: +"Occurrence records GBIF has indexed for this dataset, matching the figure gbif_search_datasets reports. Spans every occurrenceStatus: absence records — surveys that looked for a taxon and did not find it — are counted alongside sightings, and on some datasets they are the overwhelming majority. gbif_count_occurrences with this datasetKey answers the other question, defaulting to occurrenceStatus PRESENT, so the two figures are expected to differ rather than one being wrong. Fetched separately because the detail endpoint omits it; absent when that lookup does not return in time."
  6. Changed2 schema fields changed
    • changedInput schema / properties / datasetKey / description
      Previous value: -"Dataset UUID from gbif_search_datasets or an occurrence record."New value: +"Dataset UUID (8-4-4-4-12 hex) from gbif_search_datasets or an occurrence record."
    • changedOutput schema / properties / recordCount / description
      Previous value: -"Number of records in the dataset. May be absent."New value: +"Occurrence records GBIF has indexed for this dataset, matching the figure gbif_search_datasets reports. Fetched separately for OCCURRENCE datasets because the detail endpoint omits it; absent for other dataset types and when that lookup does not return in time."
  7. Changed2 schema fields changed
    • addedOutput schema / properties / geographicCoverages
      Added value: +{
      +  "description": "Geographic coverage descriptions declared by the dataset. May be absent.",
      +  "items": {
      +    "additionalProperties": false,
      +    "description": "A geographic coverage entry.",
      +    "properties": {
      +      "description": {
      +        "description": "Geographic coverage description (e.g. \"Worldwide\"). May be absent.",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / temporalCoverages
      Added value: +{
      +  "description": "Temporal coverage ranges declared by the dataset. May be absent.",
      +  "items": {
      +    "additionalProperties": false,
      +    "description": "A temporal coverage range.",
      +    "properties": {
      +      "end": {
      +        "description": "Coverage end as an ISO 8601 date-time. May be absent.",
      +        "type": "string"
      +      },
      +      "start": {
      +        "description": "Coverage start as an ISO 8601 date-time. May be absent.",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  8. Changed4 schema fields changed
    • addedInput schema / properties / contactLimit
      Added value: +{
      +  "default": 10,
      +  "description": "Maximum number of contacts to include (default 10, max 100). Set to 0 to omit contact detail while still reporting contactsTotal — useful when citation, license, and record count are all you need from a high-contact dataset like eBird.",
      +  "maximum": 100,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / contacts / description
      Previous value: -"Dataset contacts. May be absent."New value: +"Dataset contacts, capped at contactLimit. Absent when the dataset has no contacts or contactLimit is 0."
    • addedOutput schema / properties / contactsReturned
      Added value: +{
      +  "description": "Number of contacts included in this response (≤ contactLimit). Present when the dataset has any contacts.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / contactsTotal
      Added value: +{
      +  "description": "Total contacts on the dataset before applying contactLimit. Present when the dataset has any contacts.",
      +  "type": "number"
      +}
  9. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, open-world semantics, so the description earns credit by adding truncation behavior: contacts are capped by contactLimit, and contactsTotal/contactsReturned report the true count. It also flags that the deletion timestamp indicates a dataset GBIF no longer publishes, which is behavior an agent would not guess. It does not cover failure behavior for an unknown UUID.

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

Conciseness4/5

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

Front-loaded with the core action and key source, then the return payload, then usage, then the contact-limit caveat. The field enumeration is long but each item is a real, selectable attribute; nothing is filler, though the single dense paragraph could be split for scanability.

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 two-parameter read tool with an output schema and full annotation coverage, the description is essentially complete: key provenance, return contents, and truncation semantics are all present. The field listing partly duplicates what the output schema already declares, which is helpful for selection but not strictly necessary.

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?

Schema coverage is 100%, so baseline is 3, but the description adds cross-tool meaning: the returned publishing organization key is the same value gbif_search_datasets accepts as publishingOrg, which the schema does not say. The contactLimit capping semantics are also restated in prose, reinforcing the schema's note about omitting contact detail.

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 ('Fetch full dataset metadata by UUID key') and then enumerates exactly what comes back (title, citation, contacts, license, DOI, record count, numConstituents, coverage, deletion timestamp, publishing org key). This is clearly distinguishable from gbif_search_datasets, which returns lists rather than one dataset's full metadata.

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?

Gives explicit routing: 'Use after gbif_search_datasets or when an occurrence record's datasetKey needs provenance detail,' which tells the agent both the upstream source of the key and the trigger condition. It stops short of stating when not to use it (e.g., 'for browsing many datasets use gbif_search_datasets'), so it is clear context without full exclusions.

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.