Retaining Wall Block and Pallet Calculator
retaining_wall_blocksCalculate segmental retaining wall blocks, caps and pallets plus gravel for the base trench and drainage backfill (in tons). Courses come from the exposed height plus the buried first course (bury) divided by block_height; blocks per course from length ÷ block_length; cap_length 0 means no caps; base_width, base_depth and drain_width set the gravel volumes using rock_density. Use for dry-stacked landscape retaining walls. For mortared CMU walls use concrete_block_wall; for brick use brick_wall; for a gravel area use gravel. Read-only calculation with no side effects; the same inputs always give the same result. Every input is optional and falls back to the calculator page default; units is "us" (default) or "metric". Returns headline (amount to buy), summary lines, numbered worked steps, inputs_used and calculator_url.
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": "retaining_wall_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bury | No | Buried depth of the first course (about 1 in per ft of wall height). Unit: in (US) / cm (metric). Default (US units): 3. | |
| units | No | Unit system for every length/area/volume input: "us" (feet, inches, ft², ft³) or "metric" (m, cm or mm, m², m³). Defaults are converted when "metric" is chosen. | us |
| waste | No | Extra for cuts. Unit: % (US) / % (metric). Default (US units): 5. | |
| height | No | Exposed wall height. Unit: ft (US) / m (metric). Default (US units): 3. | |
| length | No | Wall length. Unit: ft (US) / m (metric). Default (US units): 40. | |
| cap_price | No | Price per cap. Unit: $ (US) / $ (metric). Optional, leave out to skip. | |
| base_depth | No | Gravel base depth. Unit: in (US) / cm (metric). Default (US units): 6. | |
| base_width | No | Base trench width. Unit: in (US) / cm (metric). Default (US units): 24. | |
| cap_length | No | Cap unit length (0 = no caps). Unit: in (US) / cm (metric). Default (US units): 12. | |
| rock_price | No | Gravel price per US ton. Unit: $ (US) / $ (metric). Optional, leave out to skip. | |
| block_price | No | Price per block. Unit: $ (US) / $ (metric). Optional, leave out to skip. | |
| drain_width | No | Drainage gravel behind the block. Unit: in (US) / cm (metric). Default (US units): 12. | |
| block_height | No | Installed block height. Unit: in (US) / cm (metric). Default (US units): 6. | |
| block_length | No | Installed block length. Unit: in (US) / cm (metric). Default (US units): 12. | |
| rock_density | No | Gravel density (from your supplier). Unit: US ton/yd³ (US) / t/m³ (metric). Default (US units): 1.4. | |
| blocks_per_pallet | No | Blocks per pallet. Default (US units): 72. |