Skip to main content
Glama
Hydrata MCP Server

Hydrata MCP Server

Official
by Hydrata

Shift a terrain from ellipsoid to EGM2008 heights

convert_terrain_datum

Make a copy of a terrain shifted from ellipsoid heights to EGM2008 (sea-level) heights.

Instructions

Make a copy of a terrain shifted from ellipsoid heights to EGM2008 (sea-level) heights.

Use it only when the user says the terrain's heights are on the ellipsoid (raw GPS or satellite heights). The original terrain is kept unchanged; the copy is a new terrain the scenarios can use. For a GeoTIFF you are still uploading, pass convert_to_egm2008=True to finalize_terrain_upload instead. Hydrata refuses a terrain on AHD or already on EGM2008 (it would be shifted twice): that comes back as outcome: refused with Hydrata's words. A terrain converted before returns the existing copy (outcome: already_converted). The copy takes minutes: wait on it with get_terrain(project_id, terrain_id=).

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": {
      "project_id": "<project_id>",
      "terrain_id": "<terrain_id>"
    },
    "name": "convert_terrain_datum"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesThe project ID (the key needs Contributor rights; a launch-level key since the shift can start AWS Batch)
terrain_idYesThe terrain whose heights are on the ellipsoid (get_terrain)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.2

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only supply the generic flags (readOnlyHint=false, destructiveHint=false, openWorldHint=false); the description adds the substantive behavior: it creates a new copy, the original is left untouched, refusals surface as outcome: refused with Hydrata's message, repeats return outcome: already_converted, and the operation takes minutes. It also names the follow-up call (get_terrain with the new terrain_id) needed to wait for completion. The already_converted dedup behavior is a refinement of idempotentHint=false rather than a contradiction, since a second call still does not re-run the shift.

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?

Front-loaded with the transformation, then ordered by decision need: when to use, what happens to the original, the upload alternative, failure modes, dedup behavior, latency and how to wait. Every sentence carries a distinct actionable fact and none repeat the schema or annotations.

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?

For a two-parameter async mutation, the description covers side effects, non-destructiveness, permission prerequisite, refusal and dedup outcomes, latency, and the polling follow-up. An output schema exists, yet the description still names the outcome field values the agent will actually need to branch on, so nothing required for correct invocation is missing.

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% and both parameters are documented there, including the Contributor-rights / launch-level key requirement for project_id. The description adds only a light restatement (terrain_id is the terrain whose heights are on the ellipsoid) and no new format, range, or acquisition guidance, so the schema carries the load and baseline 3 applies.

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 ("make a copy ... shifted") plus the exact resource transformation (ellipsoid heights -> EGM2008/sea-level heights), and immediately distinguishes itself from the upload-time path by naming finalize_terrain_upload with convert_to_egm2008=True. An agent can tell which of the two conversion routes applies without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit positive trigger ("Use it only when the user says the terrain's heights are on the ellipsoid"), an explicit alternative for the in-flight-upload case, and explicit when-not conditions (AHD or already-EGM2008 terrains are refused). The refusal semantics are named with the exact outcome values so the agent can route on them.

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