Skip to main content
Glama
eng-toolkit

eng-toolkit

by Lin830326

Fluids Pump System

fluids_pump_system

Computes pump/system operating point from head and efficiency data, including series/parallel pumps, affinity scaling, NPSHa margin, and specific speed; writes system_curve.csv and operating point.

Instructions

Pump/system operating point from monotone head/efficiency point interpolation, Darcy-Weisbach or static+KQ^2 system, bracketed intersection. Series/parallel pumps, affinity scaling, NPSHa margin and dimensionless specific speed. No extrapolation; impeller trim ratio 0.9..1.0; constant-efficiency affinity approximation. curve_points writes system_curve.csv (flow, system head, pump head, efficiency) and data.operating_point.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "fluids_pump_system"
  }
}

Input Schema

NameRequiredDescriptionDefault
densityNoFluid mass density, e.g. '1000 kg/m^3'; all modes; default is a nominal water input, not a property correlation.1000 kg/m^3
roughnessNoSystem pipe absolute roughness, e.g. '0.05 mm'; '' means smooth for pipe mode; omit with system_coefficient.
combinationNosingle, series (sum heads at common flow), or parallel (sum flows at common head with check valves).single
pipe_lengthNoSystem pipe length, e.g. '100 m'; required without system_coefficient, otherwise ''.
pump_pointsNoid,Q,H,eta records, e.g. 'p,0 m^3/s,20 m,0;p,0.1 m^3/s,0 m,0.7'; eta 0..1 at Q=0, 0.01..1 above; <=120 points, <=8 pumps.
speed_ratioNoNew/original pump speed ratio, e.g. 1.1; all curves, 0.2..3; Q scales with ratio, H with ratio squared.
static_headNoSystem elevation/pressure head, e.g. '5 m'; required, signed; excludes friction.
curve_pointsNo0 (default) none; 2..500: rows of system_curve.csv over the pump's flow range, the operating point inserted as a row.
suction_lossNoSuction line head loss at operating flow, e.g. '0.5 m'; '' means zero for NPSH check.
npsh_requiredNoPump NPSHr at operating flow, e.g. '3 m'; '' reports NPSHa only; requires vapour_pressure.
pipe_diameterNoSystem pipe inside diameter, e.g. '100 mm'; required with pipe_length, otherwise ''.
diameter_ratioNoTrimmed/original impeller diameter ratio, e.g. 0.95; all curves, restricted to 0.9..1.0.
vapour_pressureNoFluid absolute vapour pressure, e.g. '2.34 kPa'; '' omits NPSH check; requires suction_elevation.
rotational_speedNoActual operating angular speed, e.g. '1450 rpm'; '' omits dimensionless specific speed.
surface_pressureNoSuction vessel gauge pressure for NPSHa, e.g. '0 bar'; signed, used with vapour_pressure.0 Pa
dynamic_viscosityNoFluid dynamic viscosity, e.g. '1 mPa*s'; all modes; '' requires kinematic_viscosity instead.1 mPa*s
suction_elevationNoLiquid surface height above pump, e.g. '2 m'; signed, required for NPSH; '' omits with vapour_pressure.
system_coefficientNoSystem K in H=Hstatic+KQ^2, e.g. '1000 s^2/m^5'; '' requires pipe geometry instead.
kinematic_viscosityNoFluid kinematic viscosity, e.g. '1 cSt'; '' omits; supply only when dynamic_viscosity is ''.
atmospheric_pressureNoAbsolute ambient pressure for NPSHa, e.g. '101325 Pa'; used when vapour_pressure is supplied.101325 Pa
minor_loss_coefficientNoSystem pipe fittings' total K, e.g. 2; pipe mode only, 0..1e6.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior: no extrapolation, impeller trim ratio restricted to 0.9-1.0, a constant-efficiency affinity approximation, and the side effect that curve_points writes system_curve.csv plus data.operating_point. It stops short of stating what happens when no bracketed intersection exists (error vs. partial result) or any cost/limits beyond the constraints already in the schema.

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?

Three tight sentences, front-loaded with the core operation before the optional features and constraints, and the output behavior closes the definition. The telegraphic phrasing is dense but every clause carries unique information.

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 21-parameter tool with no output schema and no annotations, the description covers the computation, the modeling assumptions, the hard constraints, and the file/data artifacts returned. What remains thin is failure behavior when the bracketed intersection is not found and how required parameter combinations interact across modes.

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 description coverage is 100%, so every one of the 21 parameters is already documented at source, making 3 the baseline. The description adds only mode-level framing (pipe mode vs H=Hstatic+KQ^2, series vs parallel) that is largely repeated in the schema, not new parameter meaning.

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?

The description names the concrete computation (pump/system operating point via bracketed head/efficiency interpolation, Darcy-Weisbach or static+KQ^2 system curve) plus the supported extensions (series/parallel pumps, affinity scaling, NPSHa margin, specific speed). An agent can pin down what this tool produces and how it differs from a mere power calculation, though it never explicitly names the siblings it should not be confused with.

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 or when-not-to-use guidance, and no routing toward alternatives such as calc_pump_power or fluids_pipe_network. Mode selection (Darcy-Weisbach vs system_coefficient) is only inferable from parameter descriptions, not stated in the description itself.

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

Deploy Server

Other Tools