Skip to main content
Glama

Simple House Planner

Brick and block calculator

calculate_bricks
Read-only

Use this when someone asks how many bricks or concrete blocks a wall needs, and how much mortar or grout. Calculates the bricks or concrete blocks for a wall (length × height, or an area) less its doors and windows: the net wall area and the openings in square meters, units per square meter of one wythe with their joints, the height of one course with its joint and the courses in the wall height, the units without waste and the units to buy with waste (5 % when not given; BIA Technical Note 10 and CMHA TEK 04-02A), each rounded up. Brick counts match BIA Technical Note 10, Table 4 (modular 675 per 100 sq ft). Mortar: mortar gives the bags of premixed mortar of each size alone, with 15 % added for waste, the low end of BIA's 15 to 25 % (lb80 and lb60, QUIKRETE Mortar Mix, whose 80 lb bag lays up to 37 standard bricks or 13 blocks of 8 × 8 × 16 in; kg25, a typical 25 kg bag at the same yield per kilogram); cement gives 70 lb bags of masonry cement and sand its kilograms of sand instead (8 bags and 1 short ton of sand lay 1,000 brick-size units or 240 blocks, CMHA TEK 04-02A, Table 2, which includes waste). Other sizes scale these counts by the mortar in the joints: by volume for bricks and solid blocks, by joint length for hollow blocks on face shells. Two wythes of brick add a collar joint. Grout for hollow 6, 8, 10 and 12 in blocks follows CMHA TEK 04-02A, Table 3 (including 3 % waste), scaled by the spacing of the grouted cores: grout in liters and groutBags of 80 lb preblended grout at 0.66 cu ft each.

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": {
      "unit": "<unit>"
    },
    "name": "calculate_bricks"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaNoArea of one face of the wall in square meters, used instead of length and height.
unitYesThe brick or block, width × height × length in inches for 3/8 in joints: modular 3 5/8 × 2 1/4 × 7 5/8, standard 3 5/8 × 2 1/4 × 8, queen 2 3/4 × 2 3/4 × 8, king 2 3/4 × 2 3/4 × 9 3/4, engineer (engineer modular) 3 5/8 × 2 13/16 × 7 5/8, norman 3 5/8 × 2 1/4 × 11 5/8, utility 3 5/8 × 3 5/8 × 11 5/8; uk 102.5 × 65 × 215 mm for 10 mm joints; hollow concrete blocks of 8 × 16 in on the face, nominal widths block4, block6, block8, block10, block12, each 3/8 in under nominal; ukBlock 100 × 215 × 440 mm, solid, for 10 mm joints.
doorsNoDoors to leave out of the wall; 0 when left out.
groutNoSpacing on center of the block cores filled with grout, in millimeters, at least 203.2 (every core); only for block6, block8, block10 and block12 at their own width; no grout when left out.
jointNoMortar joint in millimeters; the unit's own when left out, 9.525 for US units and 10 for UK units.
wasteNoPercent added to the units; 5 when left out.
heightNoHeight of the wall, in millimeters.
lengthNoLength of the wall, in millimeters.
wythesNoLayers of brick through the wall, joined by a mortared collar joint; 1 when left out; 2 only for brick.
windowsNoWindows to leave out of the wall; 0 when left out.
doorWidthNoWidth of each door; 914.4 when left out, in millimeters.
unitWidthNoWidth of the unit through the wall, used instead of the chosen unit's, in millimeters.
doorHeightNoHeight of each door; 2032 when left out, in millimeters.
unitHeightNoHeight of the unit's face, used instead of the chosen unit's, in millimeters.
unitLengthNoLength of the unit's face, used instead of the chosen unit's, in millimeters.
windowWidthNoWidth of each window; 914.4 when left out, in millimeters.
windowHeightNoHeight of each window; 1524 when left out, in millimeters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already establish this as a safe, read-only, closed-world calculation, so the bar is lower. The description adds genuine behavior: rounding up, 5% default waste, grout restricted to block6–12 at their own width, collar joint for two wythes, and BIA/CMHA sourcing. However, much of that same behavior (defaults, joint sizes, enum widths) is already stated verbatim in the schema, so the marginal disclosure is moderate rather than decisive.

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

Conciseness2/5

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

The usage trigger is correctly front-loaded, but the remainder is one dense run-on paragraph mixing invocation facts with output contents and standards citations. Sentences like the mortar/cement branch require re-reading to parse and bury the few decision-relevant facts (waste default, grout restrictions) mid-stream.

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

Completeness4/5

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

With 17 parameters and no output schema, the description carries the return-value burden and does so thoroughly (units without/with waste, mortar bags by size, cement and sand, grout and groutBags). Coverage is strong; only the lack of any structural separation between inputs and returned values keeps it from a 5.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3 and the schema already documents every parameter including unit dimensions and defaults. The description adds interaction semantics the schema cannot express (mortar scales by volume for solid units vs joint length for hollow blocks; grout scales with core spacing), but never maps these to specific parameter names, so the added meaning is indirect.

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?

Opens with a specific trigger and verb-resource pair: 'how many bricks or concrete blocks a wall needs, and how much mortar or grout.' It covers the full scope (units, mortar, cement/sand, grout) and is clearly distinct from siblings like calculate_concrete or calculate_pavers.

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 clause gives an explicit when-to-use condition tied to the user's question, which is more than most calculator siblings offer. It does not name an alternative tool or state when-not to use it (e.g., versus calculate_concrete for block walls), so it stops short of a 5.

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