Skip to main content
Glama

elevation_profile

Calculates the terrain profile between two coordinates, returning distance, sampled elevations, and the highest point to assess line-of-sight for LoRa/Meshtastic links.

Instructions

Terrain profile between A and B: distance, elevations and highest point.

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": {
      "a": "<a>",
      "b": "<b>"
    },
    "name": "elevation_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYes
bYes
samplesNoNumber of profile points

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses output categories but omits units, elevation datum/source, interpolation method, path geometry, side effects, and auth/rate-limit behavior. The output schema covers return shape, but operational behavior remains thin.

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 no filler or redundant wording. Its terseness is a completeness issue rather than a conciseness problem.

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

Completeness2/5

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

For a three-parameter geospatial computation with no annotations and partial schema coverage, the description omits key details: what path A-B represents, units, elevation source, and the role of samples. The output schema reduces the need to describe return values, but not enough behavioral context is provided.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%, and the description merely names A and B as endpoints while never mentioning the samples parameter. It adds little meaning beyond the schema and does not explain how sample count affects the profile or what coordinate format is expected.

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 the resource as a terrain profile between A and B and names three outputs: distance, elevations, and highest point. It is specific enough to distinguish from unrelated siblings, though it lacks an explicit action verb and does not clarify the path geometry.

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?

Provides no guidance on when to use this tool versus alternatives, prerequisites, or limitations. The only implied use is computing a profile between two coordinates.

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