Skip to main content
Glama

eng_orifice_flow

Read-only

Orifice, nozzle and weir flow — Liquid flow through a sharp-edged orifice or nozzle (from head or pressure drop, optional pipe diameter for the beta/approach correction) or over a weir: rectangular sharp-crested (Francis, 0-2 end contractions), Cipolletti or V-notch (any angle). Returns gpm, cfs, L/s, m3/h and MGD with formula and validity notes. Params: type (orifice|nozzle|rect-weir|cipolletti|vnotch), diameter (in, or mm with units=metric), head (ft or m), dp (psi or kPa), sg, cd, pipe_diameter, length (weir crest), contractions, angle (deg), units (us|metric). Offline. 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": {
      "diameter": "<diameter>",
      "head": "<head>"
    },
    "name": "eng_orifice_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
headYese.g. 10
diameterYese.g. 1

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (readOnly, non-destructive, openWorld), the description discloses that results come back in five unit systems with the formula and validity notes, that the tool works offline, and — importantly — that invocation costs $0.003 USDC via x402 on Base. That payment requirement is behavior an agent must know before calling. It stops short of describing failure modes for out-of-range inputs (e.g., invalid contraction counts).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is well front-loaded with the physical cases, and the return-value sentence is compact. The trailing parameter inventory is dense and, because most of those parameters are absent from the schema, much of that space does not earn its place and instead creates ambiguity.

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?

With no output schema, the description usefully covers return values (gpm, cfs, L/s, m3/h, MGD plus formula and validity notes) and the offline/payment context. It is let down by the parameter list not matching the actual two-parameter schema, leaving the agent unsure whether the richer inputs are supported.

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?

The description enumerates a rich parameter set (type, dp, sg, cd, pipe_diameter, length, contractions, angle, units) that the input schema does not define — only `head` and `diameter` exist. It does clarify units (in/mm, ft/m, psi/kPa) and the us|metric switch, but an agent following the description will attempt to pass parameters that do not exist in the schema, which is actively misleading rather than additive.

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 names the specific resources (sharp-edged orifice/nozzle, rectangular sharp-crested weir, Cipolletti, V-notch) and the computation performed (flow from head or pressure drop, with beta/approach correction). It is clearly distinguishable from a generic pipe-flow sibling by naming the hydraulic structures and the governing formulas (Francis, end contractions).

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 implied through the enumerated structure types and the head-vs-dp input paths, so an agent can infer which case to pick via `type`. However, there is no explicit when-to-use/when-not guidance and no named alternative (e.g., eng_pipe_flow) for pressurized conduit flow versus free-surface weir flow.

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