geolens-mcp
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GEOLENS_TOKEN | No | JWT bearer token, used only when GEOLENS_API_KEY is unset | |
| GEOLENS_API_KEY | No | API key sent as X-Api-Key; omit for public-only access | |
| GEOLENS_INSTANCE | No | Base URL of your GeoLens instance, e.g. https://geolens.example.com (/api is appended automatically) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_datasetsA | Search the GeoLens catalog for datasets by free text. Matches title, description, and keywords (semantic ranking is used
automatically when the instance has it enabled). Returns a GeoJSON
FeatureCollection where each feature is a dataset record; use the feature
Search does not make a detail request per result. When the catalog summary
has no health/check/refresh value, Args: query: Search text. limit: Max results (1-200, default 10). offset: Result offset for paging. |
| get_dataset_schemaA | Get a dataset's schema and source trust metadata. Returns columns (name/type/role), geometry type, CRS/SRID, feature count,
spatial extent, and the safe Args: dataset_id: Dataset id (e.g. from search_datasets). |
| get_featuresA | Get GeoJSON features for a dataset (bounded). Returns an OGC-API FeatureCollection. Raster datasets have no features and
will error. Results are capped by Args: dataset_id: Dataset id. limit: Max features (1-200, default 10). offset: Feature offset for paging. bbox: Optional bounding box filter "minx,miny,maxx,maxy" (WGS84). |
| list_mapsA | List saved maps (read-only metadata: id, name, visibility, layer count). Args: search: Optional text filter on map name/description. limit: Max results (1-200, default 50). offset: Result offset for paging. |
| get_mapA | Get one saved map's full metadata, including its layers, view state, basemap, and terrain configuration. Args: map_id: Map id (e.g. from list_maps). |
| queryA | Run one read-only SQL SELECT against accessible datasets. Executes through the server's hardened SQL sandbox: a single SELECT over
Requires credentials with AI-chat permission — anonymous configurations
cannot use this tool. Workflow: Args:
sql: A single SELECT statement over |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool has a clear, distinct target: dataset discovery, schema/trust metadata, feature retrieval, SQL querying, and map metadata. There is potential overlap between get_features and query for reading data, but the descriptions frame them as different access modes (GeoJSON features vs. read-only SQL) so an agent can choose intentionally.
Most tools follow a consistent verb_noun pattern (search_datasets, get_features, get_dataset_schema, list_maps, get_map). The bare `query` tool is the only deviation, but it is a recognizable verb and does not clash with the others.
Six tools is well-scoped for a geospatial catalog and map metadata server: three for dataset introspection/access, two for saved maps, and one for SQL. Each tool fills a distinct role without redundancy or sprawl.
The read-only dataset workflow is well covered: discover, inspect schema, fetch features, or run SQL. Minor gaps exist, such as no explicit list-all-datasets or per-feature lookup endpoint, but agents can work around them with search and query.