Skip to main content
Glama

Geländehöhe & optische Sichtlinie (Gipfelblick)

check_elevation_and_sightline
Read-onlyIdempotent

Ermittelt die Geländehöhe (in Metern laut lokalem SRTM/Copernicus-Höhenraster) für eine Koordinate. Mit optionalen Zielkoordinaten (bis 150 km) wird die optische Sichtlinie inkl. Erdkrümmung und Beobachter-/Zielhöhe geprüft; Datenlücken entlang der Strecke werden als unbestimmt gemeldet. Der zurückgegebene Kartenlink zentriert die Karte auf den Standort.

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>",
      "lon": "<lon>"
    },
    "name": "check_elevation_and_sightline"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesBreitengrad des Standorts (-90..90).
lonYesLängengrad des Standorts (-180..180).
targetLatNoOptional (paarweise mit targetLon): Breitengrad des Zielpunkts.
targetLonNoOptional (paarweise mit targetLat): Längengrad des Zielpunkts.
targetHeightMNoOptional: Zielhöhe über Grund in Metern (0..300, Standard: 0).
observerHeightMNoOptional: Beobachter- oder Turmhöhe über Grund in Metern (0..300, Standard: 1.7).

Output Schema

NameRequiredDescriptionDefault
latYes
lonYes
mapUrlYesKartenlink auf den Standort (öffnet die Karte an lat/lon).
targetLatNo
targetLonNo
distanceKmNo
elevationMYesGeländehöhe am Standort in Metern.
minClearanceMNo
targetHeightMNo
missingSamplesNo
observerHeightMNo
lineOfSightClearNo
targetElevationMNo
lineOfSightStatusNo
criticalDistanceKmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely non-obvious behavior: the SRTM/Copernicus data source, the 150 km limit, curvature being factored in, data gaps reported as 'indeterminate' rather than an error, and that the returned map link is centered on the site.

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?

Three sentences, front-loaded with the primary function, then the optional sightline mode, then one caveat and the map-link detail. No wasted wording; each sentence carries distinct information.

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 enumerate return fields, and it still flags the map link and the indeterminate-data case. Sources, distance limit, defaults context and the pairing of target coordinates are all covered, leaving nothing an agent needs before calling it.

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; the description adds meaning on top by explaining that target coordinates come as a pair, that observer/target heights participate in the sightline computation, and by stating the 150 km constraint that the schema does not encode.

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+resource: determines terrain elevation in meters for a coordinate, and optionally checks the optical sightline to a target including Earth curvature. This is unmistakably distinct from routing (plan_route), place lookup (search_place) or link building (build_map_link).

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?

The description makes the two modes explicit: base call = elevation only, adding target coordinates = sightline check, with a 150 km distance ceiling. It does not explicitly say when to prefer this over a sibling, but the mode-selection guidance is clear enough for an agent to act on.

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.

Resources