Skip to main content
Glama

eng_open_channel

Read-only

Open channel flow (Manning) — Uniform open-channel flow by the Manning equation for rectangular, trapezoidal, triangular and partly full circular channels: solves normal depth for a given flow (bisection) or flow for a given depth, and returns velocity, area, wetted perimeter, hydraulic radius, top width, Froude number and regime (subcritical / supercritical / near-critical), critical depth and critical slope, specific energy, bed shear stress, plus full-flow and maximum capacity and percent full for pipes. Flags sediment-deposit and earth-channel erosion velocities. Required: shape, slope (bed slope as a decimal), and flow (cfs; m3/s with units=metric) or depth (ft or m); width (bottom width) for rectangular/trapezoidal; diameter for circular. Optional: side_slope (horizontal:vertical, default 1.5 trapezoid / 2 triangle), n (Manning roughness) or material (concrete, pvc, earth, grass, riprap, corrugated-metal, natural-stream...), units=metric. 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": {
      "shape": "<shape>",
      "slope": "<slope>",
      "width": "<width>",
      "flow": "<flow>"
    },
    "name": "eng_open_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
flowYese.g. 50
shapeYese.g. trapezoidal
slopeYese.g. 0.002
widthYese.g. 3

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so safety is covered; the description goes further by disclosing the numerical method (bisection), the full return set, capacity/percent-full reporting for pipes, sediment-deposit and erosion flagging, and the $0.003 USDC x402 price. That is well beyond what the annotations provide. It stops short of describing failure modes, such as what happens when normal depth exceeds full-pipe flow or when the bisection fails to converge.

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?

The opening clause front-loads the domain, method and solve direction before any parameter detail, which is the right ordering. The back half is a dense wall of comma-separated outputs and inputs with no line breaks, which makes it harder to scan than it needs to be, but almost every clause carries distinct information.

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?

There is no output schema, and the description assumes that burden by enumerating velocity, area, wetted perimeter, hydraulic radius, top width, Froude number, regime, critical depth and slope, specific energy, bed shear stress, plus pipe capacity metrics. Combined with the shape-conditional input rules, defaults and pricing, an agent has enough to call this correctly without opening the schema.

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

Parameters4/5

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

Schema coverage is 100%, but the four schema properties only carry trivial examples ('e.g. trapezoidal'), while the description supplies real semantics: slope as a decimal bed slope, flow in cfs or m3/s with units=metric, side_slope as horizontal:vertical with per-shape defaults, and an n-or-material shortcut with named materials. Notably it documents diameter, side_slope, n, material and units that are absent from the schema entirely, so it compensates for a schema gap rather than merely restating it.

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 a specific method and resource ('Open channel flow (Manning) — Uniform open-channel flow by the Manning equation') and enumerates the supported geometries. It also states the bidirectional solve (normal depth from flow, or flow from depth), so an agent can immediately tell what the tool computes and that it is distinct from the other piping/drainage siblings.

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?

The description gives input-side guidance ('Required: shape, slope... and flow... or depth', 'width for rectangular/trapezoidal; diameter for circular'), which is genuinely useful for selecting parameters. However, it never states when to prefer this tool over adjacent siblings like eng_drain_size or eng_conduit_fill, and offers no exclusions or preconditions beyond the input list. Usage is therefore implied rather than directed.

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