Skip to main content
Glama
Hydrata MCP Server

Hydrata MCP Server

Official
by Hydrata

Wait for and read a delineation

get_delineation
Read-onlyIdempotent

Reads a catchment delineation and waits for its job to finish, returning outcome, phase, catchment names, chainages, areas and warnings; call again if it times out.

Instructions

Read a delineation and wait for its job, the way get_terrain_merge waits for a merge.

Returns outcome (ready | error | timed_out), phase (the job's step, then ready or error) and, once there is a result: the catchment names, each chainage as CH k+mmm with distance_m beside it, areas (saying when one is a lower bound), arrives_ha, the arrival point, diversion suggestions (information only), the diversions a person applied and any marked check again, every warning as its sentence, which neighbours share water, how it was made and whether a person confirmed it, the working and terrain resolution and the tally. timed_out is normal: call again; it never starts a second job. resolution says plainly whether the result is a 'fast screen (low resolution)' (a first look: say so, and offer High resolution before the person relies on it; its profile is not available) or 'high resolution'; shown_result carries the API's fields (mode quick or full, fast_screen, label). A High resolution copy of a line says which line it came from (derived_from). full_run reports a High resolution run's progress, elapsed time, expected finish, where it runs and whether it was handed to Batch. drainage_analysis says whether the terrain's drainage analysis is being prepared (the run waits for it) or out of date (the next run works it out again), with the sentence to relay. 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>",
      "delineation_id": "<delineation_id>"
    },
    "name": "get_delineation"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesThe project ID
delineation_idYes`delineation_id` from delineate_catchments
timeout_secondsNoHow long this call keeps polling before it returns `timed_out` (default 110, ceiling 110). 0 = one read, no waiting.
wait_for_full_runNoFalse (default): a result already shown is returned as `ready` at once even while a High resolution run goes over it (a high resolution line run again), with that run's progress in `full_run`. True: also wait (bounded) for it; a `timed_out` read is normal, since it can take many hours: read again later, do not wait in a loop. (High resolution over a fast screen runs on a COPY of the line: read the copy's own id.)
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 read, no waiting."New value: +"How long this call keeps polling before it returns `timed_out` (default 110, ceiling 110). 0 = one read, no waiting."
  2. Addedv0.2.2

TDQS

A4/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnly, idempotent, non-destructive), and the description adds real behavioral context beyond them: repeated calls never start a second job, timeouts are expected and should be re-polled rather than looped, and a High resolution run over a fast screen operates on a copy of the line. The dense field-by-field return narrative is mostly restatement of the output schema rather than additional behavioral disclosure, which keeps it off a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The operation is front-loaded, but the bulk is a single run-on enumeration of every returned field, which duplicates the existing output schema and buries the operationally important facts (timed_out is normal, read the copy's id). Trimming the field list would lose nothing an agent needs.

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?

Given rich annotations, a full output schema, and 100% parameter coverage, the definition supplies everything else an agent needs: retry behavior, the distinction between fast screen and high resolution, and the derived_from copy rule. Nothing required to call it correctly 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%, so the parameter semantics baseline is 3. The description reinforces the timeout/retry semantics and the copy-id rule for high resolution lines, but these are already spelled out in the schema field descriptions, so it adds little new meaning.

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?

Opens with a specific verb and resource ('Read a delineation') plus the waiting behavior, and anchors it to a known sibling pattern ('the way get_terrain_merge waits for a merge'), which separates it from delineate_catchments that creates the job. An agent can tell what this does without opening the schema.

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

Usage Guidelines4/5

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

Gives concrete operational guidance for the awkward case: 'timed_out is normal: call again; it never starts a second job', and for high resolution results 'say so, and offer High resolution before the person relies on it'. It lacks an explicit statement of when this tool should be chosen over siblings like get_run_status, but the polling and re-call guidance is unusually clear.

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