Skip to main content
Glama

Simple House Planner

Paver calculator

calculate_pavers
Read-only

Use this when someone plans a patio, walkway or driveway of pavers and asks how many pavers, how much base gravel or sand they need. Calculates the pavers for a patio, a walk or a driveway (a rectangle, a circle or a given area): the area in square meters, the waste in percent and the area with waste, pavers per square meter with their joints, and the pavers to buy, rounded up. Waste when not given: 5 % for running bond, stack bond and herringbone at 90° in a rectangle, 10 % for herringbone at 45° and a round area (Western Interlock: 5 to 10 %). It also gives the edge restraint in millimeters (the perimeter less the edge a wall or a curb holds) with its spikes, one every 609.6 mm for a patio and every 304.8 mm for a driveway (Snap Edge); the compacted base depth, by default the CMHA PAV-TEC-002 minimum on well-drained soil of 101.6 mm for patios and walks and 152.4 mm for driveways; and the bedding sand depth, 25.4 mm. base and sand are results of the gravel calculation (area, volume in liters, cubic feet and cubic yards, density, weight in kilograms and US short tons, bags by size): the base is loose crushed stone (1600 kg/m³) under the paved area widened past each restrained edge by 152.4 mm (Snap Edge) or the base depth where that is more (CMHA PAV-TEC-003 extends the base past the restraint by its thickness), with 36 % added for compaction (Wisconsin DOT report 0092-22-05 measured 36 to 47 %); the sand is damp loose sand (1690 kg/m³) under the paved area. edge and spikes are absent for a given area without a perimeter.

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": {
      "paverLength": "<paverLength>",
      "paverWidth": "<paverWidth>"
    },
    "name": "calculate_pavers"
  }
}

Input Schema

NameRequiredDescriptionDefault
useNopatio (patios and walks, the default) or driveway; sets the least base depth and the spike spacing.
areaNoPaved area in square meters, used instead of the sizes; give perimeter for the edge restraint.
baseNoDepth of the compacted base; when left out 101.6 for a patio and 152.4 for a driveway, in millimeters.
sandNoDepth of the bedding sand; 25.4 when left out, in millimeters.
fixedNoLength of the edge of a rectangle or circle that a wall or a curb holds and that needs no edge restraint, in millimeters; 0 when left out.
jointNoJoint between pavers added to the paver size, in millimeters; 0 when left out, as nominal sizes include it.
wasteNoPercent added to the pavers; when left out 5, or 10 for herringbone45 and a round area.
widthNoWidth of a rectangular area, in millimeters.
lengthNoLength of a rectangular area, in millimeters.
patternNorunning (running bond, the default), stack (stack bond), herringbone (at 90° to the edges), herringbone45 (at 45°).
diameterNoDiameter of a round area, used instead of length and width, in millimeters.
perimeterNoLength of the edge to restrain, for an area given by area; without it there is no edge restraint, in millimeters.
compactionNoPercent of loose base added to the compacted volume; 36 when left out.
paverWidthYesWidth of one paver, its nominal size, in millimeters.
paverLengthYesLength of one paver, its nominal size, in millimeters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnly/openWorld/destructive, so the description must carry real behavioral weight, and it does: rounding up, default waste selection by pattern and shape, default base depths per use, spike spacing, and the fact that edge restraint is omitted when no perimeter is supplied. Much of the default detail (5%/10%, 101.6/152.4 mm, 25.4 mm, 36%) is already restated in the schema descriptions, which keeps it from a 5.

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?

Guidance is front-loaded, but the remainder is a single ~400-word run-on dense with standard citations (CMHA PAV-TEC-002/003, Wisconsin DOT 0092-22-05, Snap Edge) that do not help an agent invoke the tool. The base-widening rule is effectively stated twice, and an agent must parse nested parentheses to extract callable facts.

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?

With 15 parameters and no output schema, the description must describe return values itself, and it does in detail: area with waste, pavers per m², pavers to buy rounded up, edge restraint and spikes, base and sand depth, plus volume, density, weight and bag counts. Nothing an agent needs to call it or interpret the result is missing.

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

Parameters5/5

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

Schema coverage is already 100%, so the baseline is 3, but the description adds semantics the schema lacks: material densities (1600 kg/m³ crushed stone, 1690 kg/m³ damp sand), the base widened past a restrained edge by 152.4 mm, and the compaction expansion rule. These explain how parameters interact rather than redefining them.

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 first sentence names a specific verb (calculates) and enumerates the concrete outputs: paver count, base gravel, sand, edge restraint. The scope is precise about surfaces (patio, walkway, driveway) and shapes (rectangle, circle, given area), letting an agent tell it apart from the purely material-oriented siblings like 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?

"Use this when someone plans a patio, walkway or driveway of pavers and asks how many pavers, how much base gravel or sand they need" gives a clear trigger condition covering the main request types. It stops short of naming when to prefer a sibling such as calculate_gravel for a plain base-material question, so it is clear context without explicit alternatives.

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