Skip to main content
Glama

MapTiler MCP by usefulapi

Get elevation at coordinates

maptiler_get_elevation
Read-only

Look up ground elevation at up to 50 coordinates. Returns an array of [lng, lat, elevation] triples. API: GET /elevation/{locations}.json.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
unitNoElevation unit. Default meters.
locationsYes1-50 [longitude, latitude] pairs (latitude -85..85).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / locations / items / items
      Previous value: -[
      -  {
      -    "maximum": 180,
      -    "minimum": -180,
      -    "type": "number"
      -  },
      -  {
      -    "maximum": 85,
      -    "minimum": -85,
      -    "type": "number"
      -  }
      -]New value: +false
    • addedInput schema / properties / locations / items / maxItems
      Added value: +2
    • addedInput schema / properties / locations / items / minItems
      Added value: +2
    • addedInput schema / properties / locations / items / prefixItems
      Added value: +[
      +  {
      +    "maximum": 180,
      +    "minimum": -180,
      +    "type": "number"
      +  },
      +  {
      +    "maximum": 85,
      +    "minimum": -85,
      +    "type": "number"
      +  }
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description adds real value: it discloses the 50-coordinate cap, the exact return structure ([lng, lat, elevation] triples), and the underlying API path. It does not mention rate limits or error behavior, but for a simple read-only lookup this is solid disclosure beyond the structured fields.

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 short sentences, zero filler, with the core purpose and the return format front-loaded. Every sentence earns its place.

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?

There is no output schema, and the description compensates by specifying the return shape and coordinate ordering. Combined with the readOnlyHint annotation and a fully documented schema, an agent has nearly everything needed to call and interpret this tool correctly; only rate-limit/pagination behavior is unaddressed.

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 coverage is 100% and both parameters (locations, unit) are already documented in the schema, including the lat/lng order and bounds. The description repeats the 50-coordinate limit without adding format or syntax detail beyond the schema, so the baseline 3 applies.

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 a specific verb and resource ('Look up ground elevation') plus a scope constraint (up to 50 coordinates). The domain is unique among siblings (geocode, reverse_geocode, transform_coordinates), so an agent can identify it without confusion, though it never explicitly contrasts itself with any sibling.

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?

No guidance on when to use this versus alternatives, and no prerequisites or exclusions are stated. The description only says what it does and the API shape; all usage context must be inferred from the name.

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.