Skip to main content
Glama

dem_slope

Compute slope steepness for a bounding box using a selected DEM source, returning a degrees or percent slope raster for terrain analysis.

Instructions

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

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_slope"
  }
}

Input Schema

NameRequiredDescriptionDefault
bboxYes
unitsNodegrees
sourceNocop30
output_modeNojson
output_formatNogeotiff

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden. It does disclose the return shape ("slope raster artifact with value range") and the json/text mode distinction, but says nothing about cost, latency, raster size limits, or how source resolution (cop30 vs cop90 vs srtm) affects accuracy and payload size — all material for a raster-generation call.

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?

The purpose sentence is front-loaded and the Args list is compact and scannable, with one line per parameter. The structure is slightly mechanical but every line conveys parameter information not available elsewhere.

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 five-parameter raster-generation tool with no annotations and no output schema, the definition covers the parameter space and the return artifact but omits source-selection tradeoffs, bbox size constraints, and any pointer to coverage or size-estimation siblings. It is adequate to make the call, but not sufficient to make it well.

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 Args block is doing essential work: it defines bbox ordering and CRS (EPSG:4326), enumerates the six valid source values, and lists the allowed units, formats, and modes — none of which appear as enums in the schema. It falls short of stating defaults or giving guidance on choosing a source, but it substantially compensates for the empty schema.

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?

"Compute slope steepness for a bounding box" gives a specific verb (compute), a specific derived product (slope steepness), and the spatial scope (bounding box), which is enough to separate it from siblings like dem_aspect, dem_curvature, or dem_hillshade. It stops short of explicitly naming a contrasting sibling, so it is clear but not maximally differentiated.

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 statement of when to use this tool versus dem_aspect, dem_hillshade, or dem_terrain_ruggedness, and no prerequisites such as checking source coverage (dem_check_coverage) or estimating output size before requesting a raster. The agent must infer usage entirely from the name and description.

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