Skip to main content
Glama

elevation-mcp-server

Server Details

Look up elevation worldwide, profile route ascent/descent, grid areas, check terrain line of sight.

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
cyanheads/elevation-mcp-server
GitHub Stars
0
Server Listing
@cyanheads/elevation-mcp-server

TDQS

A4.4/5.0

Scored across 4 tools

Disambiguation5/5

Each tool targets a clearly distinct elevation operation: point lookup, grid sampling, route profiling, and line-of-sight analysis. Overlaps are minor (e.g., profile and line-of-sight both sample along lines) but descriptions make boundaries explicit and guide correct selection.

Naming Consistency5/5

All tool names use a consistent snake_case pattern with the same server prefix followed by a verb and object: elevation_check_line_of_sight, elevation_get_grid, elevation_get_points, elevation_get_profile. The single 'check' deviation is semantically appropriate and does not harm predictability.

Tool Count5/5

Four tools is well-scoped for an elevation data and terrain analysis server. Each tool covers a distinct, useful operation without redundancy or bloat.

Completeness4/5

The surface covers core elevation sampling and analysis needs: point lookup, grid summaries, route profiles, and line-of-sight checks. Some terrain-analysis operations such as slope/aspect rasters or viewshed generation are absent, but the existing tools support many workflows and gaps are workable.

Available Tools

4 tools
elevation_check_line_of_sightCheck Terrain Line of SightA
Read-onlyIdempotent
Inspect

Check whether terrain blocks the straight sightline between an observer and a target, each at a height above the ground, accounting for earth curvature and atmospheric refraction. Returns a verdict of clear, blocked, or indeterminate (when samples along the line have no data), the minimum clearance and the terrain point that limits it, and the first obstruction from the observer when blocked. With frequency_mhz, it also reports first Fresnel zone clearance against the 60% free-space bar. Where Mapzen reports sea-floor depth over open water, clearance is measured to the sea surface; USGS 3DEP values below 0 m (bay floor in some bays, or dry land) count as received unless water_surface_m sets a water level. Models terrain only: buildings and vegetation are not modeled beyond what the elevation source itself captures, and a ridge narrower than the reported sample spacing can be missed. To see the terrain between the points, call elevation_get_profile on the same two points.

ParametersJSON Schema
NameRequiredDescriptionDefault
sourceNoElevation source: auto (default) uses USGS 3DEP where it has data and Open Topo Data (SRTM, with Mapzen terrain tiles where SRTM has no data) for the rest; usgs_3dep uses 3DEP only; opentopodata uses Open Topo Data only. Case is ignored and spaces or hyphens read as underscores, so USGS-3DEP and open topo data are accepted; 3dep, usgs, and epqs are also aliases for usgs_3dep.auto
targetYesTarget location as {lat, lon} in decimal degrees (WGS84).
samplesNoEvenly spaced terrain samples along the line, endpoints included (3–250, default 100). Spacing is reported; a ridge narrower than it can be missed.
observerYesObserver location as {lat, lon} in decimal degrees (WGS84).
earth_modelNoEarth model: flat ignores curvature; geometric applies curvature without refraction; optical applies standard visible-light refraction (coefficient 0.13, default); radio applies the standard 4/3-earth radio refraction (coefficient 0.25).optical
frequency_mhzNoRadio frequency in MHz (30–300,000; 5800 for 5.8 GHz). When set, the result adds first Fresnel zone clearance against the 60% free-space bar; pair it with earth_model radio.
target_height_mNoTarget height above ground, meters (default 0, the ground itself). Set it for a tower, building top, or second antenna.
water_surface_mNoWater level in meters (-500 to 9,000). When set, each sample's surface, endpoints included, is the higher of its elevation and this level, replacing the default that lifts only Mapzen sea-floor values to 0 m. Set it where the line crosses water: 0 where USGS 3DEP reports a bay floor, or a lake or tide level.
observer_height_mNoObserver eye or antenna height above ground, meters (default 1.7, standing eye height).

Output Schema

ParametersJSON Schema
NameRequiredDescription
errorNoPresent when the call failed. Absent on success.
noticeNoGuidance on unconfirmed sightlines, thin clearance margins, a clear line short of 60% first Fresnel zone clearance, lines crossing the USGS 3DEP coverage edge, samples over open water or below water_surface_m, and USGS 3DEP values below 0 m.
targetNoThe target's end of the sightline; fields as on observer.
fresnelNoFirst Fresnel zone clearance; present only when frequency_mhz is set. Zone radius = √(λ·d₁·d₂/D) m, with λ = 299.792458 / frequency_mhz, d₁ and d₂ the distances to each end, and D the line length.
samplesNoSamples along the line, endpoints included.
verdictNoblocked when terrain reaches the sightline at any sample; clear when every sample between the endpoints has data and lies below it; indeterminate when samples without data leave the line unconfirmed.
observerNoThe observer's end of the sightline, in decimal degrees and meters. Ground elevation is as the dataset reports it; surface is the higher of the ground and water_surface_m when set, otherwise the ground, or 0 where a Mapzen value below 0 marks open water; sightline = surface + height. resolution_m is absent for mapzen.
distance_mNoGreat-circle distance from observer to target, meters.
attributionNoSources to credit for the returned values, one line per dataset that answered.
earth_modelNoThe earth model applied.
source_modeNoThe source the call used (auto unless the caller chose one).
datasets_usedNoNumber of values each dataset answered.
limiting_pointNoThe sample between the endpoints with the smallest clearance (first on ties); absent when none of them has data. Units, surface, and resolution_m as on observer, with terrain in place of its ground; bulge is the rise of the curved surface above the straight observer-target chord (0 for flat); clearance = sightline − (surface + bulge), and 0 or below means blocked.
min_clearance_mNoSmallest clearance over samples between the endpoints, meters (negative means terrain above the sightline). Absent when none of them has data.
missing_samplesNoSamples no queried dataset answered.
min_clearance_ftNoSmallest clearance in international feet. Absent with min_clearance_m.
first_obstructionNoThe obstructing sample nearest the observer; present only when the verdict is blocked. Fields as on limiting_point.
sample_interval_mNoDistance between consecutive samples, meters.
samples_with_dataNoSamples with an elevation, endpoints included.
obstructed_samplesNoSamples between the endpoints with clearance 0 or below.
refraction_coefficientNoRefraction coefficient applied. Absent for the flat model.
effective_earth_radius_mNoEarth radius divided by (1 − refraction coefficient), meters. Absent for the flat model.

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations by disclosing model limitations (buildings and vegetation not modeled, a ridge narrower than the sample spacing can be missed), the three-valued verdict, and the sea-floor/negative-elevation handling rules for Mapzen vs USGS 3DEP. This is exactly the behavioral context an agent needs before trusting the result.

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?

Front-loads what the tool does and what it returns before dropping into edge cases and caveats. The text is dense and lengthy, but nearly every sentence carries distinct operational information; only the return-value recitation is mildly redundant given the output schema exists.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter, nested-object, enums-bearing tool, the description covers sampling caveats, source-specific edge cases, water handling, and the sibling escape hatch. With an output schema present, it does not need to enumerate return fields, and its coverage of gotchas is complete enough to call the tool correctly.

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 coverage is 100%, so the baseline is 3, but the description adds genuine interaction semantics the schema alone does not convey (frequency_mhz should be paired with earth_model radio; water_surface_m replaces the default Mapzen-only lift; the 60% free-space bar). It largely restates rather than extends the earth_model coefficients, keeping it short of a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('check whether terrain blocks the straight sightline between an observer and a target'), including the height/curvature/refraction scope. It explicitly distinguishes itself from the sibling elevation_get_profile and its output vocabulary (clear/blocked/indeterminate) sets it apart from the other elevation tools.

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?

Gives explicit conditional usage for optional parameters ('With frequency_mhz, it also reports... pair it with earth_model radio', 'Set it where the line crosses water') and routes the agent to elevation_get_profile when the terrain between points is wanted. It lacks an explicit when-not-to-use statement, but the alternative is named clearly.

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

elevation_get_gridGet Elevation GridA
Read-onlyIdempotent
Inspect

Sample a regular grid of terrain elevations across a bounding box and report the highest and lowest sampled points, the mean elevation, and the relief, plus the full elevation matrix with each cell's dataset. Values are point samples at grid nodes (box edges included), not cell averages, so a summit between nodes is missed; to refine a candidate high or low point, call again with a smaller box around it. Over open water, Mapzen cells are sea-floor depths. Rows times columns may not exceed 250.

ParametersJSON Schema
NameRequiredDescriptionDefault
colsNoGrid columns, west to east, edges included (2–25, default 10). rows × cols must be at most 250.
eastYesEastern edge longitude, decimal degrees.
rowsNoGrid rows, north to south, edges included (2–25, default 10). rows × cols must be at most 250.
westYesWestern edge longitude, decimal degrees. Must be less than east; a box crossing longitude 180 must be split into two calls.
northYesNorthern edge latitude, decimal degrees. Must be greater than south.
southYesSouthern edge latitude, decimal degrees.
sourceNoElevation source: auto (default) uses USGS 3DEP where it has data and Open Topo Data (SRTM, with Mapzen terrain tiles where SRTM has no data) for the rest; usgs_3dep uses 3DEP only; opentopodata uses Open Topo Data only. Case is ignored and spaces or hyphens read as underscores, so USGS-3DEP and open topo data are accepted; 3dep, usgs, and epqs are also aliases for usgs_3dep.auto

Output Schema

ParametersJSON Schema
NameRequiredDescription
colsNoNode columns applied.
eastNoEastern edge longitude, as requested.
rowsNoNode rows applied.
westNoWestern edge longitude, as requested.
errorNoPresent when the call failed. Absent on success.
northNoNorthern edge latitude, as requested.
southNoSouthern edge latitude, as requested.
noticeNoGuidance on nodes without data, boxes spanning the USGS 3DEP coverage edge, Mapzen sea-floor values, and node spacing against the source resolution.
summaryNoStatistics over the nodes with data.
attributionNoSources to credit for the returned values, one line per dataset that answered.
source_modeNoThe source the call used (auto unless the caller chose one).
elevations_mNoElevation matrix indexed [row][col], rows north to south, columns west to east.
cell_datasetsNoProvenance matrix with the same [row][col] indexing as elevations_m.
col_spacing_mNoEast-west distance between node columns at the box's center latitude, meters.
datasets_usedNoNumber of values each dataset answered.
latitudes_degNoLatitude of each row, north to south; row 0 is the north edge.
missing_cellsNoNodes no queried dataset answered.
row_spacing_mNoNorth-south distance between node rows, meters.
longitudes_degNoLongitude of each column, west to east; column 0 is the west edge.
cells_with_dataNoNodes with an elevation.
resolution_m_rangeNoRange of source resolutions over values that report one; absent when none does (all Mapzen).

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world behavior, yet the description adds substantive semantics: values are point samples at nodes (not cell averages) so an inter-node summit is missed, and over open water Mapzen cells are sea-floor depths. These caveats materially change interpretation of results; only auth/rate-limit behavior is absent.

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?

Front-loaded with what the tool returns, then the sampling caveat, the refinement tip, and the water/limit notes. Every sentence carries information, though the output enumeration is somewhat redundant given an output schema exists.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description need not restate return values, yet it covers the sampling model, the water interpretation, the iterative refinement path, and the size cap. An agent has everything needed to call this correctly and interpret the result.

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 the schema already documents rows, cols, edges, source aliasing, and the 250-cell cap. The description largely repeats the rows×cols limit and source behavior already in the schema, adding little beyond the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (sample) and resource (regular grid of terrain elevations) with the scope (across a bounding box) and the outputs (high/low/mean/relief plus full matrix). This clearly distinguishes it from the point, profile, and line-of-sight siblings without needing to name them.

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?

Gives an explicit refinement workflow: 'to refine a candidate high or low point, call again with a smaller box around it.' It does not explicitly compare against the sibling tools (get_points, get_profile, check_line_of_sight), so the agent must infer when a grid is preferable to those, but the practical usage context is clear.

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

elevation_get_pointsGet Point ElevationsA
Read-onlyIdempotent
Inspect

Look up ground elevation at up to 100 coordinates in one call, in meters and feet, with the dataset and resolution behind every point. Inside USGS 3DEP coverage (the US and its territories, plus much of Canada and Mexico) values come from 3DEP at 1–30 m resolution. Elsewhere they come from Open Topo Data: SRTM at about 30 m on land between 60°N and 56°S, and Mapzen terrain tiles beyond SRTM's coverage and over the ocean, where values below 0 m are sea-floor depths. A point with no data in any queried dataset returns status no_data instead of failing the call.

ParametersJSON Schema
NameRequiredDescriptionDefault
pointsYes1–100 points as {lat, lon} objects in decimal degrees (WGS84). latitude, longitude, and lng keys are also accepted.
sourceNoElevation source: auto (default) uses USGS 3DEP where it has data and Open Topo Data (SRTM, with Mapzen terrain tiles where SRTM has no data) for the rest; usgs_3dep uses 3DEP only; opentopodata uses Open Topo Data only. Case is ignored and spaces or hyphens read as underscores, so USGS-3DEP and open topo data are accepted; 3dep, usgs, and epqs are also aliases for usgs_3dep.auto

Output Schema

ParametersJSON Schema
NameRequiredDescription
errorNoPresent when the call failed. Absent on success.
noticeNoGuidance on points without data, Mapzen sea-floor values, and results mixing 3DEP with Open Topo Data.
pointsNoOne entry per input point, in input order.
attributionNoSources to credit for the returned values, one line per dataset that answered.
source_modeNoThe source the call used (auto unless the caller chose one).
points_with_dataNoNumber of points with status ok.

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the readOnly/openWorld/idempotent annotations: the automatic dataset fallback chain, per-dataset resolutions and geographic coverage limits, negative values meaning sea-floor depth over ocean, and that a point with no data returns status no_data rather than failing the whole call. That last detail is exactly the kind of error-semantics disclosure annotations cannot carry.

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?

One dense paragraph, front-loaded with the core action and batch limit, then progressively less essential coverage detail. Every sentence carries information, though the dataset/resolution inventory is heavy relative to the space it occupies.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description need not explain return shapes, and it instead covers the things the schema cannot: coverage regions, resolution differences, fallback behavior, and per-point failure semantics. Nothing needed to call it correctly is missing.

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 coverage is 100% and the source enum is already documented in detail, so the baseline is 3. The description goes further by explaining what each source actually yields (3DEP 1–30 m; SRTM ~30 m land; Mapzen beyond SRTM and over ocean), giving the agent a reason to pick a non-auto source rather than just an accepted value list.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('look up ground elevation'), plus scope ('up to 100 coordinates in one call'), returned units (meters and feet), and provenance (dataset and resolution per point). The batch-of-points framing distinguishes it from the sibling path/grid/profile tools without needing to name them.

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?

Gives clear conditions for the source behavior (3DEP inside US coverage, Open Topo Data elsewhere, SRTM latitude band, Mapzen fallback) and the no_data outcome. It stops short of explicitly naming an alternative among elevation_get_grid / elevation_get_profile / elevation_check_line_of_sight, so the agent must infer the batch-of-discrete-points use case.

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

elevation_get_profileGet Route Elevation ProfileA
Read-onlyIdempotent
Inspect

Sample terrain elevation at evenly spaced points along a route (a polyline of 2–1,000 vertices) and summarize it. Returns total distance, cumulative ascent and descent, start, end, minimum, and maximum elevation, and the steepest climb and descent grades, plus the per-sample profile with each sample's dataset unless include_samples is false. Ascent and descent are summed between samples, so they depend on the sample spacing reported in the result: denser sampling captures more small climbs, down to the source's resolution. Over open water, Mapzen samples are sea-floor depths. Each USGS 3DEP sample is a separate upstream request, so up to 250 samples take roughly 10–30 seconds.

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYesRoute vertices in travel order, 2–1,000 {lat, lon} objects in decimal degrees (WGS84). Consecutive duplicate vertices are ignored.
sourceNoElevation source: auto (default) uses USGS 3DEP where it has data and Open Topo Data (SRTM, with Mapzen terrain tiles where SRTM has no data) for the rest; usgs_3dep uses 3DEP only; opentopodata uses Open Topo Data only. Case is ignored and spaces or hyphens read as underscores, so USGS-3DEP and open topo data are accepted; 3dep, usgs, and epqs are also aliases for usgs_3dep.auto
samplesNoNumber of evenly spaced samples along the route, endpoints included (2–250, default 100). More samples catch more relief and take longer; spacing finer than the source resolution adds no detail. For a large count where only the summary matters, set include_samples to false.
include_samplesNoReturn the per-sample profile (default true). false omits samples and the sample table; the summary, spacing, coverage counts, datasets, notices, and attribution are unchanged, still computed from every sample.

Output Schema

ParametersJSON Schema
NameRequiredDescription
errorNoPresent when the call failed. Absent on success.
noticeNoGuidance on samples without data, routes crossing the USGS 3DEP coverage edge, Mapzen sea-floor values, and sample spacing against the source resolution.
samplesNoEvery sample in route order, endpoints included. Absent when include_samples is false.
summaryNoRoute statistics over the samples with data, bridging samples without data.
verticesNoRoute vertices after dropping consecutive duplicates.
attributionNoSources to credit for the returned values, one line per dataset that answered.
source_modeNoThe source the call used (auto unless the caller chose one).
datasets_usedNoNumber of values each dataset answered.
missing_samplesNoSamples no queried dataset answered.
sample_interval_mNoDistance between consecutive samples, meters: route length / (samples − 1).
samples_with_dataNoSamples with an elevation.
resolution_m_rangeNoRange of source resolutions over values that report one; absent when none does (all Mapzen).

TDQS

A4.2/5.0
Behavior5/5

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

With readOnly/idempotent/openWorld annotations already covering the safety profile, the description goes well beyond: it discloses that ascent/descent depend on sample spacing, that denser sampling captures more small climbs down to source resolution, that Mapzen over water yields sea-floor depths, and that each USGS 3DEP sample is a separate upstream request costing roughly 10–30 s for 250 samples.

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?

It is a single dense paragraph, but front-loaded with purpose then return values, and nearly every sentence carries operative detail (sampling dependence, water depths, latency). Minor redundancy by restating output fields that the output schema already covers.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 a full output schema and annotations, the agent has everything needed: what it computes, how sampling affects the numbers, source fallbacks, and runtime expectations. No material gap remains.

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% and the schema already documents path, source aliases, samples range/default, and include_samples behavior in detail. The description adds only the behavioral consequence of sampling density, so the baseline 3 for a fully-documented schema is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a precise verb+resource: sampling terrain elevation at evenly spaced points along a route polyline, and summarizing it. The route-polyline scope cleanly separates it from elevation_get_points, elevation_get_grid, and elevation_check_line_of_sight without naming them.

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 implied by the route/polyline framing and by notes like 'for a large count where only the summary matters, set include_samples to false', which guides a calling pattern. However, it never states when to choose this over the sibling tools (points vs grid vs line-of-sight), leaving that routing decision to inference.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 4 tool updates
    • First observedelevation_check_line_of_sight
    • First observedelevation_get_grid
    • First observedelevation_get_points
    • First observedelevation_get_profile

Related MCP Connectors

Related MCP Servers

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.