Skip to main content
Glama

dem_hillshade

Compute hillshade shaded relief for a bounding box using Horn's method and DEM sources, with adjustable sun azimuth, altitude, and vertical exaggeration.

Instructions

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

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "bbox": "<bbox>"
    },
    "name": "dem_hillshade"
  }
}

Input Schema

NameRequiredDescriptionDefault
bboxYes
sourceNocop30
azimuthNo
altitudeNo
z_factorNo
output_modeNojson
output_formatNogeotiff

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden; it does disclose the algorithm and the output value range 0-255, which is genuinely useful. It omits operational behavior: whether the computation is expensive, any bbox size or resolution limits, whether source data is auto-downloaded, and what 'text' output_mode actually returns.

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?

Front-loaded one-line summary followed by compact Args/Returns blocks; every line carries information and nothing is padded. The docstring-style formatting is appropriate and scannable.

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?

For a 7-parameter compute tool with no annotations and no output schema, the definition covers inputs and return range adequately but leaves gaps: sibling differentiation, cost/limits, and the semantics of output_mode. It is workable but not complete enough to call without trial.

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

Parameters4/5

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

Schema description coverage is 0%, so the description is the only source of parameter meaning, and it delivers: bbox format and CRS (EPSG:4326), the enumerated source options (cop30, cop90, srtm, aster, 3dep, fabdem), and units/defaults for azimuth, altitude and z_factor. It falls short only in not explaining the practical difference between output_mode json and text or any constraints on bbox extent.

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?

States a specific verb and resource ('Compute hillshade (shaded relief) for a bounding box') plus the algorithm used (Horn's method), which is more than a restatement of the name. It does not, however, distinguish itself from closely related siblings such as dem_slope or dem_aspect, leaving the agent to infer the difference.

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?

There is no explicit guidance on when to choose hillshade over slope, aspect, or terrain ruggedness, and no stated prerequisites (e.g., whether the source DEM is fetched automatically or a prior dem_fetch is needed). Usage is only implied by the required bbox parameter.

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