Skip to main content
Glama

gbif_maps_get_tile_url

Read-onlyIdempotent

Generate a URL for GBIF occurrence map tiles with custom styling and filters. Returns tile URLs in Web Mercator projection for web maps or GIS software.

Instructions

Generate a URL for occurrence map tiles with customizable styling and filters. Returns tile URLs in standard web Mercator projection (EPSG:3857) for use in web mapping applications, GIS software, or direct visualization.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xYesTile column number (X coordinate). Horizontal position in the tile grid at the given zoom level. Valid range: 0 to (2^z - 1). Example: at zoom 0, only x=0 is valid; at zoom 1, x can be 0 or 1.
yYesTile row number (Y coordinate). Vertical position in the tile grid at the given zoom level. Valid range: 0 to (2^z - 1). Uses standard TMS (Tile Map Service) row numbering.
zYesZoom level (0-20). 0 shows the entire world, 20 shows street-level detail. Common values: 0-2 (world), 3-5 (continental), 6-10 (country/regional), 11-15 (city), 16-20 (neighborhood/street). Standard web Mercator zoom levels.
srsNoSpatial Reference System. Default: EPSG:3857 (Web Mercator). Alternative: EPSG:4326 (WGS84 lat/long). Most web mapping libraries expect EPSG:3857.
yearNoFilter by observation year or year range. Format: "2024" (single year) or "2020,2024" (range from 2020-2024). Only occurrences from specified year(s) will appear.
scaleNoPixel density scale for retina displays. 1 = standard (256x256px), 2 = retina/2x (512x512px), 4 = ultra-high DPI. Higher values produce sharper images on high-DPI screens but larger file sizes. Default: 1.
styleNoMap style name. Controls color scheme and visualization type. Common values: "classic.poly" (polygons), "purpleHeat.point" (heatmap), "green.poly", "fire.point", "glacier.point". Get available styles from gbif_maps_list_styles.
formatNoTile format. PNG (raster image, best for visualization) or MVT (Mapbox Vector Tiles, best for interactive maps with client-side styling). Default: png.png
countryNoFilter to specific country. 2-letter ISO country code. Example: "US", "BR", "KE". Only occurrences from this country will be mapped.
taxonKeyNoFilter to specific taxon and all its children. GBIF taxon key. Example: 212 (all birds), 5231190 (Panthera leo - African lion). Only occurrences of this taxon will be shown on the map.
datasetKeyNoFilter to specific dataset. Dataset UUID. Only occurrences from this dataset will be mapped. Get dataset UUIDs from gbif_registry_search_datasets.
basisOfRecordNoFilter by observation type. Values: HUMAN_OBSERVATION, MACHINE_OBSERVATION, PRESERVED_SPECIMEN, FOSSIL_SPECIMEN, LIVING_SPECIMEN, MATERIAL_SAMPLE, OCCURRENCE. Controls which types of records appear on map.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, non-destructive, openWorld), so the bar is lower. The description usefully discloses the return artifact (tile URL strings) and the projection (EPSG:3857 Web Mercator), but says nothing about behavior at out-of-range coordinates, rate limits, or why a generic tool exists alongside the raster/vector variants.

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?

Two sentences, front-loaded with the action, no filler. The second sentence partially restates what the srs parameter already documents, which is minor redundancy but keeps the size appropriate.

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

Completeness3/5

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

With no output schema, the description does the right minimum of explaining that a tile URL is returned, which is adequate for a 12-parameter URL-builder. What is missing is the context an agent most needs: how this tool relates to its vector/raster siblings and the style-listing tool, leaving a real disambiguation hole.

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 the schema already carries the semantics for all 12 parameters; baseline 3 applies. The description only gestures at 'customizable styling and filters' and otherwise adds nothing, and its blanket claim that tiles come back in EPSG:3857 sits slightly awkwardly against the srs parameter that permits EPSG:4326.

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 names a specific verb and resource: 'Generate a URL for occurrence map tiles,' scoped by styling and filters. That is clear on its own, but the sibling list contains gbif_maps_get_vector_tile_url and gbif_maps_get_raster_tile_url, and the description makes no attempt to distinguish this generic tool from those two near-identical siblings, which is the main ambiguity an agent faces here.

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

Usage Guidelines2/5

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

The only guidance is a downstream-consumer list ('web mapping applications, GIS software, or direct visualization'), which describes what the URL is for rather than when to call this tool instead of the raster/vector tile siblings. With three overlapping tile-URL tools available, the absence of an explicit when-to-use and when-not-to-use rule is a real gap.

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

Deploy Server

Other Tools