Skip to main content
Glama

dem_check_coverage

Check whether a DEM source fully covers a bounding box before downloading and get coverage percentage, tile count, and estimated download size.

Instructions

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

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

Input Schema

NameRequiredDescriptionDefault
bboxYes
sourceNocop30
output_modeNojson

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the return payload (coverage percentage, tile count, estimated download size) — meaningful since there is no output schema — but says nothing about what happens with unsupported sources, partial coverage, error behavior, or whether the call is purely read-only.

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 Args/Returns structure is front-loaded and easy to scan, with no filler. The purpose sentence plus the structured argument list is efficiently sized for a three-parameter tool.

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?

Given no annotations and no output schema, the description covers the essentials (what it checks, argument formats, return shape). It still leaves gaps an agent would want: which source identifiers are valid, what the default source means, and how partial or zero coverage is reported.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must compensate. It does this well for bbox by specifying ordering and CRS ([west, south, east, north] in EPSG:4326) and enumerates output_mode values, but 'source: DEM source to check' is vague — no valid values are listed and the cop30 default is never explained.

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?

The description gives a specific verb and resource — 'Check if a DEM source fully covers a bounding box' — plus a clear intent ('before downloading'). It does not name a sibling such as dem_estimate_size or dem_fetch to contrast with, so it lands at 4 rather than 5.

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

Usage Guidelines3/5

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

The phrase 'before downloading' implies a pre-flight validation role, which is useful usage context, but there are no explicit when-not conditions and no named alternatives for agents deciding between coverage checking, size estimation, or fetching.

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