Skip to main content
Glama
omnioperand-mcp

omnioperand-mcp

omni_culvert_headwater_inlet_outlet

Calculates highway culvert headwater depth, HW/D ratio, flow-control regime, and discharge capacity to determine inlet versus outlet control under FHWA HDS-5.

Instructions

Highway Culvert Hydraulics (Inlet vs Outlet Control Headwater Depth). Calculate culvert headwater depth (HW/D ratio), flow control regime (inlet control vs outlet control), and discharge capacity (FHWA HDS-5 standards). Discipline: ENGINEERING. Governing mathematical model / formula: Inlet Control HW/D = c · (Q / [A · √D])^Y - 0.5 · S | Allowable HW/D ≤ 1.2 to 1.5.

USAGE GUIDELINES:

  • WHEN TO USE: Invoke for deterministic calculation of headwater_depth_ft (Upstream Headwater Depth (HW)), headwater_to_diameter_ratio (Headwater Ratio (HW/D)), hydraulic_control_regime (Governing Hydraulic Regime), culvert_barrel_velocity_fps (Barrel Flow Velocity) using culvert_flow_q_cfs (Design Peak Flow Rate (Q in CFS) in CFS), culvert_diameter_in (Culvert Inside Diameter (Inches) in in), culvert_barrel_length_ft (Culvert Barrel Length (Feet) in ft). Guarantees exact machine floating-point precision, eliminating LLM arithmetic mistakes and formula hallucinations.

  • WHEN NOT TO USE: Do not use for qualitative evaluations or unquantified reasoning. All input parameters must be valid numerical values.

DISAMBIGUATION & BOUNDARIES:

  • Use this dedicated specialist tool for 'Highway Culvert Hydraulics (Inlet vs Outlet Control Headwater Depth)' rather than generic dispatchers like omni_universal_query.

  • For multi-calculation chained jobs, use 'omni_batch_calculate'.

  • To inspect schema fields, see 'omni_describe_solver'.

BEHAVIOR & SAFETY:

  • Pure deterministic computation with machine floating-point precision.

  • Read-only, idempotent, and stateless. Zero side effects or persistent state mutations.

  • Input validation: All arguments are validated against physical and domain bounds. Out-of-bounds inputs return a safe diagnostic error status without throwing runtime exceptions.

RETURNS:

  • Structured JSON object containing:

    • status (string): "success" on valid execution or "error" if validation fails

    • calculator (string): "culvert-headwater-inlet-outlet"

    • category (string): "engineering"

    • name (string): "Highway Culvert Hydraulics (Inlet vs Outlet Control Headwater Depth)"

    • formula (string): Governing mathematical formula string

    • inputs (object): Echoed input parameter dictionary with applied defaults

    • metrics (object): Dictionary of computed outputs:

      • metrics.headwater_depth_ft (Upstream Headwater Depth (HW)): Formatted display string (e.g. '3.85 Feet')

      • metrics.headwater_to_diameter_ratio (Headwater Ratio (HW/D)): Formatted display string (e.g. '1.28 (Acceptable ≤ 1.5)')

      • metrics.hydraulic_control_regime (Governing Hydraulic Regime): Formatted display string (e.g. 'Inlet Control (Submerged Entrance)')

      • metrics.culvert_barrel_velocity_fps (Barrel Flow Velocity): Formatted display string (e.g. '6.37 ft / second')

    • execution_time_ms (number): Latency in milliseconds.

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": "omni_culvert_headwater_inlet_outlet"
  }
}

Input Schema

NameRequiredDescriptionDefault
culvert_flow_q_cfsNoDesign Peak Flow Rate (Q in CFS) (CFS). 10-year or 25-year design storm runoff. Default: 45. Min: 2. Max: 500.
culvert_diameter_inNoCulvert Inside Diameter (Inches) (in). Circular pipe culvert diameter D. Default: 36. Min: 12. Max: 96.
culvert_barrel_length_ftNoCulvert Barrel Length (Feet) (ft). Length under road embankment. Default: 65. Min: 20. Max: 250.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

Score is being calculated.

Deploy Server

Other Tools