Skip to main content
Glama

dem_estimate_size

Estimate DEM download size for a bounding box before fetching, including dimensions and pixel count, to plan elevation data requests.

Instructions

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

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

Input Schema

NameRequiredDescriptionDefault
bboxYes
sourceNocop30
output_modeNojson
resolution_mNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses that the tool only estimates size before fetching and lists the returned metrics, but it does not state whether it contacts the DEM source, requires authentication, has rate limits, or has any side effects.

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 compact and front-loaded with the purpose, followed by structured Args and Returns sections. Every sentence supplies relevant information without filler.

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 4-parameter tool with no annotations and no output schema, the description covers the purpose, argument meanings, and high-level return values. However, it omits defaults, valid source choices, and behavioral details such as whether the source is accessed or what the return format contains.

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 usefully explains bbox order and CRS, resolution None behavior, and output_mode options, but "source: DEM source" adds little meaning and neither valid source values nor defaults are mentioned.

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 states a specific verb and resource: estimate download size for a DEM area. The phrase "before fetching" distinguishes it from the fetching siblings, though it does not explicitly name dem_fetch.

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?

The description gives clear usage context by saying to use this before fetching, which implies a pre-download size check. It does not provide explicit when-not guidance or name alternative tools, but the intended phase of use is clear.

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