Skip to main content
Glama

dem_compare_temporal

Compare elevation between two DEM sources or epochs to detect terrain change and flag significant regions for erosion, deposition, construction, or mining analysis.

Instructions

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

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

Input Schema

NameRequiredDescriptionDefault
bboxYes
output_modeNojson
after_sourceNocop30
before_sourceNosrtm
output_formatNogeotiff
significance_threshold_mNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden and usefully discloses the computation direction, default epoch sources, and returned change map with volume statistics. However, it omits operational details such as data-source availability, error behavior, and what the output_mode or output_format choices actually change.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with purpose, then structured cleanly into Args and Returns sections. Every sentence adds useful information, and the use-case sentence supports tool selection without unnecessary repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter comparison tool with no annotations and no output schema, the description is fairly complete: it covers all arguments and summarizes the return value. Remaining gaps are the semantics of output_mode/output_format and any constraints on valid DEM sources or failure modes.

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%, but the description compensates well by documenting all six parameters in Args, including bbox order/CRS, default source epochs, threshold units, and accepted output forms. It still does not list valid source identifiers beyond defaults or fully explain output_mode semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Compare') and resource ('elevation between two DEM sources/epochs'), and explains the computed result as the difference '(after - before)' with significant change regions. This clearly distinguishes it from sibling DEM tools like slope, aspect, or fetch, even without naming alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear usage context by naming detection of erosion, deposition, construction, and mining activity as appropriate cases. It does not explicitly state when not to use it or name alternative sibling tools, so it stops short of the top score.

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