Skip to main content
Glama

create_demand_perturbation

Clone a water network, apply demand multipliers to selected nodes, and optionally simulate to analyze the impact without altering the original.

Instructions

Apply base-demand multipliers to a set of nodes and optionally simulate.

A clone of the source network is created; the original is unchanged.

Args: network_id: Source network id. node_demands: {node_id: multiplier} — e.g. {"J1": 2.0} doubles demand at J1. scenario_id: Id for the cloned scenario session (auto-generated if omitted). run_simulation: Run a full simulation after applying changes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
network_idYes
scenario_idNo
node_demandsYes
run_simulationNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

The description discloses that a clone is created (no modification to original) and that simulation can be optionally run. With no annotations, this provides useful behavioral context, though it omits details like prerequisites or return format.

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?

The description is concise and well-structured, front-loading the purpose and using a clear Args list. Every sentence serves a purpose without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the parameter count and lack of schema descriptions, the description covers the essential inputs and behavior. It does not mention the output schema (though one exists), but for a mutation tool the focus on inputs and side effects is adequate.

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?

With 0% schema description coverage, the description compensates by explaining all four parameters: network_id, node_demands (with example format), scenario_id (auto-generated if omitted), and run_simulation (default true). This adds significant meaning beyond the bare schema.

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?

The description clearly states the tool applies base-demand multipliers to nodes and optionally simulates. It explicitly mentions creating a clone, distinguishing it from sibling tools like create_leakage_event or set_node_base_demand.

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?

The description notes that a clone is created (so no permanent changes) and that simulation is optional. However, it does not explicitly state when to prefer this over related tools or when not to use it, leaving some inference to the agent.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Applied-Artificial-Intelligence-Eurecat/epanet-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server