Skip to main content
Glama
FlowCalc MCP Server

FlowCalc MCP Server

calc_pipe_pump_system

Calculates Darcy-Weisbach pipe pressure drop, pump total dynamic head, NPSHa with suction strainer and altitude deductions, and IEC motor size for piping and pump system design.

Instructions

Calculate Darcy-Weisbach pipe pressure drop (Colebrook-White Newton-Raphson), pump TDH, NPSHa with suction strainer & altitude deductions, and IEC motor size.

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": {
      "flow_m3h": "<flow_m3h>",
      "suc_id_mm": "<suc_id_mm>",
      "suc_len_m": "<suc_len_m>",
      "dis_id_mm": "<dis_id_mm>",
      "dis_len_m": "<dis_len_m>"
    },
    "name": "calc_pipe_pump_system"
  }
}

Input Schema

NameRequiredDescriptionDefault
zd_mNo
zs_mNo
dis_kNo
suc_kNo
pd_kpaNo
ps_kpaNo
temp_cNo
npshr_mNo
flow_m3hYes
fluid_idNowater
rough_mmNo
dis_id_mmYes
dis_len_mYes
suc_id_mmYes
suc_len_mYes
elevation_mNo
dp_dis_equip_kpaNo
dp_suc_equip_kpaNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden. It usefully discloses the numerical method (Colebrook-White with Newton-Raphson) and that NPSHa includes strainer and altitude deductions, but omits units conventions, assumptions, convergence/failure behavior, and whether the call is pure and deterministic.

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?

One dense sentence that leads with the verb and lists outputs in logical order; the parenthetical method tags earn their place. It is compact without padding, though the jargon density makes it hard to scan.

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

Completeness3/5

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

For a high-complexity 18-parameter engineering calculation with no annotations and no output schema, the description covers what is computed but not the return structure or units. An agent could select the tool but would be guessing on many inputs.

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

Parameters2/5

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

Schema description coverage is 0% across 18 parameters, so the description must compensate and largely does not. It hints at the strainer (suc_k/dis_k), altitude (elevation_m/zs_m/zd_m), and fluid (fluid_id) inputs, but leaves ambiguous distinctions such as zs_m vs zd_m vs elevation_m, pd_kpa vs ps_kpa, and the three separate dp_*_equip_kpa terms completely unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Calculate') and enumerates the exact deliverables: Darcy-Weisbach pressure drop, pump TDH, NPSHa, and IEC motor size. This distinguishes it from the fan/duct sibling by domain, though it never names an alternative tool explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites, and no exclusions. The description implies a pump-sizing design context but says nothing about when to pick this over calc_altitude_barometric_npsh for the NPSH portion, or how the two interact.

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