Skip to main content
Glama

elevation_grid

Terrain grid for an area: elevation min, max, mean and relief on a grid up to 10x10 (USGS 3DEP, worldwide fallback). Paid via x402 ($0.004 USDC on Base mainnet (also Polygon, Arbitrum and Solana)) on this tools/call request. Includes asOf and source. Invalid input is rejected without payment.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "elevation_grid"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoCentre latitude (instead of bbox).
lonNoCentre longitude (instead of bbox).
bboxNoArea as west,south,east,north in decimal degrees (GeoJSON order), e.g. -118.559,34.2012,-118.5546,34.2048. Max 20 km side.
sizeNoGrid points per side (default 5, so 25 samples).
radiusNoHalf-width in metres around lat/lon (default 250).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses that this tool/call is charged via x402 at $0.004 USDC (Base mainnet, with Polygon, Arbitrum and Solana), that invalid input is rejected without payment, the upstream data source and fallback, and that the response includes asOf and source. It does not clarify that an area must be supplied via either bbox or the lat/lon pair, which is the main behavioral gap.

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 pricing, then response fields and error behavior — a logical order with little waste. The nested parenthetical listing payment chains is slightly dense but still readable.

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?

For a five-parameter, annotation-free, paid tool with no output schema, the description covers cost, charging trigger, failure behavior, data source and key response fields. The one thing an agent still has to infer from the schema is the mutually exclusive lat/lon vs bbox input modes, which prevents a perfect score.

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 all five parameters (lat, lon, bbox, size, radius) are already documented with ranges, defaults and format. The description only echoes the 10x10 grid cap that the size parameter already encodes; it adds no new semantics such as the lat/lon pairing rule or the 20 km bbox limit. 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?

The description states a specific resource and output ('Terrain grid for an area: elevation min, max, mean and relief on a grid up to 10x10') plus provenance (USGS 3DEP with worldwide fallback). An agent can distinguish this area-grid summary from the elevation_point sibling by the 'grid for an area' framing, though no sibling is named explicitly.

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 only implied: 'for an area' and the grid/statistics output suggest this is for summarizing terrain over a region rather than a single point, but the description never says when to prefer it over elevation_point or what area sizes are practical. No exclusions or prerequisites are given.

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