Skip to main content
Glama
Open Topo Data Elevation DEM MCP

Open Topo Data Elevation DEM MCP

Generate elevation profile transect between two points

get_elevation_profile
Read-onlyIdempotent

Samples evenly spaced elevation points along a straight line between two coordinates in one API call, returning distance, total ascent, total descent, and average grade for route profiles.

Instructions

Sample evenly spaced points along a straight line between two coordinates in a single API call, returning distance, total ascent, total descent, and average grade.

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": {
      "start_lat": "<start_lat>",
      "start_lng": "<start_lng>",
      "end_lat": "<end_lat>",
      "end_lng": "<end_lng>"
    },
    "name": "get_elevation_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
datasetNoDEM dataset (default "aster30m").
end_latYesEnd latitude in decimal degrees.
end_lngYesEnd longitude in decimal degrees.
samplesNoNumber of profile sample points (default 10, max 50).
start_latYesStart latitude in decimal degrees.
start_lngYesStart longitude in decimal degrees.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish that this is a read-only, idempotent, non-destructive, open-world operation. The description adds useful behavioral context beyond that: it explains even spacing, straight-line sampling, and the specific aggregate values returned. It does not cover units or response structure, which keeps it from a 5.

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 definition is a single, well-structured sentence with the core operation and returned metrics front-loaded. There is no redundant or filler wording.

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 description usefully names the returned metrics, and the input schema fully covers the parameters. It could be more complete by specifying units for distance, ascent, descent, and grade, but it gives enough for correct invocation.

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 100%, so all six parameters are already documented with types, ranges, defaults, and enum options. The description adds only high-level context about two coordinates and evenly spaced points, which is consistent with the schema but not meaningfully beyond it.

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 operation: sampling evenly spaced points along a straight line between two coordinates and returning aggregate elevation metrics. This clearly distinguishes a transect profile from point or batch elevation tools, though it does not explicitly name a sibling 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?

The phrase 'in a single API call' implies efficiency over repeated point queries, but there is no explicit guidance on when to use this tool versus get_point_elevation or get_batch_elevations. Usage is inferable from the transect operation, but alternatives and exclusions are not spelled out.

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