Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BUCKET_NAMENoS3 bucket name to use for artifact storage when CHUK_ARTIFACTS_PROVIDER=s3.
AWS_ACCESS_KEY_IDNoAWS access key ID for S3 storage.
CHUK_ARTIFACTS_PATHNoFilesystem path to use for artifact storage when CHUK_ARTIFACTS_PROVIDER=filesystem.
AWS_SECRET_ACCESS_KEYNoAWS secret access key for S3 storage.
CHUK_ARTIFACTS_PROVIDERNoStorage backend (optional, defaults to memory). Supported values: memory, filesystem, s3.memory

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

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "subscribe": true,
  "listChanged": true
}
extensions
{
  "io.modelcontextprotocol/ui": {
    "mimeTypes": [
      "text/html;profile=mcp-app"
    ]
  }
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
dem_list_sourcesA

List all available DEM data sources with resolution, coverage, and vertical datum.

Use this to discover which elevation datasets are available before fetching data.

Args: output_mode: "json" for structured data, "text" for human-readable summary

Returns: List of available DEM sources with metadata

dem_describe_sourceA

Get detailed metadata for a specific DEM source including resolution, coverage bounds, vertical datum, accuracy, and LLM usage guidance.

Args: source: DEM source ID (cop30, cop90, srtm, aster, 3dep, fabdem) output_mode: "json" for structured data, "text" for human-readable summary

Returns: Detailed source metadata including LLM guidance

dem_statusB

Get server status including version, available sources, and storage configuration.

Args: output_mode: "json" for structured data, "text" for human-readable summary

Returns: Server status information

dem_capabilitiesB

Get full server capabilities including sources, terrain derivatives, analysis tools, and output formats.

Args: output_mode: "json" for structured data, "text" for human-readable summary

Returns: Complete server capabilities

dem_fetchB

Download elevation data for a bounding box. Returns a GeoTIFF artifact with auto-generated hillshade PNG preview.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) resolution_m: Target resolution in metres (None = native) output_crs: Output CRS (None = native EPSG:4326) fill_voids: Interpolate nodata pixels (default True) output_mode: "json" or "text"

Returns: Artifact reference with elevation range and preview

dem_fetch_pointB

Get elevation at a single geographic point.

Args: lon: Longitude (-180 to 180) lat: Latitude (-90 to 90) source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) interpolation: Sampling method (nearest, bilinear, cubic) output_mode: "json" or "text"

Returns: Elevation in metres with uncertainty estimate

dem_fetch_pointsA

Get elevations at multiple geographic points in a single request.

Args: points: Nested array of [lon, lat] numeric pairs, e.g. [[9.19, 45.62], [9.28, 45.63], [9.30, 45.61]] source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) interpolation: Sampling method (nearest, bilinear, cubic) output_mode: "json" or "text"

Returns: Elevation for each point with range statistics

dem_check_coverageB

Check if a DEM source fully covers a bounding box before downloading.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source to check output_mode: "json" or "text"

Returns: Coverage percentage, tile count, and estimated download size

dem_estimate_sizeA

Estimate download size for a DEM area before fetching.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source resolution_m: Target resolution (None = native) output_mode: "json" or "text"

Returns: Estimated dimensions, pixel count, and download size

dem_hillshadeB

Compute hillshade (shaded relief) for a bounding box using Horn's method.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) azimuth: Sun azimuth in degrees from north (default 315) altitude: Sun altitude in degrees above horizon (default 45) z_factor: Vertical exaggeration factor (default 1.0) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Hillshade raster artifact with value range 0-255

dem_slopeB

Compute slope steepness for a bounding box.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) units: Slope units (degrees or percent) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Slope raster artifact with value range

dem_aspectB

Compute aspect (slope direction) for a bounding box.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) flat_value: Value for flat areas (default -1) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Aspect raster artifact with values in degrees (0-360)

dem_curvatureB

Compute surface curvature (profile curvature) for a bounding box.

Curvature measures the rate of change of slope. Positive values indicate convex surfaces (ridges), negative values indicate concave surfaces (valleys), and near-zero values indicate planar surfaces.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Curvature raster artifact with value range in 1/m

dem_terrain_ruggednessA

Compute Terrain Ruggedness Index (TRI) for a bounding box.

TRI measures the mean absolute elevation difference between a cell and its 8 neighbours (Riley et al. 1999). Values are in metres.

Classification: 0-80m level, 81-116m nearly level, 117-161m slightly rugged, 162-239m intermediately rugged, 240-497m moderately rugged, 498-958m highly rugged, 959+m extremely rugged.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: TRI raster artifact with values in metres

dem_contourA

Generate contour lines at specified elevation intervals for a bounding box.

Contour lines are rasterised: contour pixels contain their elevation level value, non-contour pixels are NaN. PNG output shows contours overlaid on a terrain-coloured background.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) interval_m: Elevation interval between contour lines in metres (default 100) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Contour raster artifact with contour count and elevation range

dem_watershedA

Compute watershed flow accumulation for a bounding box.

Uses the D8 algorithm to compute flow direction and accumulation. High accumulation values indicate streams and drainage channels. Useful for hydrological analysis and flood risk assessment.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Flow accumulation raster artifact with value range in cells

dem_profileB

Extract an elevation profile along a line between two points.

Args: start: Start point [lon, lat] end: End point [lon, lat] source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) num_points: Number of sample points (default 100, minimum 2) interpolation: Sampling method (nearest, bilinear, cubic) output_mode: "json" or "text"

Returns: Elevation profile with distance, gain, loss, and per-point data

dem_profile_chartB

Extract an elevation profile between two points and render it as an interactive chart showing distance vs elevation.

dem_mapB

Show a DEM analysis area on an interactive map. Renders the bounding box on a terrain, satellite, osm, or dark basemap.

dem_viewshedB

Compute viewshed (visible area) from an observer point.

Args: observer: Observer location [lon, lat] radius_m: Analysis radius in metres (max 50000) source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) observer_height_m: Observer height above ground in metres (default 1.8) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Viewshed raster artifact with visible percentage

dem_compare_temporalA

Compare elevation between two DEM sources/epochs to detect change.

Computes the difference (after - before) and identifies significant change regions. Useful for detecting erosion, deposition, construction, or mining activity.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 before_source: DEM source for earlier epoch (default: srtm, year 2000) after_source: DEM source for later epoch (default: cop30, year 2021) significance_threshold_m: Minimum change to flag (default 1.0m) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Change map with volume statistics and significant regions

dem_classify_landformsA

Classify terrain into landform types (ridge, valley, plateau, etc.).

Rule-based classification using slope, curvature, and terrain ruggedness. Landform classes: plain, ridge, valley, plateau, escarpment, depression, saddle, terrace, alluvial_fan.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) method: Classification method (currently "rule_based" only) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Landform classification map with class distribution

dem_detect_anomaliesA

Detect terrain anomalies that don't fit the natural landscape.

Uses Isolation Forest on slope/curvature/TRI feature vectors to find outlier terrain. Catches anthropogenic features, data artefacts, or unusual geological features.

Requires scikit-learn: pip install chuk-mcp-dem[ml]

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) sensitivity: Detection sensitivity 0-1 (lower = fewer, default 0.1) output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Anomaly score map with detected anomaly regions

dem_detect_featuresB

Detect discrete terrain features using CNN-inspired multi-angle hillshade.

Generates 8 hillshades at different sun angles, applies Sobel edge filters to each (mimicking CNN convolutional layers), then classifies pixels into feature types based on edge consensus, slope, and curvature.

Feature types: peak, ridge, valley, cliff, saddle, channel.

Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) method: Detection method (currently "cnn_hillshade") output_format: Output format (geotiff or png) output_mode: "json" or "text"

Returns: Feature map artifact with detected feature list and summary

dem_interpretA

Interpret a terrain artifact using the calling LLM via MCP sampling.

Sends a rendered PNG of any terrain artifact to the client LLM for natural language interpretation. The LLM receives the image and a context-specific prompt, then returns its analysis.

Requires an MCP client that supports the sampling/createMessage capability (e.g., Claude Desktop).

Available contexts: general, archaeological_survey, flood_risk, geological, military_history, urban_planning.

Args: artifact_ref: Reference to any stored terrain artifact context: Interpretation context (default "general") question: Optional specific question about the terrain output_mode: "json" or "text"

Returns: LLM interpretation with identified features

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
profileProfile view HTML
mapMap view HTML

TDQS

A3.5/5.0

Scored across 25 tools

Disambiguation4/5

Most tools are cleanly separable by resource and action: fetch vs point sampling, coverage vs size estimation, and individual terrain derivatives are distinct. Some ambiguity remains among metadata/status tools (list_sources, describe_source, capabilities, status) and between profile vs profile_chart or classify_landforms vs detect_features, but descriptions generally clarify.

Naming Consistency4/5

All tools use snake_case with a consistent dem_ prefix, making names predictable. There is minor variation between verb-led names (dem_fetch, dem_classify_landforms) and noun-led derivative names (dem_slope, dem_aspect), but no mixed casing or chaotic convention.

Tool Count3/5

With 25 tools, the server is heavy for an MCP surface even though many tools are genuinely useful for DEM analysis. The breadth is justified by the domain, but the count is high enough that grouping or consolidation would improve usability.

Completeness5/5

The tool set covers the full DEM workflow: source discovery, coverage and size checks, raster and point fetching, terrain derivatives, advanced analyses, temporal comparison, visualization, and LLM interpretation. No major domain gap is apparent.

Maintenance

ActivityInactive
ResponsivenessLimited data