Skip to main content
Glama
hjlrosales

EPANET MCP Server

by hjlrosales

pump_selection

Size a centrifugal pump for required flow and head, computing hydraulic, brake, and motor power, specific speed, NPSH, and standard motor speeds. Use to select a pump and generate a procurement-ready summary.

Instructions

Size a centrifugal pump for a required flow rate and total dynamic head. Computes hydraulic power, brake (shaft) power, motor nameplate power with safety factor, specific speed for pump-type classification (radial/mixed/axial flow), NPSH available from suction conditions, and suggests standard motor sizes and compatible speeds. Estimates pump efficiency automatically from the power level, or accept a user-specified value. Returns a complete pump sizing summary suitable for procurement or EPANET pump-curve entry. Use this after pipe_sizing_wizard to size the pump for a validated pipe network.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
speedNoMotor speed in RPM. If omitted, the tool suggests compatible speeds.
flowRateYesRequired flow rate at the duty point.
flowUnitsYesFlow units matching EPANET's [OPTIONS] Units.
efficiencyNoAssumed pump efficiency at BEP (0.3–0.95). Omit for automatic estimation based on power level.
totalHeadMYesTotal dynamic head (TDH) in metres — the sum of static head, friction losses, and velocity head the pump must overcome.
fluidDensityNoFluid density in kg/m³ (default 998 for water at 20 °C). Change for other fluids.
safetyFactorNoMotor sizing safety factor (default 1.15). Accounts for power curve shape and starting current.
suctionLiftMNoSuction lift in metres (positive = pump is above water level; negative = flood suction). Default 0 (at water level). Used for NPSH calculation.
suctionFrictionMNoFriction loss in the suction pipe in metres (default 0.5). Used for NPSH calculation.
Behavior3/5

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

No annotations are provided, so the description carries full burden. It does describe computations and that it 'returns a summary', hinting at a read-only calculation. However, it never explicitly states that it does not modify network data or that it's non-destructive. It also doesn't mention any side effects or prerequisites beyond the network being validated, though it implies necessity. The lack of a clear 'this is a pure calculation' statement puts it below what a fully transparent description would provide.

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?

Three sentences: the first states purpose and outputs, the second adds detail on efficiency estimation, and the third provides usage context. It's front-loaded with the core function and then adds context. No filler or redundancy. It's slightly longer than necessary but every sentence carries meaning.

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 no output schema, the description lists the major output types (hydraulic power, brake power, motor nameplate power, specific speed, NPSH, motor sizes) which gives a good idea of the return content. It doesn't specify the exact format or field names, but that's a minor gap for a sizing summary. It also mentions compatibility with EPANET entry, covering practical use. It's fairly complete for a tool without output schema.

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 coverage is 100% and each parameter already has a clear description (e.g., flowUnits lists EPANET units, efficiency has range and meaning). The tool description adds minimal new semantic value — it restates that efficiency can be omitted for automatic estimation (already in schema) and mentions outputs tied to specific inputs, but doesn't enrich parameter meaning beyond schema. Since coverage is high, baseline of 3 is appropriate.

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 opens with 'Size a centrifugal pump' — a specific verb and resource. It enumerates outputs (power, specific speed, NPSH, motor sizes) and also states when it's used ('after pipe_sizing_wizard'), which distinguishes it from the pipe-related sibling tools. So an agent will immediately know what it does and how it fits with others.

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?

The description explicitly says 'Use this after pipe_sizing_wizard' and mentions 'validated pipe network' — a clear prerequisite and sequencing instruction. It doesn't list alternatives because no other pump tool exists, but it tells the agent the right place in the workflow. That's explicit and unambiguous.

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/hjlrosales/EPAnet-MCP'

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