Skip to main content
Glama

eng_water_supply

Read-only

Water supply pipe sizing (WSFU) — Size a water service or main from fixtures by the IPC Appendix E method: water supply fixture units (cold/hot), Hunter-curve peak gpm (flush tank or flushometer), pressure budget (static minus elevation, meter and minimum fixture pressure) and Hazen-Williams friction + velocity for every size of copper L, PEX or CPVC, with the smallest size that passes. Required: fixtures (name:qty; e.g. bathroom-group, kitchen-sink, clothes-washer, hose-bibb, water-closet-flushometer, lavatory). Optional: material (copper default, pex, cpvc), pressure (static psi, default 60), length (developed ft to the remote fixture, default 100), elevation (ft, default 10), min_pressure, meter_loss, max_velocity (ft/s, default 8). Price: $0.004 USDC (Base, via x402).

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": {
      "fixtures": "<fixtures>"
    },
    "name": "eng_water_supply"
  }
}

Input Schema

NameRequiredDescriptionDefault
fixturesYese.g. bathroom-group:2,kitchen-sink:1,clothes-washer:1,hose-bibb:2

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations declare only read-only/non-destructive/open-world; the description adds real behavioral context: the computation path (WSFU → Hunter peak gpm → pressure budget → Hazen-Williams), the fact that it reports every candidate size plus the smallest one that passes, and that invocation costs $0.004 USDC via x402 on Base. The paid-call requirement is exactly the kind of information annotations 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-loaded with the purpose, then required/optional inputs, then price; no filler sentences. The first sentence is very dense with nested detail, which costs a little readability, but every clause carries engineering 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?

For a one-parameter computation tool with no output schema, the description covers method, default values, unit conventions, and what the result contains (size table plus smallest passing size). The main gap is the mismatch between the listed optional parameters and the actual schema, plus no statement of behavior when no size passes.

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% for the single `fixtures` parameter, and the description does add useful vocabulary (bathroom-group, water-closet-flushometer, hose-bibb) and a name:qty syntax. However, it advertises optional parameters — material, pressure, length, elevation, min_pressure, meter_loss, max_velocity — that do not exist in the supplied input schema, which risks misleading an agent about what it can pass.

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 — sizing a water service or main from fixture units — and names the exact method (IPC Appendix E, Hunter curve, Hazen-Williams). It is clearly distinct from pipeline siblings such as eng_drain_size or eng_gas_pipe, which size different systems.

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 gives clear context for when the tool applies: converting a fixture list into a pipe size with a pressure budget and velocity check. It does not name alternatives or exclusions (e.g., when to use the drain-sizing or hydronic-pipe siblings instead), so it stops short of the top band.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources