Skip to main content
Glama

eng_pipe_flow

Read-only

Pipe flow pressure drop (Darcy-Weisbach) — Pipe friction loss and pressure drop. flow_gpm (or flow_lps/flow_m3h), inner diameter_in (or diameter_mm), length_ft (or length_m); optional material=pvc|copper|steel|galvanized|cast-iron|ductile-iron|stainless|hdpe|pex|concrete or roughness_mm, fluid=water|glycol-30|glycol-50|diesel|hydraulic-oil|seawater (or density_kgm3+viscosity_cp), temp_c, minor_k (fittings K sum), elevation_ft. Returns velocity, Reynolds number, regime, Colebrook friction factor, head loss, psi/kPa drop, hydraulic hp, Hazen-Williams cross-check, diameter for 5 ft/s and velocity warnings. Price: $0.003 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": {
      "flow_gpm": "<flow_gpm>",
      "diameter_in": "<diameter_in>",
      "length_ft": "<length_ft>"
    },
    "name": "eng_pipe_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
flow_gpmYese.g. 50
length_ftYese.g. 200
diameter_inYese.g. 2

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare a safe read-only, open-world calculation, so the bar is lower. The description still adds real behavioral context the annotations omit: the full return payload (velocity, Reynolds number, regime, friction factor, head loss, psi/kPa, hydraulic hp, Hazen-Williams cross-check, velocity warnings) and a payment requirement of $0.003 USDC via x402, which is operationally critical before calling.

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?

Purpose is front-loaded in the first clause, and every subsequent token is a parameter or output name rather than filler. It reads as one dense run-on paragraph, which hurts scannability for a long option list, but nothing is truly wasted.

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

Completeness5/5

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

For a computation tool with no output schema, the description discloses inputs, unit alternatives, the returned quantities, and even cost per call, which is more than an agent needs to invoke it correctly. Warnings and the cross-check are flagged, closing the loop on result interpretation.

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

Parameters5/5

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

Although schema coverage is nominal 100%, the schema text is only 'e.g. 50' style, so the description carries most of the semantics: it enumerates the material and fluid enum values, spells out alternate unit inputs (flow_lps, flow_m3h, diameter_mm, length_m, roughness_mm, density_kgm3, viscosity_cp), and defines minor_k and elevation_ft. This adds substantial meaning beyond the three-property input schema.

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 opens with a specific verb+resource (pipe friction loss / pressure drop) and names the governing method (Darcy-Weisbach), which immediately separates it from sibling engineering calculators like eng_beam or eng_voltage_drop. An agent can tell what computation this performs without opening the schema.

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 required inputs (flow, diameter, length) and the alternative-unit forms convey the domain, but there is no explicit statement of when to prefer this over a Hazen-Williams or fitting-loss alternative, nor any exclusion criteria. The agent must infer applicability from the physics keywords alone.

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