Skip to main content
Glama
hjlrosales

EPANET MCP Server

by hjlrosales

lookup_pipe_diameters

Find standard inner diameters for pipe materials (HDPE, PVC, ductile iron, steel) with filters for size and units, used for sizing and selecting diameters in EPANET hydraulic modeling.

Instructions

Look up standard pipe inner diameters for common water-distribution materials. Returns a table of standard sizes with nominal diameter, outer diameter, wall thickness, and the resulting inner diameter — the value EPANET uses for hydraulic modeling. Materials: HDPE (ISO 4427, PE100 SDR 11), PVC (AWWA C900 DR 18), ductile iron (ISO 2531 class K9), carbon steel in three variants: steel-medium (ISO 4200 medium series), steel-sch40 (ANSI B36.10 Schedule 40/STD), steel-sch80 (ANSI B36.10 Schedule 80/XS). Filter by material, minimum/maximum nominal size, and display units (mm, inches, or both). Use this when sizing pipes, choosing a standard diameter for set_pipe_diameter, or comparing materials for a given nominal size.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
unitsNoDisplay units for inner diameter: 'mm' (default), 'inches', or 'both' (side-by-side). Nominal sizes always show their native designation.
materialYesPipe material to look up: hdpe (HDPE PE100, ISO 4427), pvc (AWWA C900), di (ductile iron, ISO 2531), steel-medium (ISO 4200 medium series), steel-sch40 (ANSI Sch 40/STD), steel-sch80 (ANSI Sch 80/XS), or all for a combined listing.
maxNominalNoMaximum nominal diameter to include. Omit for all sizes up to the largest.
minNominalNoMinimum nominal diameter (DN for metric materials, inches for steel) to include. Omit for all sizes.
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses what the tool returns (a table of standard sizes with four columns), the material standards (e.g., HDPE PE100, PVC AWWA C900), and filter options. It implies a read-only lookup operation, though it doesn't explicitly state that it has no side effects—but for a lookup tool that's inferable.

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?

The description is information-dense but not overly long. It front-loads the purpose, then lists materials and filtering options, and ends with use cases. Each sentence adds value, and the structure is logical. It could be slightly more concise but is well organized.

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 tool's complexity (four parameters, multiple material standards, no output schema), the description covers the return format, material options, filter behavior, and use cases. It does not provide an example output or mention edge cases like units for steel inputs, but it is sufficient for an agent to call the tool correctly.

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. The description adds meaning beyond the schema by explaining that nominal sizes always show their native designation, that units default to 'mm', and that min/max filters can be omitted for all sizes. It also clarifies the material enum values with standards, enriching the schema definitions.

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 states the specific verb 'look up' and the resource 'standard pipe inner diameters for common water-distribution materials', and clarifies it returns a table with nominal, outer, wall thickness, and inner diameters. It distinguishes from siblings like pipe_sizing_wizard by focusing on standard size lookup rather than computation.

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 explicitly says 'Use this when sizing pipes, choosing a standard diameter for set_pipe_diameter, or comparing materials for a given nominal size.' It gives clear when-to-use contexts but does not contrast with alternative tools or mention when not to use it, so it falls 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.

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