Skip to main content
Glama
Hydrata MCP Server

Hydrata MCP Server

Official
by Hydrata

Propose the openings along flagged culverts

propose_culvert_openings

Propose drainage openings for flagged culverts in one request, filed as proposals for map review. Accept them to trigger drainage re-analysis and rerun the line.

Instructions

Propose the drainage opening every flagged culvert of the sub-catchments offers, in ONE request (D15's measured ladder: where the water reaching a culvert's inlet leaves past its outlet, an opening along the culvert would carry it through). The openings are filed as PROPOSALS: nothing changes until a person accepts them on the map, and only then is the terrain's drainage analysis worked out again (once) and the line run again. Read the culverts first with get_sub_catchments (version.culverts: each culvert's area across the inlet, its flags and whether an opening is offered). Tell the user they are waiting and give them the link (ui_url).

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>",
      "sub_catchments_id": "<sub_catchments_id>"
    },
    "name": "propose_culvert_openings"
  }
}

Input Schema

NameRequiredDescriptionDefault
culvertsNoOnly these culverts' openings, as [[culvert, feature], ...] (get_sub_catchments: version.culverts.placed, where opening_offered is true). Omit it for every opening offered, which is the usual one action.
project_idYesThe project ID (Editor rights)
sub_catchments_idYesThe set of sub-catchments: its `sub_catchments_id`

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.6

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that outputs are filed as proposals, that no terrain state changes until a human accepts them on the map, and that acceptance triggers a single recomputation of the drainage analysis and a re-run of the line. It also prescribes the post-call UX (tell the user they are waiting and hand them `ui_url`), which annotations alone cannot convey.

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-loads the action and batching scope, then the proposal/acceptance semantics, then the prerequisite and the user-facing instruction — a sensible order. The D15 'measured ladder' parenthetical is dense domain jargon that costs more words than it returns for an agent, the one blemish on an otherwise tight definition.

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?

An output schema exists so return values need not be explained, and the description covers the remaining agent-relevant facts: prerequisite read step, non-destructive proposal semantics, the deferred recomputation side effect, and the `ui_url` handoff. Nothing needed 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 schema already documents `culverts`, `project_id` and `sub_catchments_id` including the omit-for-all default. The description adds domain meaning about what an opening is and points to `version.culverts.placed`/`opening_offered` as the source of the `[[culvert, feature], ...]` pairs, but adds no syntax or format detail beyond the schema — baseline 3.

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 (propose) and a specific resource (the drainage opening offered by each flagged culvert in a sub-catchment set), plus the batching scope ('in ONE request'). The parenthetical definition of an opening ('where the water reaching a culvert's inlet leaves past its outlet...') makes it clearly distinguishable from the sibling boundary/drainage-correction proposal tools.

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 an explicit prerequisite ('Read the culverts first with get_sub_catchments') and names the default invocation mode (omit `culverts` for every opening offered, 'the usual one action'). It does not name an alternative sibling or state when not to use it, which keeps it short of a 5.

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