{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "gbif-biodiversity.caseyjhand.com",
    "site": "caseyjhand.com",
    "addresses": [
      {
        "address": "172.67.72.95",
        "endpoints": 131,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.64.0/20",
          "country": "US"
        }
      },
      {
        "address": "104.26.10.117",
        "endpoints": 131,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.26.0.0/20",
          "country": "US"
        }
      },
      {
        "address": "104.26.11.117",
        "endpoints": 131,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.26.0.0/20",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:20::681a:a75",
        "endpoints": 131,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:20::/44",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:20::681a:b75",
        "endpoints": 131,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:20::/44",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:20::ac43:485f",
        "endpoints": 131,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:20::/44",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "172.67.72.95",
          "104.26.10.117",
          "104.26.11.117",
          "2606:4700:20::681a:a75",
          "2606:4700:20::681a:b75",
          "2606:4700:20::ac43:485f"
        ],
        "first_seen": "2026-11-23T20:23:00.482Z",
        "last_seen": "2026-11-23T20:23:00.482Z",
        "checks": 1
      },
      {
        "addresses": [
          "104.26.10.117",
          "172.67.72.95",
          "104.26.11.117",
          "2606:4700:20::ac43:485f",
          "2606:4700:20::681a:b75",
          "2606:4700:20::681a:a75"
        ],
        "first_seen": "2026-11-22T20:22:05.228Z",
        "last_seen": "2026-11-22T20:22:05.228Z",
        "checks": 1
      },
      {
        "addresses": [
          "104.26.11.117",
          "172.67.72.95",
          "104.26.10.117",
          "2606:4700:20::681a:a75",
          "2606:4700:20::ac43:485f",
          "2606:4700:20::681a:b75"
        ],
        "first_seen": "2026-11-21T16:00:00.603Z",
        "last_seen": "2026-11-21T16:00:00.603Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "gbif-biodiversity-mcp-server",
      "version": "0.8.2",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare",
      "strict-transport-security": "max-age=63072000; includeSubDomains; preload",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 130,
      "sample": [
        {
          "id": "6671",
          "url": "https://mcp.amperis.com/mcp",
          "server_name": "com.amperis/catalog",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T07:57:03.509Z"
        },
        {
          "id": "28574",
          "url": "https://art-institute-chicago.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/art-institute-chicago-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:37:01.527Z"
        },
        {
          "id": "28575",
          "url": "https://arxiv.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/arxiv-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:38:00.625Z"
        },
        {
          "id": "28576",
          "url": "https://astronomy.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/astronomy-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:39:01.005Z"
        },
        {
          "id": "28577",
          "url": "https://aviation-weather.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/aviation-weather-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:40:10.861Z"
        },
        {
          "id": "28578",
          "url": "https://biorxiv.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/biorxiv-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:41:00.756Z"
        },
        {
          "id": "28579",
          "url": "https://bls-labor.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/bls-labor-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:42:00.955Z"
        },
        {
          "id": "28580",
          "url": "https://bluesky.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/bluesky-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:43:00.549Z"
        },
        {
          "id": "28581",
          "url": "https://brapi.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/brapi-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:44:00.711Z"
        },
        {
          "id": "28582",
          "url": "https://browser-compat.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/browser-compat-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:45:00.960Z"
        },
        {
          "id": "28583",
          "url": "https://calculator.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/calculator-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:46:00.997Z"
        },
        {
          "id": "28584",
          "url": "https://canada-parliament.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/canada-parliament-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:47:00.399Z"
        },
        {
          "id": "28585",
          "url": "https://cdc.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cdc-health-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:48:01.098Z"
        },
        {
          "id": "28586",
          "url": "https://census.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/census-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:49:01.578Z"
        },
        {
          "id": "28587",
          "url": "https://cern-inspire.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cern-inspire-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:50:01.801Z"
        },
        {
          "id": "28588",
          "url": "https://cern-opendata.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cern-opendata-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:51:01.501Z"
        },
        {
          "id": "28589",
          "url": "https://chembl.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/chembl-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:52:10.758Z"
        },
        {
          "id": "28590",
          "url": "https://cisa-cybersecurity.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cisa-cybersecurity-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:53:01.929Z"
        },
        {
          "id": "28591",
          "url": "https://clinicaltrials.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/clinicaltrialsgov-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:54:01.031Z"
        },
        {
          "id": "28592",
          "url": "https://college-scorecard.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/college-scorecard-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:55:04.313Z"
        }
      ]
    },
    "same_site": {
      "total": 133,
      "sample": [
        {
          "id": "28574",
          "url": "https://art-institute-chicago.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/art-institute-chicago-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:37:01.527Z"
        },
        {
          "id": "28575",
          "url": "https://arxiv.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/arxiv-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:38:00.625Z"
        },
        {
          "id": "28576",
          "url": "https://astronomy.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/astronomy-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:39:01.005Z"
        },
        {
          "id": "28577",
          "url": "https://aviation-weather.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/aviation-weather-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:40:10.861Z"
        },
        {
          "id": "28578",
          "url": "https://biorxiv.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/biorxiv-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:41:00.756Z"
        },
        {
          "id": "28579",
          "url": "https://bls-labor.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/bls-labor-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:42:00.955Z"
        },
        {
          "id": "28580",
          "url": "https://bluesky.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/bluesky-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:43:00.549Z"
        },
        {
          "id": "28581",
          "url": "https://brapi.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/brapi-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:44:00.711Z"
        },
        {
          "id": "28582",
          "url": "https://browser-compat.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/browser-compat-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:45:00.960Z"
        },
        {
          "id": "28583",
          "url": "https://calculator.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/calculator-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:46:00.997Z"
        },
        {
          "id": "28584",
          "url": "https://canada-parliament.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/canada-parliament-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:47:00.399Z"
        },
        {
          "id": "28585",
          "url": "https://cdc.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cdc-health-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:48:01.098Z"
        },
        {
          "id": "28586",
          "url": "https://census.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/census-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:49:01.578Z"
        },
        {
          "id": "28587",
          "url": "https://cern-inspire.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cern-inspire-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:50:01.801Z"
        },
        {
          "id": "28588",
          "url": "https://cern-opendata.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cern-opendata-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:51:01.501Z"
        },
        {
          "id": "28589",
          "url": "https://chembl.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/chembl-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:52:10.758Z"
        },
        {
          "id": "28590",
          "url": "https://cisa-cybersecurity.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cisa-cybersecurity-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:53:01.929Z"
        },
        {
          "id": "28591",
          "url": "https://clinicaltrials.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/clinicaltrialsgov-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:54:01.031Z"
        },
        {
          "id": "28592",
          "url": "https://college-scorecard.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/college-scorecard-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:55:04.313Z"
        },
        {
          "id": "28593",
          "url": "https://congressgov.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/congressgov-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T19:56:11.093Z"
        }
      ]
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.github.cyanheads",
      "total": 165,
      "sample": [
        {
          "name": "io.github.cyanheads/anime-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/art-institute-chicago-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/arxiv-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/astronomy-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/attack-surface-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/aviation-weather-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/biorxiv-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/bls-labor-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/bls-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/bluesky-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/brapi-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/browser-compat-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/calculator-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/canada-parliament-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/cdc-health-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/census-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/cern-inspire-mcp-server",
          "title": "cern-inspire-mcp-server"
        },
        {
          "name": "io.github.cyanheads/cern-opendata-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/chembl-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/cisa-cybersecurity-mcp-server",
          "title": null
        }
      ]
    },
    "same_repository": {
      "repository_url": "https://github.com/cyanheads/gbif-biodiversity-mcp-server",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "28620",
    "server_name": "io.github.cyanheads/gbif-biodiversity-mcp-server",
    "url": "https://gbif-biodiversity.caseyjhand.com/mcp",
    "host": "gbif-biodiversity.caseyjhand.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T20:23:00.482Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "7b97190e4d58ac14213e5c4f02a479b117c9a69b18489abbd285a52e4585a9a3",
    "first_listed_at": "2026-11-21T16:00:00.603Z",
    "created_at": "2026-11-21T09:30:14.142Z",
    "resolved_addresses": [
      "172.67.72.95",
      "104.26.10.117",
      "104.26.11.117",
      "2606:4700:20::681a:a75",
      "2606:4700:20::681a:b75",
      "2606:4700:20::ac43:485f"
    ]
  },
  "server": {
    "name": "io.github.cyanheads/gbif-biodiversity-mcp-server",
    "title": null,
    "description": "Search GBIF species taxonomy, occurrence records, datasets, and publishers.",
    "version": "0.8.2",
    "registry_status": "active",
    "repository_url": "https://github.com/cyanheads/gbif-biodiversity-mcp-server",
    "website_url": null,
    "published_at": "2026-11-19T15:22:20.326Z",
    "updated_at": "2026-11-19T15:22:20.326Z",
    "first_seen": "2026-11-21T09:30:13.527Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:44:09.240Z"
  },
  "operator": {
    "key": "caseyjhand.com",
    "name": "caseyjhand.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 1291,
    "first_check_in_window": "2026-11-21T16:00:00.603Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "7b97190e4d58ac14213e5c4f02a479b117c9a69b18489abbd285a52e4585a9a3",
    "tools": 13,
    "resources": 1,
    "prompts": 0,
    "first_seen": "2026-11-21T16:00:01.321Z",
    "tool_names": [
      "gbif_match_species",
      "gbif_bulk_match_species",
      "gbif_get_species",
      "gbif_search_species",
      "gbif_get_species_classification",
      "gbif_get_species_children",
      "gbif_search_occurrences",
      "gbif_count_occurrences",
      "gbif_get_occurrence",
      "gbif_occurrence_facets",
      "gbif_search_datasets",
      "gbif_get_dataset",
      "gbif_search_publishers"
    ],
    "declared": {
      "tools": [
        {
          "name": "gbif_match_species",
          "title": "Match Species Name",
          "description": "Match a scientific name against the GBIF backbone taxonomy. Returns the best-matching taxon with full classification and a confidence score (0–100). This is the mandatory first step for any GBIF workflow — it returns the backbone taxonKey required by gbif_search_occurrences, gbif_count_occurrences, and gbif_occurrence_facets. When the name GBIF matched is a synonym — the queried name, or the higher taxon a HIGHERRANK match falls back to — taxonKey is the accepted taxon it resolves to and matchedTaxonKey carries the synonym's own key; occurrence counts differ sharply between the two, so pass taxonKey. acceptedName names that accepted taxon whenever GBIF's answer does. matchType HIGHERRANK is GBIF's label for a match made at a higher rank: a misspelled or unknown species falls back to its genus or even its kingdom, at a confidence that can exceed 90, and a bare genus name carries the label too, matched as that genus. taxonKey then covers that whole taxon, or its accepted taxon when it is a synonym, and a notice names it. Below confidence 80, the match should be reviewed. matchType NONE means no usable match was found — try removing the strict flag or broadening the name; when GBIF reports several equal matches, as for a genus name shared by an animal and a plant, set kingdom to pick one. GBIF no longer updates the backbone, so a name described or revised since its last build falls back to a higher taxon there; checklistKey 7ddf754f-d193-4cc9-b351-99906754a03b matches against the Catalogue of Life eXtended Release instead, GBIF's current taxonomy, and returns its keys as strings in checklistTaxonKey and checklistMatchedTaxonKey with no taxonKey or rank keys — they are not backbone keys, and no tool that takes a numeric taxonKey can use them, but gbif_search_occurrences, gbif_count_occurrences, and gbif_occurrence_facets take checklistTaxonKey under that name, with checklistKey 7ddf754f-d193-4cc9-b351-99906754a03b.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Scientific name to match. Examples: \"Parus major\", \"Agaricus bisporus\", \"Homo sapiens\". Fuzzy matching handles minor spelling variations. Common names are not supported — use gbif_search_species for vernacular name searches."
              },
              "rank": {
                "enum": [
                  "KINGDOM",
                  "PHYLUM",
                  "CLASS",
                  "ORDER",
                  "FAMILY",
                  "GENUS",
                  "SPECIES",
                  "SUBSPECIES"
                ],
                "type": "string",
                "description": "Expected taxonomic rank. Use to avoid matching a genus when you expect a species."
              },
              "strict": {
                "type": "boolean",
                "default": false,
                "description": "When true, only return an exact match. When false (default), GBIF applies fuzzy matching — useful for minor spelling variations and abbreviated names."
              },
              "kingdom": {
                "type": "string",
                "description": "Narrow the match to a specific kingdom (e.g., \"Animalia\", \"Plantae\", \"Fungi\") to disambiguate names that appear in multiple kingdoms. Omit the field to match against the whole checklist — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the undisambiguated match, which is indistinguishable from a match that honored the kingdom."
              },
              "checklistKey": {
                "enum": [
                  "d7dddbf4-2cf0-4f39-9b2a-bb099caae36c",
                  "7ddf754f-d193-4cc9-b351-99906754a03b"
                ],
                "type": "string",
                "description": "Taxonomy to match against. Omitted, or d7dddbf4-2cf0-4f39-9b2a-bb099caae36c, is the GBIF Backbone, whose integer keys the occurrence and species tools take; GBIF no longer updates it. 7ddf754f-d193-4cc9-b351-99906754a03b is the Catalogue of Life eXtended Release, the taxonomy GBIF now maintains, where a recently described or revised name can match exactly; its keys come back as strings in checklistTaxonKey and checklistMatchedTaxonKey, and taxonKey, matchedTaxonKey, and the rank keys are absent."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                }
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "rank": {
                "type": "string",
                "description": "Taxonomic rank of the matched taxon."
              },
              "class": {
                "type": "string",
                "description": "Class of the matched taxon."
              },
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "no_match",
                          "invalid_filter"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `no_match`: matchType is NONE — no candidate met the match threshold, or several equal candidates tied; the message then carries GBIF's note. `invalid_filter`: kingdom was supplied blank or whitespace-only, which disambiguates nothing. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "genus": {
                "type": "string",
                "description": "Genus of the matched taxon."
              },
              "order": {
                "type": "string",
                "description": "Order of the matched taxon."
              },
              "family": {
                "type": "string",
                "description": "Family of the matched taxon."
              },
              "notice": {
                "type": "string",
                "description": "Guidance when matchType is HIGHERRANK — naming the taxon and rank GBIF matched and what the key covers — or when the matched name was a synonym and the key was resolved to the accepted taxon. A higher-rank match on a synonym carries both. Absent on any other match of an accepted name."
              },
              "phylum": {
                "type": "string",
                "description": "Phylum of the matched taxon."
              },
              "status": {
                "type": "string",
                "description": "Taxonomic status of the matched name: ACCEPTED, SYNONYM, or DOUBTFUL, and under the Catalogue of Life also PROVISIONALLY_ACCEPTED."
              },
              "kingdom": {
                "type": "string",
                "description": "Kingdom of the matched taxon."
              },
              "species": {
                "type": "string",
                "description": "Species canonical name of the matched taxon."
              },
              "classKey": {
                "type": "number",
                "description": "Backbone taxon key for the class. Absent under the Catalogue of Life."
              },
              "genusKey": {
                "type": "number",
                "description": "Backbone taxon key for the genus. Absent under the Catalogue of Life."
              },
              "orderKey": {
                "type": "number",
                "description": "Backbone taxon key for the order. Absent under the Catalogue of Life."
              },
              "taxonKey": {
                "type": "number",
                "description": "GBIF backbone taxon key to pass to downstream tools. The accepted taxon's key when the name GBIF matched is a synonym, otherwise the matched taxon's own key. Absent under the Catalogue of Life, whose key is checklistTaxonKey."
              },
              "familyKey": {
                "type": "number",
                "description": "Backbone taxon key for the family. Absent under the Catalogue of Life."
              },
              "matchType": {
                "type": "string",
                "description": "EXACT, FUZZY, HIGHERRANK, or NONE; under the Catalogue of Life, VARIANT takes the place of FUZZY for a variant spelling or authorship. HIGHERRANK means GBIF matched at a higher rank — a misspelled species falls back to its genus or kingdom, and a bare genus name carries it too — and the key covers that whole taxon, or its accepted taxon when it is a synonym. NONE means no usable match."
              },
              "phylumKey": {
                "type": "number",
                "description": "Backbone taxon key for the phylum. Absent under the Catalogue of Life."
              },
              "confidence": {
                "type": "number",
                "description": "Match confidence score 0–100. Below 80 warrants review. A HIGHERRANK match can score above 90, so read matchType too."
              },
              "kingdomKey": {
                "type": "number",
                "description": "Backbone taxon key for the kingdom. Absent under the Catalogue of Life."
              },
              "speciesKey": {
                "type": "number",
                "description": "Backbone taxon key for the species. Absent under the Catalogue of Life."
              },
              "acceptedName": {
                "type": "string",
                "description": "Canonical name, without authorship, of the accepted taxon a synonym resolves to. Present only on a synonym match whose answer names that taxon: under the backbone it is read from the classification field whose key equals taxonKey, so it is absent when the accepted taxon is below species rank (call gbif_get_species with taxonKey for it); under the Catalogue of Life every synonym carries it."
              },
              "canonicalName": {
                "type": "string",
                "description": "Scientific name without authorship."
              },
              "scientificName": {
                "type": "string",
                "description": "Full scientific name with authorship."
              },
              "matchedTaxonKey": {
                "type": "number",
                "description": "Backbone key of the name that actually matched. Present only when it differs from taxonKey — that is, when a synonym was resolved to its accepted taxon."
              },
              "checklistTaxonKey": {
                "type": "string",
                "description": "Catalogue of Life key of the accepted taxon (or of the matched taxon when it is not a synonym), a case-sensitive string such as TPJ7G. Present only when checklistKey selects the Catalogue of Life. Not a backbone key: a digit-only one such as 8288 names an unrelated backbone taxon, so never pass it where a numeric taxonKey is asked for. The occurrence tools take it as checklistTaxonKey, with checklistKey 7ddf754f-d193-4cc9-b351-99906754a03b."
              },
              "checklistMatchedTaxonKey": {
                "type": "string",
                "description": "Catalogue of Life key of the name that actually matched. Present only when it differs from checklistTaxonKey — that is, when a synonym was resolved to its accepted taxon."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "gbif_bulk_match_species",
          "title": "Bulk Match Species Names",
          "description": "Resolve up to 50 scientific names to GBIF backbone taxon keys in one call — the batch counterpart to gbif_match_species for checklist, inventory, and species-list workflows that would otherwise need one round trip per name. Each name is matched independently and results are returned in input order, one entry per processed name. An entry is a name string, or { name, kingdom } to narrow that one name to a kingdom: a name shared across kingdoms, such as Oenanthe (a bird genus and a plant genus), matches nothing until its entry names one, while a kingdom applied to every name would move the others (Parus major under Plantae matches the pear Pyrus major). By default, an oversized batch processes the first 50 and returns the remaining entries, as submitted, in unprocessedNames. A name GBIF matched at a higher rank yields matchType HIGHERRANK with a note naming the taxon matched and what its key covers: that whole taxon, or its accepted taxon when it is a synonym — a misspelled species can fall back to its genus or kingdom at a confidence above 90, and a bare genus name carries the label too, matched as that genus. A name with no match yields matchType NONE (no key) instead of failing the batch, with a note carrying GBIF's explanation when it gives one, such as several equal matches for a name shared across kingdoms; a per-name lookup failure yields matchType ERROR carrying that name's error message and, when the failure was classified, a machine-readable reason — the rest of the batch is unaffected, and the call as a whole still succeeds unless the deployment cannot reach the Catalogue of Life route checklistKey needs (a GBIF_BASE_URL not ending in /v1), which fails the call. When the name GBIF matched is a synonym — the queried name, or the higher taxon a HIGHERRANK match falls back to — taxonKey is the accepted taxon it resolves to, matchedTaxonKey carries the synonym's own key, and acceptedName names the accepted taxon whenever GBIF's answer does. checklistKey 7ddf754f-d193-4cc9-b351-99906754a03b matches the whole batch against the Catalogue of Life eXtended Release instead of the backbone, which GBIF no longer updates; its keys come back as strings in checklistTaxonKey and checklistMatchedTaxonKey, with no taxonKey, and the occurrence tools take checklistTaxonKey under that name, with the same checklistKey. Common names are not supported — use gbif_search_species for vernacular searches. Below confidence 80, review the match.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "names"
            ],
            "properties": {
              "names": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "string",
                      "minLength": 1,
                      "description": "A scientific name to match, e.g. \"Panthera leo\"."
                    },
                    {
                      "type": "object",
                      "required": [
                        "name"
                      ],
                      "properties": {
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "description": "A scientific name to match, e.g. \"Oenanthe\"."
                        },
                        "kingdom": {
                          "type": "string",
                          "description": "Kingdom for this name alone, such as Animalia, Plantae, or Fungi, sent to GBIF as gbif_match_species sends its own. Omit it to match the name without one; a blank or whitespace-only value is rejected."
                        }
                      },
                      "description": "A scientific name with a kingdom that applies to it alone.",
                      "additionalProperties": false
                    }
                  ],
                  "description": "A scientific name, or { name, kingdom } to narrow that one name to a kingdom."
                },
                "minItems": 1,
                "description": "Scientific names to match, each a name string or { name, kingdom } — an entry kingdom applies to that name alone and is how a name GBIF reports several equal matches for is resolved. Up to 50 are matched in parallel; additional entries are returned as submitted in unprocessedNames when read-limit clamping is enabled (default). Every submitted entry must be valid, and a blank kingdom on any of them fails the call."
              },
              "strict": {
                "type": "boolean",
                "default": false,
                "description": "When true, require an exact match for every name (no fuzzy matching). When false (default), GBIF applies fuzzy matching to tolerate minor misspellings."
              },
              "checklistKey": {
                "enum": [
                  "d7dddbf4-2cf0-4f39-9b2a-bb099caae36c",
                  "7ddf754f-d193-4cc9-b351-99906754a03b"
                ],
                "type": "string",
                "description": "Taxonomy to match every name against. Omitted, or d7dddbf4-2cf0-4f39-9b2a-bb099caae36c, is the GBIF Backbone, whose integer keys the occurrence and species tools take; GBIF no longer updates it. 7ddf754f-d193-4cc9-b351-99906754a03b is the Catalogue of Life eXtended Release, the taxonomy GBIF now maintains; its keys come back as strings in checklistTaxonKey and checklistMatchedTaxonKey, and taxonKey and matchedTaxonKey are absent."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "results"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "invalid_filter"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `invalid_filter`: An entry in names carried a blank or whitespace-only kingdom, which disambiguates nothing. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "notice": {
                "type": "string",
                "description": "Requested and applied batch size when names exceed the 50-name workload cap."
              },
              "results": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "matchType"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "description": "The input name this entry corresponds to."
                    },
                    "note": {
                      "type": "string",
                      "description": "On HIGHERRANK, names the taxon and rank GBIF matched and what the key covers: that whole taxon, or its accepted taxon when it is a synonym. On NONE, GBIF's own explanation when it gave one — for a name shared across kingdoms, its report of several equal matches, with a pointer to resubmit the entry with kingdom set unless it already carried one. Absent on other matches, on ERROR entries, and on a NONE GBIF did not explain."
                    },
                    "rank": {
                      "type": "string",
                      "description": "Taxonomic rank of the matched taxon."
                    },
                    "error": {
                      "type": "string",
                      "description": "Failure message when matchType is ERROR. Absent otherwise."
                    },
                    "reason": {
                      "type": "string",
                      "description": "Machine-readable failure identifier when matchType is ERROR and the failure was classified. Absent when the failure carried no classification, and absent on every non-ERROR entry."
                    },
                    "status": {
                      "type": "string",
                      "description": "Taxonomic status of the matched name: ACCEPTED, SYNONYM, or DOUBTFUL, and under the Catalogue of Life also PROVISIONALLY_ACCEPTED."
                    },
                    "taxonKey": {
                      "type": "number",
                      "description": "GBIF backbone taxon key to pass to gbif_search_occurrences, gbif_count_occurrences, and gbif_occurrence_facets — the accepted taxon's key when the name GBIF matched is a synonym, otherwise the matched taxon's own key. Absent when matchType is NONE or ERROR, and under the Catalogue of Life."
                    },
                    "matchType": {
                      "type": "string",
                      "description": "EXACT or FUZZY for a match, with VARIANT in place of FUZZY under the Catalogue of Life; HIGHERRANK when GBIF matched at a higher rank — a misspelled species falls back to its genus or kingdom, and a bare genus name carries it too — so the key covers that whole taxon, or its accepted taxon when it is a synonym (see note); NONE when GBIF found no usable match; ERROR when the lookup itself failed for this name (see error)."
                    },
                    "confidence": {
                      "type": "number",
                      "description": "Match confidence 0–100. Below 80 warrants review; a HIGHERRANK match can score above 90, so read matchType too. Absent on ERROR."
                    },
                    "acceptedName": {
                      "type": "string",
                      "description": "Canonical name, without authorship, of the accepted taxon a synonym resolves to. Present only on a synonym match whose answer names that taxon: under the backbone it is absent when the accepted taxon is below species rank (gbif_get_species with taxonKey names it); under the Catalogue of Life every synonym carries it."
                    },
                    "canonicalName": {
                      "type": "string",
                      "description": "Matched scientific name without authorship. Absent when unmatched."
                    },
                    "scientificName": {
                      "type": "string",
                      "description": "Full matched scientific name with authorship. Absent when unmatched."
                    },
                    "matchedTaxonKey": {
                      "type": "number",
                      "description": "Backbone key of the name that actually matched. Present only when it differs from taxonKey — that is, when a synonym was resolved to its accepted taxon."
                    },
                    "checklistTaxonKey": {
                      "type": "string",
                      "description": "Catalogue of Life key of the accepted taxon (or of the matched taxon when it is not a synonym), a case-sensitive string. Present only when checklistKey selects the Catalogue of Life. Not a backbone key: never pass it where a numeric taxonKey is asked for. The occurrence tools take it as checklistTaxonKey, with checklistKey 7ddf754f-d193-4cc9-b351-99906754a03b."
                    },
                    "checklistMatchedTaxonKey": {
                      "type": "string",
                      "description": "Catalogue of Life key of the name that actually matched. Present only when it differs from checklistTaxonKey — that is, when a synonym was resolved to its accepted taxon."
                    }
                  },
                  "description": "Match outcome for one input name.",
                  "additionalProperties": false
                },
                "description": "One result per processed input name, in input order (at most 50)."
              },
              "unprocessedNames": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "A name submitted as a string."
                    },
                    {
                      "type": "object",
                      "required": [
                        "name"
                      ],
                      "properties": {
                        "name": {
                          "type": "string",
                          "description": "The submitted name."
                        },
                        "kingdom": {
                          "type": "string",
                          "description": "The submitted kingdom, when given."
                        }
                      },
                      "description": "A name submitted as { name, kingdom }.",
                      "additionalProperties": false
                    }
                  ],
                  "description": "One remaining entry, exactly as submitted."
                },
                "description": "Entries beyond the first 50, as submitted, in original order including duplicates. Submit these entries in another call. Absent when every entry was processed."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "gbif_get_species",
          "title": "Get Species Record",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "taxonKey"
            ],
            "properties": {
              "taxonKey": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "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."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                }
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "key": {
                "type": "number",
                "description": "Taxon usage key within the source checklist; not necessarily a backbone key."
              },
              "rank": {
                "type": "string",
                "description": "Taxonomic rank (SPECIES, GENUS, FAMILY, etc.)."
              },
              "class": {
                "type": "string",
                "description": "Class classification."
              },
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "not_found",
                          "invalid_filter"
                        ],
                        "description": "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."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "genus": {
                "type": "string",
                "description": "Genus classification."
              },
              "order": {
                "type": "string",
                "description": "Order classification."
              },
              "family": {
                "type": "string",
                "description": "Family classification."
              },
              "nubKey": {
                "type": "number",
                "description": "Mapped backbone taxon key for occurrence queries, when GBIF supplies it. Otherwise resolve the name with gbif_match_species."
              },
              "parent": {
                "type": "string",
                "description": "Name of the immediate parent taxon."
              },
              "phylum": {
                "type": "string",
                "description": "Phylum classification."
              },
              "extinct": {
                "type": "boolean",
                "description": "True when the taxon is explicitly flagged as extinct. Absent on most records."
              },
              "kingdom": {
                "type": "string",
                "description": "Kingdom classification."
              },
              "species": {
                "type": "string",
                "description": "Species canonical name."
              },
              "accepted": {
                "type": "string",
                "description": "Scientific name of the accepted taxon when this record is a synonym."
              },
              "classKey": {
                "type": "number",
                "description": "Taxon usage key of the class, in the source checklist."
              },
              "genusKey": {
                "type": "number",
                "description": "Taxon usage key of the genus, in the source checklist."
              },
              "orderKey": {
                "type": "number",
                "description": "Taxon usage key of the order, in the source checklist."
              },
              "familyKey": {
                "type": "number",
                "description": "Taxon usage key of the family, in the source checklist."
              },
              "parentKey": {
                "type": "number",
                "description": "Taxon usage key of the immediate parent, in the source checklist."
              },
              "phylumKey": {
                "type": "number",
                "description": "Taxon usage key of the phylum, in the source checklist."
              },
              "authorship": {
                "type": "string",
                "description": "Taxonomic authorship of the name."
              },
              "datasetKey": {
                "type": "string",
                "description": "Source checklist dataset UUID, when GBIF supplies it."
              },
              "kingdomKey": {
                "type": "number",
                "description": "Taxon usage key of the kingdom, in the source checklist."
              },
              "speciesKey": {
                "type": "number",
                "description": "Taxon usage key of the species, in the source checklist."
              },
              "acceptedKey": {
                "type": "number",
                "description": "Taxon usage key of the accepted taxon, in the source checklist, when this record is a synonym."
              },
              "publishedIn": {
                "type": "string",
                "description": "Original description citation when available."
              },
              "canonicalName": {
                "type": "string",
                "description": "Scientific name without authorship."
              },
              "numDescendants": {
                "type": "number",
                "description": "Count of descendant taxa under this taxon in its source checklist."
              },
              "numOccurrences": {
                "type": "number",
                "description": "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."
              },
              "scientificName": {
                "type": "string",
                "description": "Full scientific name with authorship."
              },
              "vernacularName": {
                "type": "string",
                "description": "English common name when available."
              },
              "taxonomicStatus": {
                "type": "string",
                "description": "ACCEPTED, SYNONYM, DOUBTFUL, etc. SYNONYM means acceptedKey/accepted are populated."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "gbif_search_species",
          "title": "Search Species Taxonomy",
          "description": "Search or browse the GBIF backbone taxonomy by default, or an explicit checklist datasetKey. Accepts scientific name fragments, rank and taxonomic status filters, and higher-taxon constraints — status [\"ACCEPTED\"] with rank SPECIES under a genus lists only that genus's accepted species. Useful for exploring what species exist under a higher taxon (e.g., \"list all families of Coleoptera\"), for simple name-fragment searches, or when gbif_match_species returns too narrow a result. kingdom, family, and genus scope the browse to a higher taxon: each is resolved to its backbone key before the search runs, so the narrowest one supplied is what scopes, an alternative name resolves to the taxon it is a synonym of, and a name that matches no backbone taxon at that rank fails rather than returning the whole index. Names are matched by their exact spelling in any letter case, never fuzzily. Paginated — use limit and offset to walk through results, up to an offset + limit of 100,000.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "q": {
                "type": "string",
                "description": "Name fragment to search for. Matches scientific and vernacular names. Omit the field to browse without a name term — a blank or whitespace-only value is rejected rather than sent, because GBIF answers a blank one with the whole name index and a whitespace-only one with nothing, and neither is the search a caller who filled the field was asking for."
              },
              "rank": {
                "enum": [
                  "KINGDOM",
                  "PHYLUM",
                  "CLASS",
                  "ORDER",
                  "FAMILY",
                  "GENUS",
                  "SPECIES",
                  "SUBSPECIES"
                ],
                "type": "string",
                "description": "Filter to a specific taxonomic rank."
              },
              "genus": {
                "type": "string",
                "description": "Scope the search to a genus, by name — \"Quercus\", \"Parus\". Resolved to its backbone key before the search runs, and it is the narrowest of the three, so it is what scopes when kingdom or family is supplied too. Matched by its exact spelling in any letter case, never fuzzily; a name shared across kingdoms (\"Prunella\", \"Oenanthe\") resolves only when kingdom is supplied with it. Omit the field to browse every genus; a blank or whitespace-only value is rejected rather than dropped."
              },
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 9007199254740991,
                "minimum": 1,
                "description": "Number of records to return (default 20, max 1000)."
              },
              "family": {
                "type": "string",
                "description": "Scope the search to a family, by name — \"Paridae\", \"Fagaceae\". Resolved to its backbone key before the search runs, so an alternative family name lands on the taxon it is a synonym of (\"Compositae\" scopes to Asteraceae). Matched by its exact spelling in any letter case, never fuzzily; a name that is not a backbone family fails rather than being ignored. Supplied with genus, it must be that genus's own family. Omit the field to browse every family; a blank or whitespace-only value is rejected rather than dropped."
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Pagination offset. offset + limit may not exceed 100,000, the deepest page GBIF's species search serves; narrow a larger match with kingdom, family, genus, rank, status, isExtinct, or q, or walk a subtree with gbif_get_species_children, which has no ceiling, instead of paging past it."
              },
              "status": {
                "type": "array",
                "items": {
                  "enum": [
                    "ACCEPTED",
                    "DOUBTFUL",
                    "SYNONYM",
                    "HETEROTYPIC_SYNONYM",
                    "HOMOTYPIC_SYNONYM",
                    "PROPARTE_SYNONYM",
                    "MISAPPLIED"
                  ],
                  "type": "string"
                },
                "minItems": 1,
                "description": "Filter by taxonomic status. A name matches when it carries any of the listed values, so [\"ACCEPTED\", \"DOUBTFUL\"] returns both. SYNONYM matches only names whose status is exactly SYNONYM, not the heterotypic, homotypic, or pro parte forms, which have values of their own. Omit the field to return every status; an empty list is rejected."
              },
              "kingdom": {
                "type": "string",
                "description": "Scope the search to a kingdom, by name — \"Animalia\", \"Plantae\", \"Fungi\". Resolved to its backbone key before the search runs, and matched by its exact spelling in any letter case, never fuzzily. Supplied alongside family or genus it disambiguates that name rather than scoping on its own — \"Prunella\" alone names both a bird genus and a plant genus and resolves to neither. Omit the field to browse every kingdom; a blank or whitespace-only value is rejected rather than dropped."
              },
              "isExtinct": {
                "type": "boolean",
                "description": "Filter to extinct (true) or extant (false) taxa."
              },
              "datasetKey": {
                "type": "string",
                "description": "Scope to a specific checklist dataset UUID (8-4-4-4-12 hex). Omit the field to search the GBIF backbone — an empty string is rejected rather than read as no scope, because GBIF answers a blank datasetKey with the unfiltered backbone result."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "taxa",
                  "totalCount",
                  "offset",
                  "limit",
                  "endOfRecords"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "taxa": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "number",
                      "description": "Taxon usage key within the source checklist; not necessarily a backbone key."
                    },
                    "rank": {
                      "type": "string",
                      "description": "Taxonomic rank."
                    },
                    "class": {
                      "type": "string",
                      "description": "Class classification."
                    },
                    "genus": {
                      "type": "string",
                      "description": "Genus classification."
                    },
                    "order": {
                      "type": "string",
                      "description": "Order classification."
                    },
                    "family": {
                      "type": "string",
                      "description": "Family classification."
                    },
                    "nubKey": {
                      "type": "number",
                      "description": "Mapped backbone taxon key for occurrence queries, when GBIF supplies it. Otherwise resolve the name with gbif_match_species."
                    },
                    "phylum": {
                      "type": "string",
                      "description": "Phylum classification."
                    },
                    "extinct": {
                      "type": "boolean",
                      "description": "True when explicitly flagged as extinct."
                    },
                    "kingdom": {
                      "type": "string",
                      "description": "Kingdom classification."
                    },
                    "datasetKey": {
                      "type": "string",
                      "description": "Source checklist dataset UUID, when GBIF supplies it."
                    },
                    "canonicalName": {
                      "type": "string",
                      "description": "Scientific name without authorship."
                    },
                    "numDescendants": {
                      "type": "number",
                      "description": "Count of descendant taxa under this taxon in its source checklist."
                    },
                    "numOccurrences": {
                      "type": "number",
                      "description": "Occurrence record count, present only when GBIF supplies a positive value. GBIF's species search sends 0 on every row as a placeholder, so this is normally absent; for a count, pass nubKey as taxonKey to gbif_count_occurrences, or facet by SPECIES_KEY with gbif_occurrence_facets."
                    },
                    "scientificName": {
                      "type": "string",
                      "description": "Full scientific name with authorship."
                    },
                    "vernacularName": {
                      "type": "string",
                      "description": "Common name. GBIF's own vernacularName when the row carries one. Otherwise one of the row's English (eng) vernacular names: the first that contains q, case-insensitively, when q is set and does not occur in the row's canonicalName or scientificName; else the first English one. Absent when the row carries neither."
                    },
                    "taxonomicStatus": {
                      "type": "string",
                      "description": "ACCEPTED, SYNONYM, DOUBTFUL, etc."
                    }
                  },
                  "description": "A checklist taxon usage with classification, status, common name, and descendant count.",
                  "additionalProperties": false
                },
                "description": "Matching taxa."
              },
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "pagination_cap_exceeded",
                          "invalid_filter",
                          "unresolved_taxon_scope",
                          "conflicting_taxon_scope"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `pagination_cap_exceeded`: offset + limit exceeds 100,000, the deepest page GBIF's species search serves. `invalid_filter`: q, kingdom, family, genus, or datasetKey was supplied blank or whitespace-only, datasetKey is not an 8-4-4-4-12 hex UUID, or GBIF rejected another filter value as malformed. `unresolved_taxon_scope`: kingdom, family, or genus named no GBIF backbone taxon at that rank — a misspelling, a name entered under the wrong rank, or a name shared across kingdoms with no kingdom supplied to separate them. `conflicting_taxon_scope`: The supplied family and genus each resolved, but to taxa in different lineages — the genus does not sit in that family. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "limit": {
                "type": "number",
                "description": "Records returned in this page."
              },
              "notice": {
                "type": "string",
                "description": "Guidance when results are empty, paging overshot, an oversized read limit was clamped, or more taxa match than the 100,000 offset+limit ceiling lets a caller page to. Absent when none applies."
              },
              "offset": {
                "type": "number",
                "description": "Current pagination offset."
              },
              "status": {
                "type": "array",
                "items": {
                  "enum": [
                    "ACCEPTED",
                    "DOUBTFUL",
                    "SYNONYM",
                    "HETEROTYPIC_SYNONYM",
                    "HOMOTYPIC_SYNONYM",
                    "PROPARTE_SYNONYM",
                    "MISAPPLIED"
                  ],
                  "type": "string"
                },
                "description": "The taxonomic statuses the search was filtered to, as sent. Absent when status was not supplied."
              },
              "taxonScope": {
                "type": "string",
                "description": "The higher-taxon scope actually applied — which of kingdom, family, or genus scoped the search, the backbone taxon its name resolved to, and that taxon key. Absent when none of the three was supplied."
              },
              "totalCount": {
                "type": "number",
                "description": "Total matches before pagination."
              },
              "endOfRecords": {
                "type": "boolean",
                "description": "True when there are no more results after this page."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "gbif_get_species_classification",
          "title": "Get Species Classification",
          "description": "Return the parent chain for a taxon — from kingdom (or domain) down to the immediate parent of the queried taxon — as an ordered array. Each entry has its rank, canonical name, taxon usage key, checklist, and backbone mapping. The array is returned root-first (kingdom → phylum → class → … → immediate parent of the queried taxon); the queried taxon itself is not included — call gbif_get_species for its own record. The chain is read in the queried taxon's own checklist: datasetKey names it, each key is a taxon usage key there, and nubKey is the mapped backbone key the occurrence tools take, absent where the backbone has no mapping. Useful for building taxonomic trees or understanding placement without walking the checklist level by level.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "taxonKey"
            ],
            "properties": {
              "taxonKey": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "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."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "classification"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "not_found",
                          "invalid_filter"
                        ],
                        "description": "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."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "notice": {
                "type": "string",
                "description": "Guidance when the chain is empty because the taxon sits at the root of its checklist. Absent when the chain has entries."
              },
              "classification": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "number",
                      "description": "Taxon usage key within the source checklist; not necessarily a backbone key."
                    },
                    "name": {
                      "type": "string",
                      "description": "Canonical name at this rank."
                    },
                    "rank": {
                      "type": "string",
                      "description": "Taxonomic rank (KINGDOM, PHYLUM, CLASS, etc.)."
                    },
                    "nubKey": {
                      "type": "number",
                      "description": "Mapped backbone taxon key for occurrence queries, when GBIF supplies it. Otherwise resolve the name with gbif_match_species."
                    },
                    "datasetKey": {
                      "type": "string",
                      "description": "Source checklist dataset UUID, when GBIF supplies it."
                    },
                    "scientificName": {
                      "type": "string",
                      "description": "Full scientific name with authorship."
                    }
                  },
                  "description": "A single rank entry in the classification chain.",
                  "additionalProperties": false
                },
                "description": "Classification chain ordered from root (kingdom) to the immediate parent of the queried taxon. The queried taxon itself is not included — call gbif_get_species for its own record."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "gbif_get_species_children",
          "title": "Get Species Children",
          "description": "List direct children of a taxon usage within its own checklist — genera within a family, species within a genus, subspecies within a species. Each child is a usage of the parent's checklist: datasetKey names that checklist, key is its taxon usage key there, and nubKey is the mapped backbone key the occurrence tools take, absent where the backbone has no mapping. Paginated. Use gbif_match_species to get a backbone taxonKey first, then iterate with offset for large groups.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "taxonKey"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 9007199254740991,
                "minimum": 1,
                "description": "Number of children to return (default 20, max 1000)."
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Pagination offset."
              },
              "taxonKey": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "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."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "children",
                  "offset",
                  "limit",
                  "endOfRecords"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "cap": {
                "type": "number",
                "description": "Limit applied when the result was truncated. Re-call with offset to page on."
              },
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "not_found",
                          "invalid_filter"
                        ],
                        "description": "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."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "limit": {
                "type": "number",
                "description": "Records returned in this page."
              },
              "shown": {
                "type": "number",
                "description": "Children returned in this page when the result was truncated."
              },
              "notice": {
                "type": "string",
                "description": "Guidance when a valid taxon has no children, more pages remain, or an oversized limit was clamped. Absent when none applies."
              },
              "offset": {
                "type": "number",
                "description": "Current pagination offset."
              },
              "children": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "number",
                      "description": "Taxon usage key within the source checklist; not necessarily a backbone key."
                    },
                    "rank": {
                      "type": "string",
                      "description": "Taxonomic rank."
                    },
                    "nubKey": {
                      "type": "number",
                      "description": "Mapped backbone taxon key for occurrence queries, when GBIF supplies it. Otherwise resolve the name with gbif_match_species."
                    },
                    "datasetKey": {
                      "type": "string",
                      "description": "Source checklist dataset UUID, when GBIF supplies it."
                    },
                    "canonicalName": {
                      "type": "string",
                      "description": "Scientific name without authorship."
                    },
                    "numDescendants": {
                      "type": "number",
                      "description": "Count of descendant taxa under this node in its source checklist."
                    },
                    "numOccurrences": {
                      "type": "number",
                      "description": "Occurrence record count, present only when GBIF supplies one. GBIF's children listing does not, so this is normally absent; for a count, pass nubKey as taxonKey to gbif_count_occurrences."
                    },
                    "scientificName": {
                      "type": "string",
                      "description": "Full scientific name with authorship."
                    },
                    "vernacularName": {
                      "type": "string",
                      "description": "Common name when available."
                    },
                    "taxonomicStatus": {
                      "type": "string",
                      "description": "ACCEPTED, SYNONYM, DOUBTFUL, etc."
                    }
                  },
                  "description": "A direct child taxon usage with its key, checklist, backbone mapping, name, rank, and status.",
                  "additionalProperties": false
                },
                "description": "Direct child taxa."
              },
              "truncated": {
                "type": "boolean",
                "description": "True when more children exist beyond this page. Absent on the final page."
              },
              "endOfRecords": {
                "type": "boolean",
                "description": "True when there are no more results after this page."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "gbif_search_occurrences",
          "title": "Search Occurrences",
          "description": "Search GBIF occurrence records with Darwin Core filters. Use taxonKey from gbif_match_species for reliable results — a key names exactly one taxon, where a scientificName shared across kingdoms matches nothing; a Catalogue of Life key goes in checklistTaxonKey with checklistKey 7ddf754f-d193-4cc9-b351-99906754a03b. Accepts country (uppercase ISO 3166-1 alpha-2, where the record was observed), publishingCountry (the publishing organization's country — a different question), stateProvince, gadmGid (a GADM administrative-area code GBIF derives from coordinates), bounding box (decimalLatitude/decimalLongitude ranges), WKT polygon geometry, geoDistance (a radius around a point), elevation and depth ranges, year range, month or month range, eventDate (a date or date range), basis of record, coordinate filter, hasGeospatialIssue, dataset key, publishingOrg (the publishing organization), catalogNumber, institutionCode, recordedBy (collector), mediaType, typeStatus, establishmentMeans, and license. country, basisOfRecord, taxonKey, and checklistTaxonKey each take one value or an array: values within one filter are OR-ed, and different filters still intersect, except that GBIF unions a taxon key with scientificName. Rows carry no media unless includeMedia is set. Returns sightings only by default — GBIF also indexes absence records (surveys that looked and found nothing), and occurrenceStatus controls whether they are included. Pagination is capped at offset+limit=100,001 and GBIF offers no cursor or scroll, so a larger result set is covered only by partitioning it — facet it by DATASET_KEY with gbif_occurrence_facets and search each datasetKey separately. BASIS_OF_RECORD and PUBLISHING_COUNTRY are gap-free second cuts for a dataset bucket still over the cap; YEAR, MONTH, STATE_PROVINCE, and SPECIES_KEY lose records lacking that dimension. Repeat every biological filter on the facet call and each partition search, including the same occurrenceStatus, and compare sub-split sums against the bucket total. Bulk retrieval is outside this server: use the asynchronous GBIF Download API with a GBIF.org account or the monthly GBIF Parquet snapshot on AWS Open Data.",
          "inputSchema": {
            "truncated": true,
            "chars": 21661
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "occurrences",
                  "scope",
                  "totalCount",
                  "offset",
                  "limit",
                  "endOfRecords",
                  "occurrenceStatus"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "pagination_cap_exceeded",
                          "invalid_filter"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `pagination_cap_exceeded`: offset + limit exceeds 100,001, the deepest page GBIF serves. `invalid_filter`: A filter value is unusable — a string filter other than country and publishingCountry, or a checklistTaxonKey member, supplied blank or whitespace-only (a blank country or publishingCountry fails earlier, at its uppercase pattern, as -32602 invalid_arguments), a bare \"*\" as decimalLatitude, decimalLongitude, coordinateUncertaintyInMeters, elevation, depth, year, month, or eventDate, a coordinateUncertaintyInMeters, year, month, elevation, or depth with whitespace between a \"*\" end and the comma, a geoDistance that is not latitude,longitude,distance with the distance in a lowercase km or m unit, a datasetKey or publishingOrg that is not an 8-4-4-4-12 hex UUID, a gadmGid holding a character other than an uppercase letter, digit, dot, or underscore, a checklistTaxonKey key holding a character other than an uppercase letter or digit, a taxonKey under checklistKey 7ddf754f-d193-4cc9-b351-99906754a03b or a checklistTaxonKey without it, a typeStatus or establishmentMeans naming no concept in its GBIF vocabulary, a two-letter country or publishingCountry code GBIF does not know, or a WKT geometry or range GBIF rejects. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "limit": {
                "type": "number",
                "description": "Records returned in this page."
              },
              "scope": {
                "type": "object",
                "description": "Effective supplied biological filters, with occurrenceStatus always included; excludes pagination and facet controls. A filter supplied as an array echoes as that array.",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "number"
                      }
                    }
                  ]
                }
              },
              "notice": {
                "type": "string",
                "description": "Guidance when results are empty, paging overshot, a read limit was clamped, 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, the match is larger than the pagination cap can reach, or a presence/absence filter narrowed the result. Absent only when none applies."
              },
              "offset": {
                "type": "number",
                "description": "Current pagination offset."
              },
              "totalCount": {
                "type": "number",
                "description": "Total matching occurrences before pagination."
              },
              "occurrences": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "day": {
                      "type": "number",
                      "description": "Observation day. May be absent."
                    },
                    "key": {
                      "type": "number",
                      "description": "GBIF occurrence key for gbif_get_occurrence chaining."
                    },
                    "rank": {
                      "type": "string",
                      "description": "Taxonomic rank of the identified taxon."
                    },
                    "year": {
                      "type": "number",
                      "description": "Observation year. May be absent."
                    },
                    "depth": {
                      "type": "number",
                      "description": "Depth in meters below the local surface, such as a water surface. May be absent."
                    },
                    "media": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "description": "Media type (StillImage, Sound, MovingImage, …). May be absent."
                          },
                          "license": {
                            "type": "string",
                            "description": "License of the item as its source states it — a URL or free text, which can differ from the record's license. May be absent."
                          },
                          "identifier": {
                            "type": "string",
                            "description": "URL of the media file. May be absent."
                          },
                          "rightsHolder": {
                            "type": "string",
                            "description": "Rights holder to credit for the item. May be absent."
                          }
                        },
                        "description": "A media item (image, sound, video) attached to the record.",
                        "additionalProperties": false
                      },
                      "description": "Every media item on the record, in the record's order, whatever mediaType selected. Present only when includeMedia is true and the record has media."
                    },
                    "month": {
                      "type": "number",
                      "description": "Observation month (1–12). May be absent."
                    },
                    "issues": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "GBIF data quality issue flags for this record."
                    },
                    "country": {
                      "type": "string",
                      "description": "Country name. May be absent."
                    },
                    "license": {
                      "type": "string",
                      "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 takes the matching code instead — CC0_1_0, CC_BY_4_0, or CC_BY_NC_4_0 — not this URL. May be absent."
                    },
                    "locality": {
                      "type": "string",
                      "description": "Locality description. May be absent."
                    },
                    "taxonKey": {
                      "type": "number",
                      "description": "Backbone taxon key — also when checklistKey scoped the search by a Catalogue of Life key."
                    },
                    "elevation": {
                      "type": "number",
                      "description": "Elevation in meters above sea level. May be absent."
                    },
                    "eventDate": {
                      "type": "string",
                      "description": "Observation date as ISO 8601 string. May be absent."
                    },
                    "eventTime": {
                      "type": "string",
                      "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."
                    },
                    "datasetKey": {
                      "type": "string",
                      "description": "UUID of the source dataset."
                    },
                    "recordedBy": {
                      "type": "string",
                      "description": "Collector name(s). May be absent."
                    },
                    "typeStatus": {
                      "type": "string",
                      "description": "Nomenclatural type status of the specimen (e.g. Holotype, Isolectotype), as the GBIF concept name the typeStatus filter takes unchanged. May be absent."
                    },
                    "countryCode": {
                      "type": "string",
                      "description": "ISO 3166-1 alpha-2 country code. May be absent."
                    },
                    "datasetName": {
                      "type": "string",
                      "description": "Name of the source dataset. May be absent."
                    },
                    "recordNumber": {
                      "type": "string",
                      "description": "Number the collector assigned when collecting (e.g. \"JL 157\") — how herbarium specimens are cited, beside recordedBy. Not the catalogNumber. May be absent."
                    },
                    "rightsHolder": {
                      "type": "string",
                      "description": "Person or organization that owns or manages rights over the record — the name to credit under a CC BY license. May be absent."
                    },
                    "basisOfRecord": {
                      "type": "string",
                      "description": "How the occurrence was recorded."
                    },
                    "canonicalName": {
                      "type": "string",
                      "description": "Canonical name without authorship."
                    },
                    "catalogNumber": {
                      "type": "string",
                      "description": "Catalog number the holding collection assigned — the value the catalogNumber filter matches. May be absent."
                    },
                    "stateProvince": {
                      "type": "string",
                      "description": "State or province name. May be absent."
                    },
                    "scientificName": {
                      "type": "string",
                      "description": "Scientific name from occurrence record."
                    },
                    "decimalLatitude": {
                      "type": "number",
                      "description": "Latitude in decimal degrees (WGS84). May be absent."
                    },
                    "individualCount": {
                      "type": "number",
                      "description": "Number of individuals. May be absent."
                    },
                    "institutionCode": {
                      "type": "string",
                      "description": "Code of the institution holding the record — the value the institutionCode filter matches. May be absent."
                    },
                    "taxonomicStatus": {
                      "type": "string",
                      "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."
                    },
                    "acceptedTaxonKey": {
                      "type": "number",
                      "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, it covers the accepted taxon and every synonym. May be absent."
                    },
                    "decimalLongitude": {
                      "type": "number",
                      "description": "Longitude in decimal degrees (WGS84). May be absent."
                    },
                    "occurrenceStatus": {
                      "type": "string",
                      "description": "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. May be absent."
                    },
                    "publishingCountry": {
                      "type": "string",
                      "description": "Country code of the publishing organization."
                    },
                    "establishmentMeans": {
                      "type": "string",
                      "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."
                    },
                    "iucnRedListCategory": {
                      "type": "string",
                      "description": "IUCN Red List category of the taxon — CR, EN, VU, NT, LC, DD, EX, EW, CD, or NE. May be absent."
                    },
                    "acceptedScientificName": {
                      "type": "string",
                      "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."
                    },
                    "publishingOrganizationKey": {
                      "type": "string",
                      "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."
                    },
                    "coordinateUncertaintyInMeters": {
                      "type": "number",
                      "description": "Coordinate uncertainty radius in meters. May be absent."
                    }
                  },
                  "description": "A single occurrence record with location, taxon, date, and provenance fields.",
                  "additionalProperties": false
                },
                "description": "Occurrence records matching the filters."
              },
              "endOfRecords": {
                "type": "boolean",
                "description": "True when there are no more results after this page."
              },
              "occurrenceStatus": {
                "type": "string",
                "description": "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 totalCount and the returned records cover."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "gbif_count_occurrences",
          "title": "Count Occurrences",
          "description": "Count occurrences matching a taxon + location filter without fetching records. Use for quick totals (\"how many Aves records in Sweden?\") or before deciding whether to paginate a full search. Accepts taxonKey (or checklistTaxonKey with checklistKey, for a Catalogue of Life key), country (uppercase ISO 3166-1 alpha-2), publishingCountry, stateProvince, gadmGid, scientificName, spatial ranges, geometry, and geoDistance (a radius around a point; all intersected), elevation and depth ranges, year, month or a month range, eventDate (a date or date range), basisOfRecord, hasCoordinate (alias isGeoreferenced), hasGeospatialIssue, isInCluster, coordinateUncertaintyInMeters, datasetKey, publishingOrg, catalogNumber, institutionCode, recordedBy, mediaType, typeStatus, establishmentMeans, license, occurrenceStatus, and iucnRedListCategory. country, basisOfRecord, taxonKey, and checklistTaxonKey each take one value or an array: values within one filter are OR-ed, and different filters still intersect, except that GBIF unions a taxon key with scientificName. Counts sightings only by default, matching gbif_search_occurrences — GBIF also indexes absence records, and for some taxa they are the overwhelming majority. A count above 100,001 is the signal to partition rather than page: gbif_search_occurrences cannot reach past that offset, so split the query by DATASET_KEY via gbif_occurrence_facets and search each dataset separately.",
          "inputSchema": {
            "truncated": true,
            "chars": 20161
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "count",
                  "scope",
                  "occurrenceStatus"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "count": {
                "type": "number",
                "description": "Total occurrences matching the supplied filters."
              },
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "invalid_filter"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `invalid_filter`: A string 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), hasCoordinate conflicts with isGeoreferenced, 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 value as malformed. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "scope": {
                "type": "object",
                "description": "Effective supplied biological filters, with occurrenceStatus always included; excludes pagination and facet controls. A filter supplied as an array echoes as that array.",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "number"
                      }
                    }
                  ]
                }
              },
              "notice": {
                "type": "string",
                "description": "Guidance when the count is zero under a scientificName or an exact-match stateProvince, gadmGid, or recordedBy filter, a decimalLatitude, decimalLongitude, coordinateUncertaintyInMeters, elevation, or depth without a comma matched only that exact value, the count is larger than gbif_search_occurrences can page to, or a presence/absence filter narrowed it. Absent when none applies."
              },
              "occurrenceStatus": {
                "type": "string",
                "description": "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 the count covers."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "gbif_get_occurrence",
          "title": "Get Occurrence Record",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "occurrenceKey"
            ],
            "properties": {
              "occurrenceKey": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "GBIF occurrence key from gbif_search_occurrences results.",
                "exclusiveMinimum": 0
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                }
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "day": {
                "type": "number",
                "description": "Observation day. May be absent."
              },
              "key": {
                "type": "number",
                "description": "GBIF occurrence key."
              },
              "sex": {
                "type": "string",
                "description": "Sex of the individual(s). May be absent."
              },
              "gadm": {
                "type": "object",
                "properties": {
                  "level0": {
                    "type": "object",
                    "properties": {
                      "gid": {
                        "type": "string",
                        "description": "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."
                      },
                      "name": {
                        "type": "string",
                        "description": "Administrative-unit name. May be absent."
                      }
                    },
                    "description": "GADM level 0 — country. May be absent.",
                    "additionalProperties": false
                  },
                  "level1": {
                    "type": "object",
                    "properties": {
                      "gid": {
                        "type": "string",
                        "description": "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."
                      },
                      "name": {
                        "type": "string",
                        "description": "Administrative-unit name. May be absent."
                      }
                    },
                    "description": "GADM level 1 — state/province. May be absent.",
                    "additionalProperties": false
                  },
                  "level2": {
                    "type": "object",
                    "properties": {
                      "gid": {
                        "type": "string",
                        "description": "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."
                      },
                      "name": {
                        "type": "string",
                        "description": "Administrative-unit name. May be absent."
                      }
                    },
                    "description": "GADM level 2 — county/district. May be absent.",
                    "additionalProperties": false
                  },
                  "level3": {
                    "type": "object",
                    "properties": {
                      "gid": {
                        "type": "string",
                        "description": "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."
                      },
                      "name": {
                        "type": "string",
                        "description": "Administrative-unit name. May be absent."
                      }
                    },
                    "description": "GADM level 3 — municipality/ward, the finest level GBIF indexes. Absent where the country does not subdivide that far.",
                    "additionalProperties": false
                  }
                },
                "description": "GADM administrative geography — stable GIDs and names at levels 0–3. May be absent.",
                "additionalProperties": false
              },
              "year": {
                "type": "number",
                "description": "Observation year. May be absent."
              },
              "class": {
                "type": "string",
                "description": "Class classification. May be absent."
              },
              "depth": {
                "type": "number",
                "description": "Depth in meters below the local surface, such as a water surface. May be absent."
              },
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "not_found"
                        ],
                        "description": "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."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "genus": {
                "type": "string",
                "description": "Genus classification."
              },
              "media": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "Media type (StillImage, Sound, etc.)."
                    },
                    "title": {
                      "type": "string",
                      "description": "Media title."
                    },
                    "format": {
                      "type": "string",
                      "description": "MIME format of the media."
                    },
                    "license": {
                      "type": "string",
                      "description": "License for the media."
                    },
                    "identifier": {
                      "type": "string",
                      "description": "URL to the media file."
                    },
                    "rightsHolder": {
                      "type": "string",
                      "description": "Rights holder to credit for the media item. May be absent."
                    }
                  },
                  "description": "A media item (image, audio, video) associated with the occurrence.",
                  "additionalProperties": false
                },
                "description": "Associated media (images, audio, video). May be absent."
              },
              "month": {
                "type": "number",
                "description": "Observation month (1–12). May be absent."
              },
              "order": {
                "type": "string",
                "description": "Order classification."
              },
              "family": {
                "type": "string",
                "description": "Family classification."
              },
              "issues": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "GBIF data quality issue flags."
              },
              "phylum": {
                "type": "string",
                "description": "Phylum classification."
              },
              "country": {
                "type": "string",
                "description": "Country name. May be absent."
              },
              "habitat": {
                "type": "string",
                "description": "Habitat the publisher recorded for the occurrence. May be absent."
              },
              "kingdom": {
                "type": "string",
                "description": "Kingdom classification."
              },
              "license": {
                "type": "string",
                "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."
              },
              "species": {
                "type": "string",
                "description": "Species canonical name."
              },
              "classKey": {
                "type": "number",
                "description": "Backbone taxon key for the class. May be absent."
              },
              "genusKey": {
                "type": "number",
                "description": "Backbone taxon key for the genus. May be absent."
              },
              "locality": {
                "type": "string",
                "description": "Locality description. May be absent."
              },
              "orderKey": {
                "type": "number",
                "description": "Backbone taxon key for the order. May be absent."
              },
              "taxonKey": {
                "type": "number",
                "description": "Backbone taxon key."
              },
              "continent": {
                "type": "string",
                "description": "Continent name. May be absent."
              },
              "elevation": {
                "type": "number",
                "description": "Elevation in meters above sea level. May be absent."
              },
              "eventDate": {
                "type": "string",
                "description": "Observation date as ISO 8601 string. May be absent."
              },
              "eventTime": {
                "type": "string",
                "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."
              },
              "familyKey": {
                "type": "number",
                "description": "Backbone taxon key for the family. May be absent."
              },
              "lifeStage": {
                "type": "string",
                "description": "Life stage of the individual(s). May be absent."
              },
              "phylumKey": {
                "type": "number",
                "description": "Backbone taxon key for the phylum. May be absent."
              },
              "taxonRank": {
                "type": "string",
                "description": "Taxonomic rank of the identified taxon."
              },
              "datasetKey": {
                "type": "string",
                "description": "UUID of the source dataset."
              },
              "kingdomKey": {
                "type": "number",
                "description": "Backbone taxon key for the kingdom. May be absent."
              },
              "recordedBy": {
                "type": "string",
                "description": "Collector name(s). May be absent."
              },
              "references": {
                "type": "string",
                "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."
              },
              "speciesKey": {
                "type": "number",
                "description": "Backbone taxon key for the species. May be absent."
              },
              "typeStatus": {
                "type": "string",
                "description": "Nomenclatural type status of the specimen (e.g. Holotype, Isolectotype), as the GBIF concept name the typeStatus filter takes unchanged. May be absent."
              },
              "countryCode": {
                "type": "string",
                "description": "ISO 3166-1 alpha-2 country code. May be absent."
              },
              "datasetName": {
                "type": "string",
                "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."
              },
              "identifiers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "Identifier type (e.g. URL, DOI, GBIF_PORTAL). May be absent."
                    },
                    "identifier": {
                      "type": "string",
                      "description": "The identifier value. May be absent."
                    }
                  },
                  "description": "An alternative identifier for the occurrence record.",
                  "additionalProperties": false
                },
                "description": "Alternative record identifiers from the source. May be absent."
              },
              "isInCluster": {
                "type": "boolean",
                "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."
              },
              "identifiedBy": {
                "type": "string",
                "description": "Identifier name(s). May be absent."
              },
              "occurrenceID": {
                "type": "string",
                "description": "Darwin Core occurrenceID — the source record identifier, often a URL back to the origin record. May be absent."
              },
              "recordNumber": {
                "type": "string",
                "description": "Number the collector assigned when collecting (e.g. \"JL 157\") — how herbarium specimens are cited, beside recordedBy. Not the catalogNumber. May be absent."
              },
              "rightsHolder": {
                "type": "string",
                "description": "Person or organization that owns or manages rights over the record — the name to credit under a CC BY license. May be absent."
              },
              "basisOfRecord": {
                "type": "string",
                "description": "How the occurrence was recorded."
              },
              "canonicalName": {
                "type": "string",
                "description": "Canonical name without authorship."
              },
              "catalogNumber": {
                "type": "string",
                "description": "Catalog number within the collection. May be absent."
              },
              "stateProvince": {
                "type": "string",
                "description": "State or province. May be absent."
              },
              "collectionCode": {
                "type": "string",
                "description": "Collection code within the institution. May be absent."
              },
              "dateIdentified": {
                "type": "string",
                "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."
              },
              "scientificName": {
                "type": "string",
                "description": "Scientific name from occurrence record."
              },
              "decimalLatitude": {
                "type": "number",
                "description": "Latitude in decimal degrees (WGS84). May be absent."
              },
              "individualCount": {
                "type": "number",
                "description": "Number of individuals. May be absent."
              },
              "institutionCode": {
                "type": "string",
                "description": "Code of the contributing institution. May be absent."
              },
              "taxonomicStatus": {
                "type": "string",
                "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."
              },
              "acceptedTaxonKey": {
                "type": "number",
                "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."
              },
              "decimalLongitude": {
                "type": "number",
                "description": "Longitude in decimal degrees (WGS84). May be absent."
              },
              "occurrenceStatus": {
                "type": "string",
                "description": "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."
              },
              "organismQuantity": {
                "type": "number",
                "description": "Quantity of organisms, in the unit organismQuantityType names — survey abundance where individualCount is often absent. May be absent."
              },
              "samplingProtocol": {
                "type": "string",
                "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."
              },
              "occurrenceRemarks": {
                "type": "string",
                "description": "The recorder's notes on the record, in full. May be absent."
              },
              "publishingCountry": {
                "type": "string",
                "description": "Country code of the publishing organization."
              },
              "establishmentMeans": {
                "type": "string",
                "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."
              },
              "dataGeneralizations": {
                "type": "string",
                "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."
              },
              "informationWithheld": {
                "type": "string",
                "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."
              },
              "iucnRedListCategory": {
                "type": "string",
                "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, NE Not Evaluated. May be absent."
              },
              "organismQuantityType": {
                "type": "string",
                "description": "Unit organismQuantity is counted in, as the publisher wrote it (e.g. Individuals, % biomass). May be absent."
              },
              "acceptedScientificName": {
                "type": "string",
                "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."
              },
              "publishingOrganizationKey": {
                "type": "string",
                "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."
              },
              "coordinateUncertaintyInMeters": {
                "type": "number",
                "description": "Coordinate uncertainty radius in meters. May be absent."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "gbif_occurrence_facets",
          "title": "Occurrence Facet Aggregation",
          "description": "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.",
          "inputSchema": {
            "truncated": true,
            "chars": 24622
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "facet",
                  "totalOccurrences",
                  "counts",
                  "scope",
                  "facetLimit",
                  "facetOffset",
                  "occurrenceStatus"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "cap": {
                "type": "number",
                "description": "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."
              },
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "pagination_cap_exceeded",
                          "invalid_filter"
                        ],
                        "description": "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."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "facet": {
                "type": "string",
                "description": "The facet dimension aggregated."
              },
              "scope": {
                "type": "object",
                "description": "Effective supplied biological filters, with occurrenceStatus always included; excludes pagination and facet controls. A filter supplied as an array echoes as that array.",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "number"
                      }
                    }
                  ]
                }
              },
              "shown": {
                "type": "number",
                "description": "Facet values returned in this page when the page was capped. Absent otherwise."
              },
              "counts": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "count"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "description": "Facet value (country code, year, basisOfRecord, etc.)."
                    },
                    "count": {
                      "type": "number",
                      "description": "Occurrence count for this facet value."
                    },
                    "label": {
                      "type": "string",
                      "description": "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."
                    }
                  },
                  "description": "A facet value with its occurrence count.",
                  "additionalProperties": false
                },
                "description": "Facet values ranked by count descending — one page of up to facetLimit entries starting at facetOffset, not necessarily the top ones."
              },
              "notice": {
                "type": "string",
                "description": "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."
              },
              "truncated": {
                "type": "boolean",
                "description": "Present and true only when an extra upstream bucket proves another page exists. Absent on the final page, including an exactly full final page."
              },
              "facetLimit": {
                "type": "number",
                "description": "Maximum facet values requested."
              },
              "facetOffset": {
                "type": "number",
                "description": "Zero-based offset applied to the ranked facet values."
              },
              "occurrenceStatus": {
                "type": "string",
                "description": "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."
              },
              "totalOccurrences": {
                "type": "number",
                "description": "Total matching occurrences across all facet values."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "gbif_search_datasets",
          "title": "Search Datasets",
          "description": "Search GBIF datasets by keyword, type, publishing country (uppercase ISO 3166-1 alpha-2), publishing organization, or hosting organization. The two organization filters answer different questions — publishingOrg matches the organization whose data it is, hostingOrg the organization whose installation serves it — and an organization key from gbif_search_publishers usually wants publishingOrg. Returns dataset title, description, license, record count, DOI, and the publishing organization's key and name; the key goes back in as publishingOrg. Use to find the source dataset behind a set of records, or to explore what data collections are available for a taxon, country, or organization.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "q": {
                "type": "string",
                "description": "Free-text search across dataset title and description. Omit the field to browse without a term — a blank or whitespace-only value is rejected rather than sent, because GBIF answers a blank one with every indexed dataset and a whitespace-only one with none, and neither is the search a caller who filled the field was asking for."
              },
              "type": {
                "enum": [
                  "OCCURRENCE",
                  "CHECKLIST",
                  "METADATA",
                  "SAMPLING_EVENT"
                ],
                "type": "string",
                "description": "Filter by dataset type. OCCURRENCE for observation records, CHECKLIST for species lists."
              },
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 9007199254740991,
                "minimum": 1,
                "description": "Number of datasets to return (default 20, max 1000)."
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Pagination offset. offset + limit may not exceed 125,000, the deepest page GBIF's dataset search serves; narrow a larger match with type, q, publishingCountry, publishingOrg, or hostingOrg instead of paging past it."
              },
              "hostingOrg": {
                "type": "string",
                "description": "UUID (8-4-4-4-12 hex, lowercase — matched case-sensitively, as publishingOrg is) of the organization whose installation serves the dataset — distinct from the organization that published it, which is publishingOrg. Most organizations publish through an installation someone else runs, so a key from gbif_search_publishers matches nothing here for them. Supplied together the two filters are intersected, not combined."
              },
              "publishingOrg": {
                "type": "string",
                "description": "UUID (8-4-4-4-12 hex, lowercase — GBIF matches these two keys case-sensitively, so an upper-cased rendering of a real key matches nothing) of the organization that published the dataset — the organization whose data it is, and the question a key from gbif_search_publishers is usually asking. The organization that serves it is hostingOrg, which matches a different set. Supplied together the two filters are intersected, not combined, so the same key in both fields returns only what that organization both published and serves."
              },
              "publishingCountry": {
                "type": "string",
                "pattern": "^[A-Z]{2}$",
                "description": "ISO 3166-1 alpha-2 code, uppercase, of the organization that published the dataset (e.g., \"GB\", \"US\", \"DE\", \"SE\"). Lowercase and alpha-3 forms (\"gb\", \"GBR\") match nothing upstream, which is why only the uppercase two-letter form is accepted here — unlike the country filter on gbif_search_publishers, which resolves either form. Take a value from a PUBLISHING_COUNTRY facet on gbif_occurrence_facets; an uppercase pair GBIF does not assign (\"XX\") is rejected upstream by name."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "datasets",
                  "totalCount",
                  "offset",
                  "limit",
                  "endOfRecords"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "pagination_cap_exceeded",
                          "invalid_filter"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `pagination_cap_exceeded`: offset + limit exceeds 125,000, the deepest page GBIF's dataset search serves. `invalid_filter`: A string filter other than publishingCountry was supplied blank or whitespace-only (a blank publishingCountry fails earlier, at its uppercase pattern, as -32602 invalid_arguments), publishingOrg or hostingOrg is not a lowercase 8-4-4-4-12 hex UUID, publishingCountry is a two-letter code GBIF does not assign, or GBIF rejected another filter value as malformed. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "limit": {
                "type": "number",
                "description": "Datasets returned in this page."
              },
              "notice": {
                "type": "string",
                "description": "Guidance when results are empty, paging overshot, an oversized read limit was clamped, or more datasets match than the 125,000 offset+limit ceiling lets a caller page to. Absent when none applies."
              },
              "offset": {
                "type": "number",
                "description": "Current pagination offset."
              },
              "datasets": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "doi": {
                      "type": "string",
                      "description": "DOI for citation. May be absent."
                    },
                    "key": {
                      "type": "string",
                      "description": "Dataset UUID for gbif_get_dataset chaining."
                    },
                    "type": {
                      "type": "string",
                      "description": "Dataset type (OCCURRENCE, CHECKLIST, etc.)."
                    },
                    "title": {
                      "type": "string",
                      "description": "Dataset title."
                    },
                    "license": {
                      "type": "string",
                      "description": "License identifier. May be absent."
                    },
                    "description": {
                      "type": "string",
                      "description": "Brief description, truncated to a 300-character preview. May be absent."
                    },
                    "recordCount": {
                      "type": "number",
                      "description": "Occurrence records GBIF has indexed for this dataset, spanning 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. For the sightings-only figure, call gbif_count_occurrences with this key; it defaults to occurrenceStatus PRESENT, so the two figures are expected to differ rather than one being wrong."
                    },
                    "publishingCountry": {
                      "type": "string",
                      "description": "Country code of the publisher."
                    },
                    "descriptionTruncated": {
                      "type": "boolean",
                      "description": "True when the description was shortened to the 300-char preview; call gbif_get_dataset with this key for the full text. Omitted when the dataset has no description."
                    },
                    "publishingOrganizationKey": {
                      "type": "string",
                      "description": "UUID of the organization that published the dataset. Pass it back to gbif_search_datasets as publishingOrg for every dataset this organization published. Absent when GBIF omits it."
                    },
                    "publishingOrganizationTitle": {
                      "type": "string",
                      "description": "Name of the organization that published the dataset, as GBIF records it. Absent when GBIF omits it."
                    }
                  },
                  "description": "A GBIF dataset with key, title, type, license, and record count.",
                  "additionalProperties": false
                },
                "description": "Matching datasets."
              },
              "totalCount": {
                "type": "number",
                "description": "Total matching datasets before pagination."
              },
              "endOfRecords": {
                "type": "boolean",
                "description": "True when there are no more results after this page."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "gbif_get_dataset",
          "title": "Get Dataset",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "datasetKey"
            ],
            "properties": {
              "datasetKey": {
                "type": "string",
                "description": "Dataset UUID (8-4-4-4-12 hex) from gbif_search_datasets or an occurrence record."
              },
              "contactLimit": {
                "type": "integer",
                "default": 10,
                "maximum": 9007199254740991,
                "minimum": 0,
                "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."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                }
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "cap": {
                "type": "number",
                "description": "contactLimit applied when the list was capped. Raise it (max 100) to see more. Absent otherwise."
              },
              "doi": {
                "type": "string",
                "description": "DOI for citation. May be absent."
              },
              "key": {
                "type": "string",
                "description": "Dataset UUID."
              },
              "type": {
                "type": "string",
                "description": "Dataset type (OCCURRENCE, CHECKLIST, etc.)."
              },
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "not_found",
                          "invalid_filter"
                        ],
                        "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."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "shown": {
                "type": "number",
                "description": "Contacts included in this response when the list was capped. Absent otherwise."
              },
              "title": {
                "type": "string",
                "description": "Dataset title."
              },
              "notice": {
                "type": "string",
                "description": "How to reach contacts held back, or requested/applied values when contactLimit was clamped. Absent when neither applies."
              },
              "deleted": {
                "type": "string",
                "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."
              },
              "license": {
                "type": "string",
                "description": "License identifier. May be absent."
              },
              "contacts": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "Contact type (e.g., ADMINISTRATIVE_POINT_OF_CONTACT)."
                    },
                    "email": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Contact email addresses. May be absent."
                    },
                    "lastName": {
                      "type": "string",
                      "description": "Last name. May be absent."
                    },
                    "firstName": {
                      "type": "string",
                      "description": "First name. May be absent."
                    },
                    "organization": {
                      "type": "string",
                      "description": "Organization name. May be absent."
                    }
                  },
                  "description": "A dataset contact with role, name, organization, and email.",
                  "additionalProperties": false
                },
                "description": "Dataset contacts, capped at contactLimit. Absent when the dataset has no contacts or contactLimit is 0."
              },
              "truncated": {
                "type": "boolean",
                "description": "True when the dataset carries more contacts than contactLimit allowed through. Absent when every contact was returned."
              },
              "description": {
                "type": "string",
                "description": "Full dataset description. May be absent."
              },
              "recordCount": {
                "type": "number",
                "description": "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."
              },
              "citationText": {
                "type": "string",
                "description": "Full citation text for academic reference. May be absent."
              },
              "contactsTotal": {
                "type": "number",
                "description": "Total contacts on the dataset before applying contactLimit. Present when the dataset has any contacts."
              },
              "numConstituents": {
                "type": "number",
                "description": "Number of constituent sub-datasets. May be absent."
              },
              "contactsReturned": {
                "type": "number",
                "description": "Number of contacts included in this response (≤ contactLimit). Present when the dataset has any contacts."
              },
              "publishingCountry": {
                "type": "string",
                "description": "Country code of the publishing organization."
              },
              "recordCountNotice": {
                "type": "string",
                "description": "Explains an unavailable supplementary count and how to retry. Absent after a successful lookup or a declared count."
              },
              "temporalCoverages": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "end": {
                      "type": "string",
                      "description": "Coverage end as an ISO 8601 date-time. May be absent."
                    },
                    "date": {
                      "type": "string",
                      "description": "Single coverage date as supplied by GBIF. May be absent."
                    },
                    "type": {
                      "type": "string",
                      "description": "Verbatim period type. May be absent."
                    },
                    "@type": {
                      "type": "string",
                      "description": "GBIF coverage representation: range, single, or verbatim. May be absent on legacy ranges."
                    },
                    "start": {
                      "type": "string",
                      "description": "Coverage start as an ISO 8601 date-time. May be absent."
                    },
                    "period": {
                      "type": "string",
                      "description": "Verbatim coverage period. May be absent."
                    }
                  },
                  "description": "A temporal coverage range, single date, or verbatim period.",
                  "additionalProperties": false
                },
                "description": "Temporal coverage declared by the dataset, preserving supplied dates and verbatim periods. May be absent."
              },
              "geographicCoverages": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "boundingBox": {
                      "type": "object",
                      "properties": {
                        "maxLatitude": {
                          "type": "number",
                          "description": "Northern bound in decimal degrees."
                        },
                        "minLatitude": {
                          "type": "number",
                          "description": "Southern bound in decimal degrees."
                        },
                        "maxLongitude": {
                          "type": "number",
                          "description": "Eastern bound in decimal degrees — EML's eastBoundingCoordinate."
                        },
                        "minLongitude": {
                          "type": "number",
                          "description": "Western bound in decimal degrees — EML's westBoundingCoordinate."
                        },
                        "globalCoverage": {
                          "type": "boolean",
                          "description": "GBIF's global-coverage flag for the box, as sent."
                        }
                      },
                      "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.",
                      "additionalProperties": false
                    },
                    "description": {
                      "type": "string",
                      "description": "Geographic coverage description (e.g. \"Worldwide\"). May be absent."
                    }
                  },
                  "description": "A geographic coverage entry: a description, a bounding box, or both.",
                  "additionalProperties": false
                },
                "description": "Geographic coverage declared by the dataset — descriptions and bounding boxes. May be absent."
              },
              "temporalCoverageNotice": {
                "type": "string",
                "description": "Discloses unsupported or unusable temporal entries omitted from the response. May be absent."
              },
              "publishingOrganizationKey": {
                "type": "string",
                "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."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "gbif_search_publishers",
          "title": "Search Publishers",
          "description": "Search organizations registered with GBIF by name fragment or country. Returns organization key, title, and country — sufficient to chain into gbif_search_datasets as publishingOrg for the datasets an organization published, or as hostingOrg for the ones its own installation serves, or to understand who publishes data for a region. publishingOrg is the usual chain: most organizations publish through an installation someone else runs, so hostingOrg matches nothing for them.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "q": {
                "type": "string",
                "description": "Name fragment to search for. Matches organization names. Omit the field to browse without a term — a blank or whitespace-only value is rejected rather than sent, because the registry answers either with every registered organization."
              },
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 9007199254740991,
                "minimum": 1,
                "description": "Number of organizations to return (default 20, max 1000)."
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Pagination offset."
              },
              "country": {
                "type": "string",
                "description": "ISO 3166-1 country code to filter organizations by country. The alpha-2 form (\"GB\") is canonical; unlike the country codes on the occurrence tools and gbif_search_datasets, this one also resolves the alpha-3 form (\"GBR\") and is case-insensitive, because the registry endpoint matches the parsed country rather than the string. A value GBIF cannot parse as a country errors rather than returning an empty list. Omit the field to search every country — an empty string is rejected rather than read as no filter, because the registry answers a blank country with every registered organization."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "publishers",
                  "totalCount",
                  "offset",
                  "limit",
                  "endOfRecords"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "invalid_filter"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `invalid_filter`: q was supplied blank or whitespace-only, country is the empty string, or GBIF could not parse the country value as a country. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "limit": {
                "type": "number",
                "description": "Organizations returned in this page."
              },
              "notice": {
                "type": "string",
                "description": "Guidance when results are empty, paging overshot, or an oversized read limit was clamped. Absent when none applies."
              },
              "offset": {
                "type": "number",
                "description": "Current pagination offset."
              },
              "publishers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string",
                      "description": "Organization UUID. Chains into gbif_search_datasets as publishingOrg for the datasets this organization published, or as hostingOrg for the ones its own installation serves — publishingOrg is the usual one, since most organizations host nothing."
                    },
                    "city": {
                      "type": "string",
                      "description": "City. May be absent."
                    },
                    "title": {
                      "type": "string",
                      "description": "Organization name."
                    },
                    "country": {
                      "type": "string",
                      "description": "ISO 3166-1 alpha-2 country code."
                    }
                  },
                  "description": "A GBIF-registered publishing organization.",
                  "additionalProperties": false
                },
                "description": "Matching organizations."
              },
              "totalCount": {
                "type": "number",
                "description": "Total matching organizations before pagination."
              },
              "endOfRecords": {
                "type": "boolean",
                "description": "True when there are no more results after this page."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "gbif-biodiversity-guide",
          "uri": "skill://gbif-biodiversity-guide/SKILL.md",
          "mimeType": "text/markdown",
          "description": "Use with gbif_* tools to map where and when a taxon was recorded, list the species of a group in a region, reconcile a name list, or trace records to collections, datasets, and publishers. Covers where each key comes from, which region filter selects which records, and the checks to run before quoting a count, a trend, or an absence."
        }
      ],
      "prompts": []
    },
    "instructions": "Use the gbif_* tools to query species taxonomy, occurrences, datasets, and publishers via the GBIF API. Keyless — these endpoints need no credentials. Resolve any name with gbif_match_species first — it returns the backbone taxonKey the occurrence tools expect, resolving a synonym to its accepted taxon and reporting the matched synonym key alongside as matchedTaxonKey; the raw scientificName filter also resolves a synonym, but a name shared across kingdoms, such as Oenanthe, matches nothing there, where a key names exactly one taxon. A matchType of HIGHERRANK means GBIF matched at a higher rank — a misspelled species can come back as its genus or kingdom — so that taxonKey covers the whole higher taxon; the notice on the result names it. gbif_bulk_match_species resolves such a name when its entry is { name, kingdom }. checklistKey 7ddf754f-d193-4cc9-b351-99906754a03b (opt-in) selects the Catalogue of Life eXtended Release, the taxonomy GBIF now maintains: the match tools then return its case-sensitive string key as checklistTaxonKey, and the occurrence tools take one as checklistTaxonKey under the same checklistKey, where taxonKey is rejected and KINGDOM_KEY through SPECIES_KEY buckets are Catalogue of Life keys; either checklistKey value also leaves out the records GBIF has not matched to a taxon in that checklist. gbif_search_species defaults to the GBIF Backbone Taxonomy checklist d7dddbf4-2cf0-4f39-9b2a-bb099caae36c and honors an explicit datasetKey. Its key is the source checklist usage key; use the optional nubKey for occurrence queries, otherwise resolve the name with gbif_match_species; gbif_get_species, gbif_get_species_children, and gbif_get_species_classification return the same datasetKey and nubKey beside each usage key. The optional datasetKey identifies the source checklist. The kingdom, family, and genus filters on gbif_search_species take names and are resolved to backbone keys the same way before the search runs, since /species/search scopes by taxon key alone: the narrowest of the three supplied is what scopes, a name is matched by its exact spelling in any letter case, one that reaches no backbone taxon at that rank fails rather than widening the search, and pairing any of them with datasetKey matches nothing unless that checklist is the GBIF backbone. gbif_search_species also takes status, one or more taxonomic statuses OR-ed, where SYNONYM matches only that exact status. gbif_search_species pages to offset+limit 100,000, gbif_search_datasets to 125,000, and gbif_occurrence_facets to facetOffset+facetLimit 1,199,999, or 500,000 on a scope ranking more than 500,001 buckets; past those a request fails as pagination_cap_exceeded, and the notice on a larger match names the filters that narrow it. Countries use ISO 3166-1 alpha-2; datasets and publishers are keyed by UUID, occurrences by integer key. Omit a filter you do not want rather than sending it blank: GBIF ignores a parameter it is given with no value and answers with the whole unfiltered scope, so every optional filter on these tools rejects a blank or whitespace-only value instead of quietly widening the query. That rejection is a typed invalid_filter carrying the recovery hint the tool declares, except on country and publishingCountry of the occurrence tools, publishingCountry of gbif_search_datasets, and license of the occurrence tools, where the uppercase-only pattern (an enum, for license) rejects a blank or unknown value at the schema, so the failure is the generic -32602 invalid_arguments rejection, carrying the message of that pattern or enum instead. On the occurrence tools country and publishingCountry, and on gbif_search_datasets publishingCountry, the uppercase two-letter form is the only one accepted — lowercase and alpha-3 forms (\"gb\", \"USA\") match nothing on those routes, so those fields reject anything else rather than answering zero, while gbif_search_publishers resolves either form case-insensitively against the registry and needs no "
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}