Skip to main content
Glama

Simple House Planner

Concrete calculator

calculate_concrete
Read-only

Use this when someone asks how much concrete they need for a slab, footing, post holes or steps, or how many bags to buy. Calculates the concrete for a slab (length × width × thickness, or area × thickness), a footing (length × width × depth), round columns, piers or post holes (π × (diameter ÷ 2)² × height, less the post that stands in each hole), or solid steps (each step filled down to the ground, the top step being the landing), times a count, plus waste (10 % when not given; NRMCA advises 4 to 10 %). Returns the volume in liters without and with waste, the total in cubic feet and cubic yards (1 cu yd = 764.555 l), the bags of premixed concrete that make the total, by size (lb40, lb60 and lb80: Quikrete bags that make 0.30, 0.45 and 0.60 cu ft; kg20: 10 l, as Blue Circle states; kg25 and kg40: 12.5 and 20 l, as Sievert states), the bags of another product when bagWeight and bagYield are given (bag: count and weight in kilograms), the site mix when mix or all mix fields are given (mix: whole bags of cement and their weight, the sand, stone and water for them in liters, the measure in liters, and the measures of sand, stone and water for each bag), whether the total reaches readyMixLeast (1 cu yd unless given, as ready-mix plants usually deliver no less), and the fewest and the most truckloads at truckMin to truckMax (8 to 12 cu yd unless given).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "shape": "<shape>"
    },
    "name": "calculate_concrete"
  }
}

Input Schema

NameRequiredDescriptionDefault
mixNoA named mix for concrete mixed on site from 50 kg bags of cement, with sand, stone and water measured in cans of 18 l (ABCP, Brazil); per bag: lean (concreto magro, base of footings and under floors) 8.5 sand, 11.5 stone, 2 water, makes 250 l; footing (fundações) 5, 6.5, 1.5, 160 l; floor (pisos) 4, 6, 1.5, 140 l; structural (pilares, vigas, lajes) 4, 5.5, 1.25, 140 l. The mix fields replace its parts.
runNoDepth of each tread, in millimeters.
areaNoArea of a slab in square meters, used instead of length and width.
postNoSide of a square post, or diameter of a round one, that stands in each hole and takes the place of concrete; a US 4×4 post is 88.9, in millimeters.
riseNoHeight of each step, in millimeters.
countNoNumber of equal slabs, footings, columns or holes, or stairs; 1 when left out.
shapeYesslab (length and width, or area, and thickness), footing (length, width and thickness, which is its depth), column (a round column, pier or post hole: diameter and height), steps (solid steps: steps, rise, run and width).
stepsNoNumber of steps, with the top one, which is the landing.
wasteNoPercent added for waste; 10 when left out.
widthNoWidth of a slab, a footing or steps, in millimeters.
heightNoHeight of a column, or depth of a hole, in millimeters.
lengthNoLength of a slab or a footing, in millimeters.
mixBagNoWeight in kilograms of the bag of cement for a site mix, such as 35 in France or 25 in Spain; with the other mix fields it defines a mix without mix.
landingNoDepth of the top step where it is a landing; the tread depth when left out, in millimeters.
mixSandNoMeasures of sand for one bag of cement.
bagYieldNoFresh concrete from that bag in liters, as printed on it, such as 17.5 for a 35 kg bag.
diameterNoDiameter of a round column or hole, in millimeters.
mixStoneNoMeasures of gravel or crushed stone for one bag of cement.
mixWaterNoWater in liters for one bag of cement.
mixYieldNoConcrete in liters that one bag of cement makes. Lafarge and Vicat, per 35 kg bag in 10 l buckets: 350 kg/m³, 5 sand, 8 gravel, 17 l water, 100 l; Lafarge 400 kg/m³ for reinforced concrete: 4, 7, 17 l, 90 l.
truckMaxNoThe largest load of a truck mixer, in liters; 9175 (12 cu yd) when left out, such as 9000 in Germany.
truckMinNoThe smallest load of a truck mixer, in liters; 6116 (8 cu yd) when left out, such as 6000 in Germany.
bagWeightNoWeight in kilograms of a bag of premixed concrete other than the listed ones, such as 35; needs bagYield.
postShapeNoShape of the post; square when left out.
thicknessNoThickness of a slab, or depth of a footing, in millimeters.
mixMeasureNoVolume in liters of the can or bucket that measures the sand and stone, such as 10 for the French bucket.
readyMixLeastNoThe least amount a ready-mix plant delivers, in liters; 764.555 (1 cu yd) when left out, such as 1000 in Germany.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already establish readOnlyHint=true, destructiveHint=false, and openWorldHint=false, but the description adds extensive behavioral detail: default waste of 10%, the 4–10% NRMCA guidance, default readyMixLeast of 1 cu yd, default truck range of 8–12 cu yd, bag yields for lb40/lb60/lb80/kg20/kg25/kg40, and exactly what the response contains (liters with and without waste, cubic feet/yards, bag counts, site-mix breakdown, ready-mix threshold, truckload range). This is rich disclosure far beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The usage guidance is well front-loaded, and nearly every clause carries real information rather than filler. However, the body is a dense, run-on enumeration packed into one sentence with nested parentheticals, which makes it hard to scan despite the justified length for a 27-parameter calculator.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex 27-parameter calculator with no output schema, the description is complete: it covers the calculation formulas, default assumptions, output units and returned quantities, and the conditions for bag and site-mix results. An agent has enough information to select the tool and interpret its output correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description meaningfully supplements the schema by explaining default values (waste 10%, readyMixLeast 1 cu yd, truckMin/truckMax 8–12 cu yd), the relationship between parameters (area replaces length and width; post reduces hole volume), and how bag and mix parameters map to outputs. It does not explain every parameter individually, but it adds substantive semantic context.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a precise verb+resource: calculating how much concrete is needed for a slab, footing, post holes or steps, or how many bags to buy. It explicitly enumerates the shape types (slab, footing, column/post holes, solid steps), which distinguishes it clearly from sibling calculators such as calculate_bricks or calculate_gravel.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The first sentence gives explicit when-to-use guidance: 'Use this when someone asks how much concrete they need for a slab, footing, post holes or steps, or how many bags to buy.' It does not name when-not-to-use cases or alternative sibling tools, but the domain routing is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources