Skip to main content
Glama
omnioperand-mcp

omnioperand-mcp

omni_retaining_wall

Calculate retaining wall blocks, capstones, drainage gravel, and perforated drain pipe from wall length, height, and block dimensions for accurate construction material estimates.

Instructions

Retaining Wall Block & Backfill Calculator. Calculate retaining wall blocks, capstones, gravel drainage backfill, and perforated drain tile pipe. Discipline: CONSTRUCTION. Governing mathematical model / formula: Blocks = [Wall Length (ft) × Wall Height (ft)] / Block Face Area (sq ft).

USAGE GUIDELINES:

  • WHEN TO USE: Invoke for deterministic calculation of blocks_needed (Total Retaining Blocks), cap_stones (Cap Stones (Linear Feet)), drainage_gravel (Drainage Gravel Backfill (12" deep)), drain_pipe (Perforated 4" Drain Pipe) using length (Wall Length in ft), height (Exposed Wall Height in ft), block_length (Block Face Length in in), block_height (Block Height in in). 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.

  • SIBLING ROUTING: Use this dedicated specialist tool for 'Retaining Wall Block & Backfill Calculator' rather than generic dispatchers like omni_universal_query. For cross-discipline dynamic dispatch, see omni_universal_query.

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): "retaining-wall"

    • category (string): "construction"

    • name (string): "Retaining Wall Block & Backfill Calculator"

    • formula (string): Governing mathematical formula string

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

    • metrics (object): Dictionary of computed outputs:

      • metrics.blocks_needed (Total Retaining Blocks): Formatted display string (e.g. '315 blocks')

      • metrics.cap_stones (Cap Stones (Linear Feet)): Formatted display string (e.g. '30 units (30 ft)')

      • metrics.drainage_gravel (Drainage Gravel Backfill (12" deep)): Formatted display string (e.g. '3.33 cu yd (4.66 tons)')

      • metrics.drain_pipe (Perforated 4" Drain Pipe): Formatted display string (e.g. '30 linear ft')

    • 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_retaining_wall"
  }
}

Input Schema

NameRequiredDescriptionDefault
heightNoExposed Wall Height (ft). Exposed height above grade (add 1 buried course). Default: 3. Min: 1. Max: 10.
lengthNoWall Length (ft). Total running length of the retaining wall. Default: 30. Min: 4. Max: 200.
block_heightNoBlock Height (in). Height of block in inches. Default: 4. Min: 3. Max: 8.
block_lengthNoBlock Face Length (in). Length of block face in inches. Default: 12. Min: 8. Max: 18.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

Score is being calculated.

Deploy Server

Other Tools