omni_brick_mortar
Calculate bricks, mortar bags, and masonry sand needed for brick walls from wall length, height, and brick type, returning deterministic material quantities.
Instructions
Brick & Mortar Quantity Calculator. Calculate modular, standard, and queen brick quantities plus Type N or Type S mortar bags for brick masonry walls. Discipline: CONSTRUCTION. Governing mathematical model / formula: Modular Bricks = Wall Area (sq ft) × 6.85 Bricks/sq ft.
USAGE GUIDELINES:
WHEN TO USE: Invoke for deterministic calculation of bricks_needed (Bricks to Order (5% Waste)), wall_area (Total Wall Face Area), mortar_bags (80 lb Mortar Bags (Type N)), masonry_sand (Masonry Sand Required) using wall_length (Wall Length in ft), wall_height (Wall Height in ft), brick_type (Bricks per Sq Ft (6.85 Modular, 5.76 Queen)). 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 'Brick & Mortar 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): "brick-mortar"
category (string): "construction"
name (string): "Brick & Mortar Quantity Calculator"
formula (string): Governing mathematical formula string
inputs (object): Echoed input parameter dictionary with applied defaults
metrics (object): Dictionary of computed outputs:
metrics.bricks_needed (Bricks to Order (5% Waste)): Formatted display string (e.g. '1,151 bricks')
metrics.wall_area (Total Wall Face Area): Formatted display string (e.g. '160.0 sq ft')
metrics.mortar_bags (80 lb Mortar Bags (Type N)): Formatted display string (e.g. '8 bags (1 per 140 bricks)')
metrics.masonry_sand (Masonry Sand Required): Formatted display string (e.g. '0.77 tons')
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_brick_mortar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brick_type | No | Bricks per Sq Ft (6.85 Modular, 5.76 Queen). Standard modular brick = 6.85 units/sq ft with 3/8" joint. Default: 6.85. Min: 4.5. Max: 8. | |
| wall_height | No | Wall Height (ft). Height of brick wall in feet. Default: 8. Min: 1. Max: 30. | |
| wall_length | No | Wall Length (ft). Length of brick wall in feet. Default: 20. Min: 2. Max: 200. |