Skip to main content
Glama
eng-toolkit

eng-toolkit

by Lin830326

Calc Pump Power

calc_pump_power

Calculates a pump's hydraulic output power and required shaft input power from flow, pressure rise, and overall efficiency; optionally returns shaft torque and heat loss when speed is provided.

Instructions

Hydraulic (output) power Qdp and shaft (input) power Qdp/eta of a pump, with optional shaft torque from the speed and the heat loss. 'efficiency' is the OVERALL efficiency (volumetric x hydro-mechanical), a fraction between 0 and 1, and 'flow_rate' is the delivered flow.

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_rate": "<flow_rate>",
      "pressure_rise": "<pressure_rise>",
      "efficiency": "<efficiency>"
    },
    "name": "calc_pump_power"
  }
}

Input Schema

NameRequiredDescriptionDefault
speedNoOptional shaft speed, e.g. '1500 rpm' (a bare '25 Hz' counts as 25 revolutions per second). Given: the shaft torque is also returned. Empty = skip.
flow_rateYesDelivered volumetric flow with unit, e.g. '60 L/min'
efficiencyYesOverall efficiency as a fraction, 0 < eta <= 1 (0.85, not 85)
power_unitNoUnit for the powers, e.g. 'kW', 'W', 'hp'kW
pressure_riseYesPressure rise across the pump (outlet minus inlet) with unit, e.g. '210 bar'

Output Schema

NameRequiredDescriptionDefault
okYes
dataNoNon-quantity payload (reports, listings)
errorNo
valueNoPrimary quantity result
valuesNoAll named quantity results (includes the primary)
warningsNo
artifactsNo
provenanceYesWhat produced the result and from which inputs.
review_statusNounreviewed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A3.9/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 well: it discloses the governing equations, that torque is only returned when speed is supplied, and that heat loss is part of the result, implying a pure read-only computation. It stops short of stating return structure or that nothing is persisted, but the output schema covers the former.

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 tight sentences, front-loaded with the formulas and then the two parameter clarifications. No filler, though the mixed formula/prose phrasing is dense enough to require a careful read.

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 five-parameter pure calculator with full schema coverage and an output schema, the definition supplies what an agent needs: the equations, unit-bearing inputs, and the efficiency convention. Only minor gaps remain, such as whether invalid units are rejected or coerced.

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%, so the baseline is 3. The description restates what the schema already says about efficiency being a 0–1 fraction and flow_rate being delivered flow, adding only the modest extra detail that efficiency is overall = volumetric x hydro-mechanical.

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?

Names the exact quantities computed — hydraulic (output) power Q*dp, shaft (input) power Q*dp/eta, plus optional shaft torque and heat loss — so an agent knows precisely what this calculator returns and how it differs from broader siblings like fluids_pump_system or electric_power_flow.

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

Usage Guidelines3/5

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

Usage is only implied: the formulas make clear this is the tool for pump power when flow and pressure rise are known, but there is no explicit when-to-use/when-not guidance and no reference to alternative tools for related pump calculations.

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