| add_layerA | Add a MapLibre source and one or more layers. Maps to map.addSource() and map.addLayer().
📚 AVAILABLE DATA LAYERS & USAGE CONTEXTAvailable Data LayersYou have access to map visualization tools that can display geospatial data layers. Note: These layer definitions can be customized by setting the MCP_MAP_SYSTEM_PROMPT environment variable with your own layer information. Base Layers (Raster)OpenStreetMap StandardID: osm Type: Raster URL: https://tile.openstreetmap.org/{z}/{x}/{y}.png Attribution: © OpenStreetMap contributors Description: Standard OpenStreetMap tiles with streets, labels, and geographic features
OpenStreetMap HumanitarianID: osm-humanitarian Type: Raster URL: https://tile-{s}.openstreetmap.fr/hot/{z}/{x}/{y}.png Subdomains: a,b,c Attribution: © OpenStreetMap contributors, Tiles courtesy of Humanitarian OpenStreetMap Team Description: High-contrast humanitarian style, good for overlaying data
CartoDB Positron (Light)ID: carto-light Type: Raster URL: https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png Subdomains: a,b,c,d Attribution: © OpenStreetMap contributors © CARTO Description: Light grayscale base map, excellent for data visualization
Esri World ImageryID: esri-satellite Type: Raster URL: https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x} Attribution: Tiles © Esri Description: High-resolution satellite imagery
Vector Data LayersWorld Database on Protected Areas (WDPA)Attributes: IUCN_CAT: IUCN management category (Ia=Strict Nature Reserve, Ib=Wilderness Area, II=National Park, III=Natural Monument, IV=Habitat Management, V=Protected Landscape, VI=Sustainable Use)
OWN_TYPE: Ownership type (State, Private, Community, etc.)
ISO3: ISO 3166-1 alpha-3 country code
STATUS_YR: Year of establishment or designation
NAME: Protected area name
DESIG_ENG: Designation in English (e.g., National Park, Wildlife Sanctuary)
Overture Maps - Administrative BoundariesID: overture-admins Type: Vector URL: pmtiles://https://overturemaps.azureedge.net/release/2024-11-13.0/theme=admins.pmtiles Source Layer: admins Description: Administrative boundary polygons including countries, states/regions, and counties
Attributes: admin_level: Administrative level (2=country, 4=state/region, 6=county)
names: Name information in multiple languages
iso_country_code_alpha_2: ISO country code
iso_sub_country_code: Sub-country codes
Overture Maps - PlacesID: overture-places Type: Vector URL: pmtiles://https://overturemaps.azureedge.net/release/2024-11-13.0/theme=places.pmtiles Source Layer: places Description: Points of interest including businesses, landmarks, and facilities
Attributes: categories: Category classification
names: Place names in multiple languages
confidence: Data confidence score
Natural Earth Countries (50m)Attributes: NAME: Country name
ISO_A2: ISO Alpha-2 country code
POP_EST: Population estimate
GDP_MD: GDP in millions USD
CONTINENT: Continent name
Example Usage PatternsCreate a base map: {
"tool": "add_layer",
"arguments": {
"id": "osm-base",
"type": "raster",
"source": {
"type": "raster",
"tiles": ["https://tile.openstreetmap.org/{z}/{x}/{y}.png"],
"attribution": "© OpenStreetMap contributors"
}
}
}
Add protected areas in a specific country: {
"tool": "add_layer",
"arguments": {
"id": "wdpa",
"type": "vector",
"source": {
"type": "vector",
"url": "pmtiles://https://s3-west.nrp-nautilus.io/public-wdpa/WDPA_Dec2025.pmtiles"
},
"layers": [{
"id": "wdpa-fill",
"type": "fill",
"source": "wdpa",
"source-layer": "wdpa",
"paint": {"fill-color": "green", "fill-opacity": 0.5}
}]
}
}
Filter to specific country (e.g., USA): {
"tool": "filter_layer",
"arguments": {
"layer_id": "wdpa",
"filter": ["==", ["get", "ISO3"], "USA"]
}
}
Style by attribute (e.g., IUCN category): {
"tool": "set_layer_paint",
"arguments": {
"layer_id": "wdpa",
"property": "fill-color",
"value": [
"match",
["get", "IUCN_CAT"],
"II", "#2ca02c",
"IV", "#1f77b4",
"V", "#ff7f0e",
"#999999"
]
}
}
Tips for Layer SelectionAlways start with a base layer (OSM, CartoDB, or Esri) Use light base maps (carto-light) when overlaying lots of data Use satellite imagery (esri-satellite) for environmental or geographic context PMTiles sources are efficient for large vector datasets Filter by geography first (ISO3, admin_level) to improve performance Use meaningful colors and opacity for multiple overlapping layers
|
| remove_layerA | Remove a layer and its associated source from the map. |
| set_map_viewB | Move the map camera to a specific center and zoom level.
📚 AVAILABLE DATA LAYERS & USAGE CONTEXTAvailable Data LayersYou have access to map visualization tools that can display geospatial data layers. Note: These layer definitions can be customized by setting the MCP_MAP_SYSTEM_PROMPT environment variable with your own layer information. Base Layers (Raster)OpenStreetMap StandardID: osm Type: Raster URL: https://tile.openstreetmap.org/{z}/{x}/{y}.png Attribution: © OpenStreetMap contributors Description: Standard OpenStreetMap tiles with streets, labels, and geographic features
OpenStreetMap HumanitarianID: osm-humanitarian Type: Raster URL: https://tile-{s}.openstreetmap.fr/hot/{z}/{x}/{y}.png Subdomains: a,b,c Attribution: © OpenStreetMap contributors, Tiles courtesy of Humanitarian OpenStreetMap Team Description: High-contrast humanitarian style, good for overlaying data
CartoDB Positron (Light)ID: carto-light Type: Raster URL: https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png Subdomains: a,b,c,d Attribution: © OpenStreetMap contributors © CARTO Description: Light grayscale base map, excellent for data visualization
Esri World ImageryID: esri-satellite Type: Raster URL: https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x} Attribution: Tiles © Esri Description: High-resolution satellite imagery
Vector Data LayersWorld Database on Protected Areas (WDPA)Attributes: IUCN_CAT: IUCN management category (Ia=Strict Nature Reserve, Ib=Wilderness Area, II=National Park, III=Natural Monument, IV=Habitat Management, V=Protected Landscape, VI=Sustainable Use)
OWN_TYPE: Ownership type (State, Private, Community, etc.)
ISO3: ISO 3166-1 alpha-3 country code
STATUS_YR: Year of establishment or designation
NAME: Protected area name
DESIG_ENG: Designation in English (e.g., National Park, Wildlife Sanctuary)
Overture Maps - Administrative BoundariesID: overture-admins Type: Vector URL: pmtiles://https://overturemaps.azureedge.net/release/2024-11-13.0/theme=admins.pmtiles Source Layer: admins Description: Administrative boundary polygons including countries, states/regions, and counties
Attributes: admin_level: Administrative level (2=country, 4=state/region, 6=county)
names: Name information in multiple languages
iso_country_code_alpha_2: ISO country code
iso_sub_country_code: Sub-country codes
Overture Maps - PlacesID: overture-places Type: Vector URL: pmtiles://https://overturemaps.azureedge.net/release/2024-11-13.0/theme=places.pmtiles Source Layer: places Description: Points of interest including businesses, landmarks, and facilities
Attributes: categories: Category classification
names: Place names in multiple languages
confidence: Data confidence score
Natural Earth Countries (50m)Attributes: NAME: Country name
ISO_A2: ISO Alpha-2 country code
POP_EST: Population estimate
GDP_MD: GDP in millions USD
CONTINENT: Continent name
Example Usage PatternsCreate a base map: {
"tool": "add_layer",
"arguments": {
"id": "osm-base",
"type": "raster",
"source": {
"type": "raster",
"tiles": ["https://tile.openstreetmap.org/{z}/{x}/{y}.png"],
"attribution": "© OpenStreetMap contributors"
}
}
}
Add protected areas in a specific country: {
"tool": "add_layer",
"arguments": {
"id": "wdpa",
"type": "vector",
"source": {
"type": "vector",
"url": "pmtiles://https://s3-west.nrp-nautilus.io/public-wdpa/WDPA_Dec2025.pmtiles"
},
"layers": [{
"id": "wdpa-fill",
"type": "fill",
"source": "wdpa",
"source-layer": "wdpa",
"paint": {"fill-color": "green", "fill-opacity": 0.5}
}]
}
}
Filter to specific country (e.g., USA): {
"tool": "filter_layer",
"arguments": {
"layer_id": "wdpa",
"filter": ["==", ["get", "ISO3"], "USA"]
}
}
Style by attribute (e.g., IUCN category): {
"tool": "set_layer_paint",
"arguments": {
"layer_id": "wdpa",
"property": "fill-color",
"value": [
"match",
["get", "IUCN_CAT"],
"II", "#2ca02c",
"IV", "#1f77b4",
"V", "#ff7f0e",
"#999999"
]
}
}
Tips for Layer SelectionAlways start with a base layer (OSM, CartoDB, or Esri) Use light base maps (carto-light) when overlaying lots of data Use satellite imagery (esri-satellite) for environmental or geographic context PMTiles sources are efficient for large vector datasets Filter by geography first (ISO3, admin_level) to improve performance Use meaningful colors and opacity for multiple overlapping layers
|
| list_layersA | List all currently active layers in the session. |
| filter_layerA | Apply a MapLibre filter expression to a layer and all its sub-layers.
📚 AVAILABLE DATA LAYERS & USAGE CONTEXTAvailable Data LayersYou have access to map visualization tools that can display geospatial data layers. Note: These layer definitions can be customized by setting the MCP_MAP_SYSTEM_PROMPT environment variable with your own layer information. Base Layers (Raster)OpenStreetMap StandardID: osm Type: Raster URL: https://tile.openstreetmap.org/{z}/{x}/{y}.png Attribution: © OpenStreetMap contributors Description: Standard OpenStreetMap tiles with streets, labels, and geographic features
OpenStreetMap HumanitarianID: osm-humanitarian Type: Raster URL: https://tile-{s}.openstreetmap.fr/hot/{z}/{x}/{y}.png Subdomains: a,b,c Attribution: © OpenStreetMap contributors, Tiles courtesy of Humanitarian OpenStreetMap Team Description: High-contrast humanitarian style, good for overlaying data
CartoDB Positron (Light)ID: carto-light Type: Raster URL: https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png Subdomains: a,b,c,d Attribution: © OpenStreetMap contributors © CARTO Description: Light grayscale base map, excellent for data visualization
Esri World ImageryID: esri-satellite Type: Raster URL: https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x} Attribution: Tiles © Esri Description: High-resolution satellite imagery
Vector Data LayersWorld Database on Protected Areas (WDPA)Attributes: IUCN_CAT: IUCN management category (Ia=Strict Nature Reserve, Ib=Wilderness Area, II=National Park, III=Natural Monument, IV=Habitat Management, V=Protected Landscape, VI=Sustainable Use)
OWN_TYPE: Ownership type (State, Private, Community, etc.)
ISO3: ISO 3166-1 alpha-3 country code
STATUS_YR: Year of establishment or designation
NAME: Protected area name
DESIG_ENG: Designation in English (e.g., National Park, Wildlife Sanctuary)
Overture Maps - Administrative BoundariesID: overture-admins Type: Vector URL: pmtiles://https://overturemaps.azureedge.net/release/2024-11-13.0/theme=admins.pmtiles Source Layer: admins Description: Administrative boundary polygons including countries, states/regions, and counties
Attributes: admin_level: Administrative level (2=country, 4=state/region, 6=county)
names: Name information in multiple languages
iso_country_code_alpha_2: ISO country code
iso_sub_country_code: Sub-country codes
Overture Maps - PlacesID: overture-places Type: Vector URL: pmtiles://https://overturemaps.azureedge.net/release/2024-11-13.0/theme=places.pmtiles Source Layer: places Description: Points of interest including businesses, landmarks, and facilities
Attributes: categories: Category classification
names: Place names in multiple languages
confidence: Data confidence score
Natural Earth Countries (50m)Attributes: NAME: Country name
ISO_A2: ISO Alpha-2 country code
POP_EST: Population estimate
GDP_MD: GDP in millions USD
CONTINENT: Continent name
Example Usage PatternsCreate a base map: {
"tool": "add_layer",
"arguments": {
"id": "osm-base",
"type": "raster",
"source": {
"type": "raster",
"tiles": ["https://tile.openstreetmap.org/{z}/{x}/{y}.png"],
"attribution": "© OpenStreetMap contributors"
}
}
}
Add protected areas in a specific country: {
"tool": "add_layer",
"arguments": {
"id": "wdpa",
"type": "vector",
"source": {
"type": "vector",
"url": "pmtiles://https://s3-west.nrp-nautilus.io/public-wdpa/WDPA_Dec2025.pmtiles"
},
"layers": [{
"id": "wdpa-fill",
"type": "fill",
"source": "wdpa",
"source-layer": "wdpa",
"paint": {"fill-color": "green", "fill-opacity": 0.5}
}]
}
}
Filter to specific country (e.g., USA): {
"tool": "filter_layer",
"arguments": {
"layer_id": "wdpa",
"filter": ["==", ["get", "ISO3"], "USA"]
}
}
Style by attribute (e.g., IUCN category): {
"tool": "set_layer_paint",
"arguments": {
"layer_id": "wdpa",
"property": "fill-color",
"value": [
"match",
["get", "IUCN_CAT"],
"II", "#2ca02c",
"IV", "#1f77b4",
"V", "#ff7f0e",
"#999999"
]
}
}
Tips for Layer SelectionAlways start with a base layer (OSM, CartoDB, or Esri) Use light base maps (carto-light) when overlaying lots of data Use satellite imagery (esri-satellite) for environmental or geographic context PMTiles sources are efficient for large vector datasets Filter by geography first (ISO3, admin_level) to improve performance Use meaningful colors and opacity for multiple overlapping layers
|
| set_layer_paintB | Set MapLibre paint properties (e.g. colors, opacity) for a layer and all its sub-layers.
📚 AVAILABLE DATA LAYERS & USAGE CONTEXTAvailable Data LayersYou have access to map visualization tools that can display geospatial data layers. Note: These layer definitions can be customized by setting the MCP_MAP_SYSTEM_PROMPT environment variable with your own layer information. Base Layers (Raster)OpenStreetMap StandardID: osm Type: Raster URL: https://tile.openstreetmap.org/{z}/{x}/{y}.png Attribution: © OpenStreetMap contributors Description: Standard OpenStreetMap tiles with streets, labels, and geographic features
OpenStreetMap HumanitarianID: osm-humanitarian Type: Raster URL: https://tile-{s}.openstreetmap.fr/hot/{z}/{x}/{y}.png Subdomains: a,b,c Attribution: © OpenStreetMap contributors, Tiles courtesy of Humanitarian OpenStreetMap Team Description: High-contrast humanitarian style, good for overlaying data
CartoDB Positron (Light)ID: carto-light Type: Raster URL: https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png Subdomains: a,b,c,d Attribution: © OpenStreetMap contributors © CARTO Description: Light grayscale base map, excellent for data visualization
Esri World ImageryID: esri-satellite Type: Raster URL: https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x} Attribution: Tiles © Esri Description: High-resolution satellite imagery
Vector Data LayersWorld Database on Protected Areas (WDPA)Attributes: IUCN_CAT: IUCN management category (Ia=Strict Nature Reserve, Ib=Wilderness Area, II=National Park, III=Natural Monument, IV=Habitat Management, V=Protected Landscape, VI=Sustainable Use)
OWN_TYPE: Ownership type (State, Private, Community, etc.)
ISO3: ISO 3166-1 alpha-3 country code
STATUS_YR: Year of establishment or designation
NAME: Protected area name
DESIG_ENG: Designation in English (e.g., National Park, Wildlife Sanctuary)
Overture Maps - Administrative BoundariesID: overture-admins Type: Vector URL: pmtiles://https://overturemaps.azureedge.net/release/2024-11-13.0/theme=admins.pmtiles Source Layer: admins Description: Administrative boundary polygons including countries, states/regions, and counties
Attributes: admin_level: Administrative level (2=country, 4=state/region, 6=county)
names: Name information in multiple languages
iso_country_code_alpha_2: ISO country code
iso_sub_country_code: Sub-country codes
Overture Maps - PlacesID: overture-places Type: Vector URL: pmtiles://https://overturemaps.azureedge.net/release/2024-11-13.0/theme=places.pmtiles Source Layer: places Description: Points of interest including businesses, landmarks, and facilities
Attributes: categories: Category classification
names: Place names in multiple languages
confidence: Data confidence score
Natural Earth Countries (50m)Attributes: NAME: Country name
ISO_A2: ISO Alpha-2 country code
POP_EST: Population estimate
GDP_MD: GDP in millions USD
CONTINENT: Continent name
Example Usage PatternsCreate a base map: {
"tool": "add_layer",
"arguments": {
"id": "osm-base",
"type": "raster",
"source": {
"type": "raster",
"tiles": ["https://tile.openstreetmap.org/{z}/{x}/{y}.png"],
"attribution": "© OpenStreetMap contributors"
}
}
}
Add protected areas in a specific country: {
"tool": "add_layer",
"arguments": {
"id": "wdpa",
"type": "vector",
"source": {
"type": "vector",
"url": "pmtiles://https://s3-west.nrp-nautilus.io/public-wdpa/WDPA_Dec2025.pmtiles"
},
"layers": [{
"id": "wdpa-fill",
"type": "fill",
"source": "wdpa",
"source-layer": "wdpa",
"paint": {"fill-color": "green", "fill-opacity": 0.5}
}]
}
}
Filter to specific country (e.g., USA): {
"tool": "filter_layer",
"arguments": {
"layer_id": "wdpa",
"filter": ["==", ["get", "ISO3"], "USA"]
}
}
Style by attribute (e.g., IUCN category): {
"tool": "set_layer_paint",
"arguments": {
"layer_id": "wdpa",
"property": "fill-color",
"value": [
"match",
["get", "IUCN_CAT"],
"II", "#2ca02c",
"IV", "#1f77b4",
"V", "#ff7f0e",
"#999999"
]
}
}
Tips for Layer SelectionAlways start with a base layer (OSM, CartoDB, or Esri) Use light base maps (carto-light) when overlaying lots of data Use satellite imagery (esri-satellite) for environmental or geographic context PMTiles sources are efficient for large vector datasets Filter by geography first (ISO3, admin_level) to improve performance Use meaningful colors and opacity for multiple overlapping layers
|
| get_map_configA | Return the current map configuration as a JSON string for inspection or as 'state' for other tools. |