Skip to main content
Glama

Open Topo Data Elevation DEM MCP

Estimate local terrain slope and aspect around a point

estimate_terrain_slope
Read-onlyIdempotent

Sample a 5-point cross stencil (center, N, S, E, W) in one batched call to compute local terrain slope in degrees and percent grade, downhill aspect, and relief.

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": {
      "lat": "<lat>",
      "lng": "<lng>"
    },
    "name": "estimate_terrain_slope"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesCenter site latitude in decimal degrees.
lngYesCenter site longitude in decimal degrees.
datasetNoDEM dataset (default "aster30m").
offset_metersNoStencil half-spacing in meters (default 100).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds real behavioral context beyond them: the exact sampling geometry (center, N, S, E, W), that it is a single batched call rather than five separate requests, and the precise quantities returned. It stops short of noting limitations such as edge cases, dataset resolution effects, or how the stencil interacts with offset_meters.

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?

A single dense sentence that front-loads the method and then lists outputs, with no filler or redundancy. Every clause carries information an agent needs.

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 correctly enumerates the returned metrics (slope degrees, percent grade, aspect, relief), which is the key missing piece. It is nearly complete for a 4-parameter read tool, though it omits caveats about dataset-dependent accuracy and what happens at dataset boundaries.

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 lat, lng, dataset, and offset_meters are already fully documented with ranges and defaults. The description hints at offset_meters through 'stencil half-spacing' geometry but adds no format, default, or constraint detail beyond the schema. Baseline 3 applies.

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?

States a specific verb ('Sample a 5-point cross stencil... to compute') and specific outputs: slope in degrees and percent grade, downhill aspect, and relief. This clearly distinguishes it from a plain elevation lookup, but it never names or contrasts the sibling tools (get_point_elevation, get_elevation_profile) that an agent might confuse it with.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no prerequisites, and no mention of alternatives such as get_point_elevation for a single elevation value or get_elevation_profile for a transect. The only hint is the phrase 'in one batched call', which implies efficiency but not a selection criterion.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.