omni_flooring
Calculate flooring and tile quantities, including boxes needed, net room area, gross ordered area, and actual coverage from room dimensions, box coverage, and waste percentage.
Instructions
Flooring & Tile Quantity Calculator. Calculate hardwood planks, laminate, vinyl plank (LVP), and ceramic tile boxes with waste allowance. Discipline: CONSTRUCTION. Governing mathematical model / formula: Total Ordered Sq Ft = Room Area × (1 + Waste Percentage / 100).
USAGE GUIDELINES:
WHEN TO USE: Invoke for deterministic calculation of boxes_needed (Total Boxes to Purchase), net_sqft (Net Room Area), gross_sqft (Gross Ordered Area), actual_coverage (Purchased Box Coverage) using length (Room Length in ft), width (Room Width in ft), box_coverage (Coverage per Box in sq ft), waste_pct (Waste Percentage 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.
DISAMBIGUATION & BOUNDARIES:
Use this dedicated specialist tool for 'Flooring & Tile Quantity 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): "flooring"
category (string): "construction"
name (string): "Flooring & Tile Quantity Calculator"
formula (string): Governing mathematical formula string
inputs (object): Echoed input parameter dictionary with applied defaults
metrics (object): Dictionary of computed outputs:
metrics.boxes_needed (Total Boxes to Purchase): Formatted display string (e.g. '12 boxes')
metrics.net_sqft (Net Room Area): Formatted display string (e.g. '252.0 sq ft')
metrics.gross_sqft (Gross Ordered Area): Formatted display string (e.g. '277.2 sq ft')
metrics.actual_coverage (Purchased Box Coverage): Formatted display string (e.g. '288.0 sq 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_flooring"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Room Width (ft). Room width in feet. Default: 14. Min: 1. Max: 100. | |
| length | No | Room Length (ft). Room length in feet. Default: 18. Min: 1. Max: 100. | |
| waste_pct | No | Waste Percentage (%). 10% for straight lay, 15% for herringbone/diagonal. Default: 10. Min: 0. Max: 25. | |
| box_coverage | No | Coverage per Box (sq ft). Manufacturer square feet per box. Default: 24. Min: 5. Max: 60. |