Skip to main content
Glama

gbif-biodiversity-mcp-server

Get Species Record

gbif_get_species
Read-onlyIdempotent

Fetch a single taxon usage by its GBIF taxon key, from the GBIF backbone or any other checklist. Returns full classification, authorship, taxonomic status, vernacular name, descendant count, and publication reference. Use after gbif_match_species when you need the complete record rather than the match summary, or on a taxon usage key from gbif_search_species. datasetKey names the checklist the record belongs to, and key and the rank, parent, and accepted keys are taxon usage keys of that checklist. nubKey is the mapped backbone key, the one the occurrence tools take as taxonKey; it is absent where the backbone has no mapping. When taxonomicStatus is SYNONYM, acceptedKey and accepted fields identify the accepted taxon. The extinct field is absent (not false) on most records — only present on explicitly flagged taxa.

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": {
      "taxonKey": "<taxonKey>"
    },
    "name": "gbif_get_species"
  }
}

Input Schema

NameRequiredDescriptionDefault
taxonKeyYesGBIF taxon key: a backbone key from gbif_match_species, or a taxon usage key of any checklist, such as key from gbif_search_species.

Output Schema

NameRequiredDescriptionDefault
keyNoTaxon usage key within the source checklist; not necessarily a backbone key.
rankNoTaxonomic rank (SPECIES, GENUS, FAMILY, etc.).
classNoClass classification.
errorNoPresent when the call failed. Absent on success.
genusNoGenus classification.
orderNoOrder classification.
familyNoFamily classification.
nubKeyNoMapped backbone taxon key for occurrence queries, when GBIF supplies it. Otherwise resolve the name with gbif_match_species.
parentNoName of the immediate parent taxon.
phylumNoPhylum classification.
extinctNoTrue when the taxon is explicitly flagged as extinct. Absent on most records.
kingdomNoKingdom classification.
speciesNoSpecies canonical name.
acceptedNoScientific name of the accepted taxon when this record is a synonym.
classKeyNoTaxon usage key of the class, in the source checklist.
genusKeyNoTaxon usage key of the genus, in the source checklist.
orderKeyNoTaxon usage key of the order, in the source checklist.
familyKeyNoTaxon usage key of the family, in the source checklist.
parentKeyNoTaxon usage key of the immediate parent, in the source checklist.
phylumKeyNoTaxon usage key of the phylum, in the source checklist.
authorshipNoTaxonomic authorship of the name.
datasetKeyNoSource checklist dataset UUID, when GBIF supplies it.
kingdomKeyNoTaxon usage key of the kingdom, in the source checklist.
speciesKeyNoTaxon usage key of the species, in the source checklist.
acceptedKeyNoTaxon usage key of the accepted taxon, in the source checklist, when this record is a synonym.
publishedInNoOriginal description citation when available.
canonicalNameNoScientific name without authorship.
numDescendantsNoCount of descendant taxa under this taxon in its source checklist.
numOccurrencesNoOccurrence record count, when GBIF includes one. Its taxon record endpoint does not, so this is normally absent — count with gbif_count_occurrences, passing nubKey as taxonKey, instead.
scientificNameNoFull scientific name with authorship.
vernacularNameNoEnglish common name when available.
taxonomicStatusNoACCEPTED, SYNONYM, DOUBTFUL, etc. SYNONYM means acceptedKey/accepted are populated.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changed
    • changedInput schema / properties / taxonKey / description
      Previous value: -"GBIF backbone taxon key from gbif_match_species or another taxonomy tool."New value: +"GBIF taxon key: a backbone key from gbif_match_species, or a taxon usage key of any checklist, such as key from gbif_search_species."
    • changedOutput schema / properties / acceptedKey / description
      Previous value: -"Backbone key of the accepted taxon when this record is a synonym."New value: +"Taxon usage key of the accepted taxon, in the source checklist, when this record is a synonym."
    • changedOutput schema / properties / classKey / description
      Previous value: -"Taxon key for the class."New value: +"Taxon usage key of the class, in the source checklist."
    • addedOutput schema / properties / datasetKey
      Added value: +{
      +  "description": "Source checklist dataset UUID, when GBIF supplies it.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `not_found`: The taxonKey does not exist in the GBIF backbone. `invalid_filter`: GBIF rejected the taxonKey as unparseable — a value outside the 32-bit signed integer range. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `not_found`: No GBIF checklist has a taxon usage with this taxonKey. `invalid_filter`: GBIF rejected the taxonKey as unparseable — a value outside the 32-bit signed integer range. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / familyKey / description
      Previous value: -"Taxon key for the family."New value: +"Taxon usage key of the family, in the source checklist."
    • changedOutput schema / properties / genusKey / description
      Previous value: -"Taxon key for the genus."New value: +"Taxon usage key of the genus, in the source checklist."
    • changedOutput schema / properties / key / description
      Previous value: -"GBIF backbone taxon key."New value: +"Taxon usage key within the source checklist; not necessarily a backbone key."
    • changedOutput schema / properties / kingdomKey / description
      Previous value: -"Taxon key for the kingdom."New value: +"Taxon usage key of the kingdom, in the source checklist."
    • addedOutput schema / properties / nubKey
      Added value: +{
      +  "description": "Mapped backbone taxon key for occurrence queries, when GBIF supplies it. Otherwise resolve the name with gbif_match_species.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / numDescendants / description
      Previous value: -"Count of child taxa in the backbone under this taxon."New value: +"Count of descendant taxa under this taxon in its source checklist."
    • changedOutput schema / properties / numOccurrences / description
      Previous value: -"Occurrence record count, when GBIF includes one. Its taxon record endpoint does not, so this is normally absent — count with gbif_count_occurrences and the taxonKey instead."New value: +"Occurrence record count, when GBIF includes one. Its taxon record endpoint does not, so this is normally absent — count with gbif_count_occurrences, passing nubKey as taxonKey, instead."
    • changedOutput schema / properties / orderKey / description
      Previous value: -"Taxon key for the order."New value: +"Taxon usage key of the order, in the source checklist."
    • changedOutput schema / properties / parentKey / description
      Previous value: -"Taxon key of the immediate parent."New value: +"Taxon usage key of the immediate parent, in the source checklist."
    • changedOutput schema / properties / phylumKey / description
      Previous value: -"Taxon key for the phylum."New value: +"Taxon usage key of the phylum, in the source checklist."
    • changedOutput schema / properties / speciesKey / description
      Previous value: -"Taxon key for the species."New value: +"Taxon usage key of the species, in the source checklist."
  2. Changed5 schema fields changed
    • 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"
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `not_found`: The taxonKey does not exist in the GBIF backbone. `invalid_filter`: GBIF rejected the taxonKey as unparseable — a fraction, or a value outside the 32-bit signed integer range. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `not_found`: The taxonKey does not exist in the GBIF backbone. `invalid_filter`: GBIF rejected the taxonKey as unparseable — a value outside the 32-bit signed integer range. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / numOccurrences / description
      Previous value: -"Occurrence record count in GBIF."New value: +"Occurrence record count, when GBIF includes one. Its taxon record endpoint does not, so this is normally absent — count with gbif_count_occurrences and the taxonKey instead."
  3. 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 taxonKey does not exist in the GBIF backbone. `invalid_filter`: GBIF rejected the taxonKey as unparseable — a fraction, or a value outside the 32-bit signed integer range. 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"
      +}
  4. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Going beyond the readOnly/openWorld/idempotent annotations, it explains key-space semantics (datasetKey, checklist-scoped keys vs nubKey being the backbone key occurrence tools accept), synonym resolution via acceptedKey, and that extinct is absent rather than false on most records — exactly the ambiguities an agent would otherwise misread.

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 purpose and use case, followed by field semantics; every sentence carries information, though the field-by-field explanation runs as one dense block that could be split for faster scanning.

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 single-key lookup with an output schema and full annotation coverage, the description supplies the remaining context — which key space the input and response keys live in and how synonyms and absent fields behave — leaving nothing an agent needs 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?

Schema coverage is already 100%, but the description adds meaning the schema cannot: taxonKey may be a backbone key from gbif_match_species or a taxon usage key from any checklist, which changes what the returned record represents.

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 a single taxon usage by its GBIF taxon key') plus the scope ('backbone or any other checklist') and enumerates the returned sections, so an agent can distinguish it from match/search siblings without opening the schema.

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?

Explicitly names the two alternative tools and the condition for choosing this one: use after gbif_match_species for the complete record rather than the match summary, or on a taxon usage key from gbif_search_species.

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.