Skip to main content
Glama

dem_fetch_points

Fetches elevation values for multiple geographic coordinates in one request, with selectable DEM sources and interpolation methods for terrain sampling.

Instructions

Get elevations at multiple geographic points in a single request.

Args: points: Nested array of [lon, lat] numeric pairs, e.g. [[9.19, 45.62], [9.28, 45.63], [9.30, 45.61]] source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) interpolation: Sampling method (nearest, bilinear, cubic) output_mode: "json" or "text"

Returns: Elevation for each point with range statistics

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": {
      "points": "<points>"
    },
    "name": "dem_fetch_points"
  }
}

Input Schema

NameRequiredDescriptionDefault
pointsYes
sourceNocop30
output_modeNojson
interpolationNobilinear

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

A3.6/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 shape ('Elevation for each point with range statistics') and enumerates the valid source and interpolation values, which is genuinely useful. However, it says nothing about batch size limits, behavior for points outside coverage, error handling, or performance/rate characteristics for a bulk request.

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 description is front-loaded with the purpose, then cleanly organized into Args and Returns blocks with one line per parameter. The example coordinate array earns its place, and there is no filler; only the missing defaults keep it from being optimal.

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?

With no output schema, the Returns section correctly summarizes the response, and all four parameters receive some explanation. For a batch geospatial lookup the remaining gaps — maximum point count, out-of-coverage behavior, and the points type mismatch with the schema — are meaningful but not disqualifying.

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 must compensate, and it largely does: it specifies the points format with a concrete example and lists the accepted values for source (cop30, cop90, srtm, aster, 3dep, fabdem) and interpolation (nearest, bilinear, cubic), plus output_mode's two modes. It does not state defaults or limits on array length, and notably conflicts with the schema, which types points items as strings rather than numeric pairs.

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 opens with a specific verb and resource: 'Get elevations at multiple geographic points in a single request.' The emphasis on 'multiple ... in a single request' implicitly separates it from the singular sibling dem_fetch_point, though it never names that sibling or any other alternative.

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?

Usage is only implied: the phrase 'multiple geographic points in a single request' suggests this is the batch variant, but there is no explicit statement of when to prefer it over dem_fetch_point or dem_fetch, and no exclusions or prerequisites (e.g. coverage checks) are given.

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