Skip to main content
Glama

USGS Elevation and National Map MCP

Check terrain elevation differential

check_terrain_elevation_diff
Read-onlyIdempotent

Compare USGS 3DEP elevations between two coordinates and compute elevation gain/loss, distance in km, and average grade percent.

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": {
      "point_a_lat": "<point_a_lat>",
      "point_a_lon": "<point_a_lon>",
      "point_b_lat": "<point_b_lat>",
      "point_b_lon": "<point_b_lon>"
    },
    "name": "check_terrain_elevation_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitsNoElevation units: Meters (default) or Feet.
point_a_latYesStarting point WGS84 latitude.
point_a_lonYesStarting point WGS84 longitude.
point_b_latYesEnding point WGS84 latitude.
point_b_lonYesEnding point WGS84 longitude.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely new context beyond that: the upstream data source (USGS 3DEP) and the derived metrics returned (gain/loss, km distance, average grade), which matters since there is no output schema. It stops short of disclosing data resolution/accuracy caveats or whether distance is straight-line versus routed.

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 front-loaded sentence with the action, the data source, and the computed outputs in that order. No filler, no restatement of the title.

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 enumerates the return metrics and names the data source, and all five parameters are fully specified in the schema. The one gap is that 'distance in km' leaves ambiguous whether it is great-circle or along-terrain distance, which affects interpretation of grade percent.

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%, with every parameter documented including WGS84 bounds and the units enum default, so the schema carries the load. The description adds no parameter-level meaning beyond what the schema already states, making the baseline 3 appropriate.

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 names a specific verb pair (compare/compute) and resource (USGS 3DEP elevations between two coordinates), and enumerates the derived outputs. The 'between two coordinates' framing implicitly separates it from get_point_elevation, though no sibling is named explicitly.

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: an agent can infer this is the two-point differential tool versus the single-point get_point_elevation, but the description never states when to choose it over batch_point_elevations or what preconditions apply. No exclusions or alternatives are given.

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.