Skip to main content
Glama
Hydrata MCP Server

Hydrata MCP Server

Official
by Hydrata

Copy a scenario (no run, no build)

clone_scenario

Copy a scenario into a new sibling, for a variant. No run is copied and nothing is built.

Instructions

Copy a scenario into a new sibling, for a variant. No run is copied and nothing is built.

The copy points at the SAME input rows as the original. Give the variant its own input row by writing one with write_input_layer (target = a title) and passing the new row id in overrides; the original scenario's inputs stay as they were. The name and overrides go in the one copy call and Hydrata checks them first: a refused name or id makes no copy.

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>",
      "scenario_id": "<scenario_id>"
    },
    "name": "clone_scenario"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoName for the copy (default: '<name>-copy'). Name it for what differs.
overridesNoFields of the copy to set at once, the same as update_scenario: description, resolution, duration, elevation_sampling, flow_algorithm, terrain, boundary, friction, inflow, rainfall, building, mesh_region, culvert.
project_idYesThe project ID
scenario_idYesThe scenario to copy

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?

Beyond the annotations (readOnly=false, destructive=false, idempotent=false), the description discloses the key behavioral trait that the copy aliases the SAME input rows as the original, plus that name/overrides are validated before any copy is made, so a refused name or id produces no side effect. That aliasing and pre-validation behavior is exactly what an agent cannot infer from structured fields.

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?

Roughly five sentences, front-loaded with the core action and its exclusions, then the aliasing caveat, then the recommended variant workflow, then validation behavior. No filler or restatement of the name.

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 four-parameter copy tool with an output schema and full annotation coverage, the description supplies everything an agent needs: what is not copied, how inputs are shared, how to break that sharing, and what happens on invalid input.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds genuine meaning: it explains that a new input row id is passed via `overrides` and that the original scenario's inputs are left untouched, and links `overrides` to update_scenario's field set. The name default is only in the schema, but the cross-tool interpretation of overrides goes beyond it.

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 ('Copy a scenario into a new sibling') plus scope exclusions ('No run is copied and nothing is built'), which cleanly separates it from create_scenario, build_scenario, and update_scenario.

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 the selecting condition ('for a variant') and explicitly routes the agent to write_input_layer with target = a title when the variant needs its own input row. It also implicitly contrasts with update_scenario by saying overrides takes the same fields. It stops short of stating when to use create_scenario instead of cloning, but the guidance present is concrete and actionable.

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