Skip to main content
Glama

Heights of points

elevation_points
Read-onlyIdempotent

Heights above sea level in metres for a list of points, negative at sea. Switzerland and Liechtenstein: swissALTI3D, a 2 m grid of the ground (credit "© swisstopo"). Elsewhere on land: Copernicus GLO-30, a 30 m grid of the surface that includes buildings and trees. At sea: GEBCO. Each point counts as one lookup; account_status shows the plan maximum per call.

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": {
      "points": "<points>"
    },
    "name": "elevation_points"
  }
}

Input Schema

NameRequiredDescriptionDefault
pointsYesthe points, each with lat and lon
max_charsNomost characters of the answer to show; larger answers are cut, and offset shows the next part

Output Schema

NameRequiredDescriptionDefault
totalYes
pointsYesthe points shown, in the order of the request
lookupsYes
attributionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "attribution": {
      +      "type": "string"
      +    },
      +    "lookups": {
      +      "type": "integer"
      +    },
      +    "points": {
      +      "description": "the points shown, in the order of the request",
      +      "items": {
      +        "properties": {
      +          "dataset": {
      +            "type": "string"
      +          },
      +          "elevation_m": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "lat": {
      +            "type": "number"
      +          },
      +          "lon": {
      +            "type": "number"
      +          },
      +          "resolution_m": {
      +            "type": "integer"
      +          },
      +          "surface": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "lat",
      +          "lon",
      +          "elevation_m",
      +          "surface",
      +          "dataset",
      +          "resolution_m"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "total": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "total",
      +    "lookups",
      +    "points"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantial context beyond them: per-region data provenance and resolution (swissALTI3D 2 m ground grid vs Copernicus GLO-30 30 m surface including buildings and trees vs GEBCO at sea), the sign convention for sea-level results, and a mandatory attribution string ('© swisstopo').

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?

The output unit and scope are front-loaded in the first clause, followed by source resolution and then cost. Every sentence carries information an agent cannot get from structured fields, though the data-source sentence is dense and could be split for scanability.

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?

An output schema exists, so return values need not be described. For a two-parameter read tool the description covers what matters: resolution and provenance per region (which determines whether a result reflects ground or building/tree canopy), sign convention, attribution obligation, and per-point billing.

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 cost semantics not present in the schema: each point is billed as one lookup and account_status exposes the per-call maximum. The max_chars truncation behavior is left entirely to the schema, which documents it adequately.

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 opens with a specific verb and resource: 'Heights above sea level in metres for a list of points, negative at sea.' The 'list of points' framing implicitly distinguishes it from elevation_profile, but no sibling is named, so an agent must infer the boundary.

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 explicit when-to-use or when-not-to-use guidance, and no named alternative (e.g. elevation_profile) is offered for the profile use case. The only routing-adjacent sentence concerns billing ('each point counts as one lookup'), which is cost information rather than selection guidance.

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