Skip to main content
Glama
Hydrata MCP Server

Hydrata MCP Server

Official
by Hydrata

Wait for a terrain merge

get_terrain_merge
Read-onlyIdempotent

Polls a terrain merge started by merge_terrains until it is ready or errors, returning outcome, phase, terrain_id, and record; call again after a timeout.

Instructions

Wait for a terrain merge started by merge_terrains until the merged terrain is ready (or error).

Returns outcome (ready | error | timed_out), phase (merging: the terrains are being merged; importing: the merged terrain is being published; then ready or error), terrain_id of the merged terrain once it exists, and its record. timed_out is normal: call again with the same arguments. If the merge itself failed, outcome is error at once with Hydrata's reason in error; tell the user. Once ready, use terrain_id like any other terrain (get_terrain, sample_terrain, a scenario's terrain). Read-only.

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>",
      "analysis_surface_id": "<analysis_surface_id>"
    },
    "name": "get_terrain_merge"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesThe project ID
timeout_secondsNoHow long this call keeps polling before it returns `timed_out` (default 110, ceiling 110). 0 = one status read, no waiting.
analysis_surface_idYes`analysis_surface_id` from merge_terrains
poll_interval_secondsNoSeconds between polls (default 5)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.4
    • changedInput schema / properties / timeout_seconds / default
      Previous value: -180New value: +110
    • changedInput schema / properties / timeout_seconds / description
      Previous value: -"How long this call keeps polling before it returns `timed_out` (default 180, ceiling 200). 0 = one status read, no waiting."New value: +"How long this call keeps polling before it returns `timed_out` (default 110, ceiling 110). 0 = one status read, no waiting."
  2. Addedv0.2.2

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive, but the description adds real behavioral context beyond them: polling semantics, the meaning of a `timed_out` outcome, immediate failure propagation with Hydrata's error reason, and the `phase` progression (merging → importing → ready/error). The one weakness is that much of the prose restates return fields that the output schema already defines.

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?

Content is front-loaded with the purpose and then the outcome contract, and every clause is actionable. It is somewhat long and duplicates the return-field enumeration that the output schema already provides, which costs a bit of tightness.

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 an async polling tool, the description covers what an agent needs: the trigger, the terminal states, the retry rule for timeouts, failure handling, and the handoff to downstream tools. With an output schema present, it does not need to explain return values in this much detail, so nothing essential 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%, including the timeout ceiling of 110 and the meaning of timeout_seconds=0, so the schema already carries all parameter meaning. The description adds no parameter-level detail beyond what the schema states, which is the expected baseline when coverage is complete.

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 and resource ('Wait for a terrain merge started by merge_terrains') and pins the terminal conditions (ready or error). An agent can immediately distinguish it from merge_terrains, which starts the job, and from get_terrain, which reads an already-finished terrain.

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?

Explicitly says to call it after merge_terrains, that `timed_out` is normal and should be retried with the same arguments, that `error` should be surfaced to the user, and that once `ready` the `terrain_id` is usable with get_terrain, sample_terrain, or a scenario's terrain. This covers when to use, how to react to each outcome, and which siblings to chain to.

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