Skip to main content
Glama
omnioperand-mcp

omnioperand-mcp

omni_rebar_calculator

Calculate rebar sticks, grid spacing, splice overlap, linear footage, tie wire, and steel weight for concrete slabs and footings using slab dimensions, spacing, and bar size.

Instructions

Concrete Rebar Grid & Weight Calculator. Calculate rebar sticks, grid layout spacing, overlap splices, and steel weight for reinforced concrete slabs and footings. Discipline: CONSTRUCTION. Governing mathematical model / formula: Linear Feet = [(Length / Spacing + 1) × Width] + [(Width / Spacing + 1) × Length].

USAGE GUIDELINES:

  • WHEN TO USE: Invoke for deterministic calculation of rebar_sticks (20-Foot Rebar Sticks), linear_feet (Total Steel Linear Footage), total_weight (Total Steel Rebar Weight), tie_wire (Rebar Wire Ties Needed) using slab_length (Slab Length in ft), slab_width (Slab Width in ft), grid_spacing (Rebar Grid Spacing (On-Center) in in), rebar_size (Rebar Bar Size (#3: 3/8", #4: 1/2", #5: 5/8")). 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 'Concrete Rebar Grid & Weight Calculator' 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): "rebar-calculator"

    • category (string): "construction"

    • name (string): "Concrete Rebar Grid & Weight Calculator"

    • formula (string): Governing mathematical formula string

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

    • metrics (object): Dictionary of computed outputs:

      • metrics.rebar_sticks (20-Foot Rebar Sticks): Formatted display string (e.g. '45 sticks (20 ft)')

      • metrics.linear_feet (Total Steel Linear Footage): Formatted display string (e.g. '880 linear ft')

      • metrics.total_weight (Total Steel Rebar Weight): Formatted display string (e.g. '588 lbs (0.29 tons)')

      • metrics.tie_wire (Rebar Wire Ties Needed): Formatted display string (e.g. '308 intersection ties')

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

Input Schema

NameRequiredDescriptionDefault
rebar_sizeNoRebar Bar Size (#3: 3/8", #4: 1/2", #5: 5/8"). #4 rebar (1/2" diameter) is standard. Default: 4. Min: 3. Max: 8.
slab_widthNoSlab Width (ft). Slab width in feet. Default: 20. Min: 2. Max: 200.
slab_lengthNoSlab Length (ft). Slab length in feet. Default: 30. Min: 2. Max: 200.
grid_spacingNoRebar Grid Spacing (On-Center) (in). 12" to 18" typical for residential concrete slabs. Default: 18. Min: 6. Max: 36.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

Score is being calculated.

Deploy Server

Other Tools