Skip to main content
Glama
eng-toolkit

eng-toolkit

by Lin830326

Fluids Open Channel

fluids_open_channel

Compute Manning open-channel flow for rectangular, trapezoidal, triangular, and circular sections, including normal/critical depths, Froude regime, hydraulic jumps, and GVF profiles.

Instructions

Rectangular/trapezoidal/triangular/part-full circular Manning flow, normal/critical/alternate depths, Froude regime, Belanger or momentum jump, standard-step GVF CSV. SI Manning conversion, bracketed roots; <=500 profile steps. Circular dual normal-depth branches explicit; no pressurized or transcritical profile.

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_open_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoanalysis (given discharge), uniform (compute discharge at depth), or profile (given boundary depth and discharge).analysis
depthNoFlow depth, e.g. '0.5 m'; required for uniform; '' uses normal depth in analysis; omit for profile.
shapeNorectangular, trapezoidal, triangular, or circular; prismatic section throughout.rectangular
widthNoChannel bottom width, e.g. '2 m'; required for rectangular/trapezoidal, '' for triangular/circular.
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
diameterNoCircular inside diameter, e.g. '1 m'; required only for circular, '' for open polygonal sections.
bed_slopeNoBed fall per horizontal length, e.g. 0.001; -0.1..0.1; positive required for uniform/normal-depth calculation.
dischargeNoPositive channel discharge, e.g. '2 m^3/s'; required for analysis/profile; '' for uniform mode.
manning_nNoConventional Manning roughness n, e.g. 0.015; 0.005..0.2; same tabulated value for SI and imperial inputs.
side_slopeNoHorizontal/vertical bank slope z, e.g. 1; positive for triangular/trapezoidal; 0 for rectangular/circular.
normal_branchNolower or upper circular normal-depth root; lower is default; upper requires discharge above full-section capacity.lower
profile_stepsNoRequested profile subdivisions, 1..500; adaptive bisection adds up to 12 levels, with 500 total step attempts; actual resolution reported.
boundary_depthNoKnown profile boundary depth, e.g. '1 m'; profile only; downstream for subcritical, upstream for supercritical; '' omits.
profile_lengthNoPositive reach length, e.g. '100 m'; required for profile; '' omits in other modes.
dynamic_viscosityNoFluid dynamic viscosity, e.g. '1 mPa*s'; all modes; '' requires kinematic_viscosity instead.1 mPa*s
kinematic_viscosityNoFluid kinematic viscosity, e.g. '1 cSt'; '' omits; supply only when dynamic_viscosity is ''.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A3.5/5.0
Behavior4/5

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

No annotations exist, so the description carries the full load, and it does disclose meaningful computational behavior: SI Manning conversion, bracketed root solving, a 500-step profile ceiling, explicit treatment of the two circular normal-depth branches, and an explicit exclusion of pressurized and transcritical profiles. What it omits is failure behavior and what the response looks like (units, CSV layout beyond 'CSV'). For an unannotated tool this is above-average disclosure.

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?

It is short, but the structure is keyword-soup: comma-separated capability fragments rather than front-loaded prose, so the core statement of what the tool does is buried in an enumeration. Every clause does carry information (no filler), but readability and scannability suffer from the telegraphic packing.

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

Completeness3/5

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

For a 16-parameter, annotation-free tool with no output schema, the description should at least sketch return values and unit conventions. It hints at CSV profile output and reported resolution but never says what the analysis or uniform modes return, nor how errors surface. The 100% schema coverage compensates for input gaps, leaving the return-value and failure-mode gaps as the main deficiency.

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 the schema already documents every one of the 16 parameters, including ranges, defaults, and mode-conditional requirements. The description adds only marginal meaning beyond that, chiefly reinforcing the dual normal-depth branch semantics tied to normal_branch. Baseline 3 applies when the schema does this much of the work.

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 specific resource (open-channel Manning flow) and enumerates the analyses performed: normal/critical/alternate depths, Froude regime, Belanger or momentum jump, and standard-step GVF. The four supported section shapes are stated up front, so an agent can distinguish this from sibling fluids tools like fluids_pipe_network or fluids_compressible. It is telegraphic rather than verb-led, but the domain and capabilities are unambiguous.

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 rather than stated: the description gives a hard exclusion ('no pressurized or transcritical profile') and the schema's mode field explains analysis/uniform/profile, which effectively routes the agent. However, there is no explicit 'use this instead of X' guidance and no statement of prerequisites such as needing positive bed slope for uniform flow beyond what the schema says. Minimum-viable routing exists, but the description itself carries little of it.

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