Skip to main content
Glama

Occurrences Near

occurrences_near
Read-onlyIdempotent

Find species occurrence records NEAR a location (latitude/longitude + radius). PREFER for "what species/wildlife are found near here", "what birds/plants occur around these coordinates", "is recorded near this spot". Optionally filter by a GBIF taxon key (from search_species) to a group or species, e.g. 212 = birds, 6 = plants, 359 = mammals. Returns georeferenced records with species name, date, locality, and source.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "latitude": 40.785,
      "longitude": -73.968
    },
    "name": "occurrences_near"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum records to return (1-300, default 20).
latitudeYesLatitude in decimal degrees (e.g., 40.785).
longitudeYesLongitude in decimal degrees (e.g., -73.968).
radius_kmNoSearch radius in km (default 10, max 200).
taxon_keyNoOptional GBIF backbone taxon key to restrict to a species or group (e.g., 212 = birds, 6 = plants, 359 = mammals).
taxon_nameNoOptional scientific name to restrict to, e.g. "Danaus plexippus". Resolved to a GBIF backbone taxon key automatically. Alternative to taxon_key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "latitude": 40.785,
      +    "longitude": -73.968
      +  },
      +  {
      +    "latitude": -33.865,
      +    "limit": 50,
      +    "longitude": 151.209,
      +    "radius_km": 25,
      +    "taxon_key": 212
      +  }
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / taxon_key / description
      Previous value: -"Optional GBIF taxon key to restrict to a species or group (e.g., 212 = birds). From search_species."New value: +"Optional GBIF backbone taxon key to restrict to a species or group (e.g., 212 = birds, 6 = plants, 359 = mammals)."
    • addedInput schema / properties / taxon_name
      Added value: +{
      +  "description": "Optional scientific name to restrict to, e.g. \"Danaus plexippus\". Resolved to a GBIF backbone taxon key automatically. Alternative to taxon_key.",
      +  "type": "string"
      +}
  3. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds that results are georeferenced records carrying species name, date, locality, and source, and that taxon_name is auto-resolved to a backbone key. It does not disclose volume caps, ranking, or what happens when no records match — but the annotation coverage keeps the bar low here.

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

Conciseness4/5

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

Three sentences, front-loaded with the use-case routing before the optional filtering detail, with no filler. The taxon key examples (212 birds, 6 plants, 359 mammals) are repeated verbatim from the schema, which is the only real waste.

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

Completeness4/5

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

For a six-parameter read-only lookup with no output schema, the description covers purpose, spatial inputs, optional taxonomic narrowing, and the shape of returned records, which is enough to call it correctly. Gaps are minor: no statement of result ordering or default radius behavior in the description, though both live in the schema.

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

Parameters3/5

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

Schema description coverage is 100%, so every parameter including limit bounds, radius default/max, and the taxon_key/taxon_name distinction is already documented in the schema, establishing a baseline of 3. The description's only genuine addition is provenance — that a taxon_key can be obtained 'from search_species' — while the 212/6/359 examples and the 'Alternative to taxon_key' note merely restate the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource — 'Find species occurrence records NEAR a location' — and pins the spatial scoping to latitude/longitude plus radius, so the tool's job is unambiguous. It does not name its closest relative (get_occurrences) as the non-nearby alternative, so an agent must infer the boundary from the descriptive query phrasings rather than from an explicit contrast.

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

Usage Guidelines4/5

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

It explicitly says 'PREFER for' and then supplies three concrete user-phrasing triggers ('what species/wildlife are found near here', 'what birds/plants occur around these coordinates', 'is <species> recorded near this spot'), which is strong when-to-use guidance. It stops short of a when-not rule or a named alternative tool, and the capital PREFER implies a competing option without identifying it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.