Skip to main content
Glama

KolikMaterialu Construction Calculators

Calculate construction material quantities

calculate_material_v2
Read-onlyIdempotent

Calculate construction material quantities for DIY, renovation and building projects using the same deterministic calculation engine as the website. Use when a user asks how much material to buy or needs volume, area, pieces, coverage or a cost estimate. International (GB/US/INT): concrete, gravel, sand, wall area, paint, tiles, flooring, excavation, soil and boards. Czech (CZ) also supports foundation slabs, facade insulation, screed, primer, concrete footings/strips and hollow blocks. Choose the calculatorId and explicit market; ask if market or required dimensions are unknown. CZ uses published CZK catalogue prices and local order conventions (e.g. soil includes 10% and purchase rounding); omit locale, units and estimate. GB/US/INT require locale and display units and use explicit dimensions and waste allowance, with no catalogue prices; only an optional user-supplied price can produce a cost. Match the calculator and market input alternative. Do not invent missing dimensions or prices, present estimates as quotes, or use quantities as structural design. Report units, assumptions, warnings and price status; use the returned calculator link when available.

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": {
      "calculatorId": "<calculatorId>",
      "market": "<market>",
      "input": "<input>"
    },
    "name": "calculate_material_v2"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesChoose the fields matching the calculator and market in each alternative. Do not mix metric and imperial field suffixes.
unitsNoRequired for GB/US/INT; omit for CZ. Display units independent of input suffixes.
localeNoRequired for GB/US/INT; omit for CZ.
marketYesExplicit market; ask if unknown. INT uses international quantities without catalogue prices.
estimateNoOptional user-supplied price only for GB/US/INT. Omit for CZ.
calculatorIdYeskolik-sterku = Gravel volume (CZ, GB/US/INT); kolik-betonu = Concrete volume (CZ, GB/US/INT); zakladova-deska = Foundation slab material estimate (CZ only); zatepleni = Facade insulation / ETICS material estimate (CZ only); pisku = Sand volume (CZ, GB/US/INT); kolik-zeminy = Soil volume (CZ, GB/US/INT); barvy = Paint quantity (CZ, GB/US/INT); plovouci-podlaha = Flooring area (CZ, GB/US/INT); anhydrit = Anhydrite or cement screed (CZ only); osb-desky = Sheet material (CZ, GB/US/INT); penetrace-kalkulacka = Primer coverage (CZ only); dlazby = Tile quantity (CZ, GB/US/INT); vykop = Excavation volume (CZ, GB/US/INT); ztracene-bedneni = Hollow formwork blocks and concrete fill (CZ only); beton-patky = Rectangular concrete footings (CZ only); beton-pasy = Concrete strip footings (CZ only); plocha-sten = Wall area (CZ, GB/US/INT)

Output Schema

NameRequiredDescriptionDefault
linkYes
inputYes
unitsNo
localeNo
marketNo
pricingYes
quantityYes
warningsYes
calculatorIdYes
canonicalInputNo
contractVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, yet the description adds substantial context: same deterministic engine as the website, CZ uses published CZK catalogue prices with local conventions (10% soil allowance, purchase rounding), GB/US/INT have no catalogue prices and only produce cost from a user-supplied price. It also states hard constraints (no inventing dimensions or prices, no presenting estimates as quotes, no structural design) and asks the agent to report units, assumptions, warnings and price status.

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

Conciseness4/5

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

The purpose and usage trigger are front-loaded, then coverage, then market-specific rules, which is a sensible order for a dense tool. The coverage enumeration and the CZ/GB block are long, but for a 17-calculator engine with a 26-alternative input schema most sentences carry necessary content.

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?

An output schema exists, so return values need not be described, and the description covers market selection, unit/locale requirements, pricing differences and reporting obligations. The remaining gap is the absence of guidance on when to prefer this engine over the narrower sibling calculators that duplicate some of its calculators.

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 description coverage is 100%, so the baseline is 3, but the description adds real meaning: locale, units and estimate must be omitted for CZ and are required for GB/US/INT, and the input object must match the chosen calculator/market alternative without mixing metric and imperial suffixes. That coupling between market and the 26-way anyOf is the key invocation hazard and is explained.

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

Purpose4/5

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

States a concrete verb and resource ('Calculate construction material quantities') and enumerates the supported material families, so an agent can tell this is the umbrella calculator engine. It does not, however, say how it relates to the single-purpose siblings (calculate_concrete, calculate_gravel, calculate_facade_insulation, calculate_foundation_slab), which clearly overlap with its coverage list.

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?

Gives an explicit trigger ('Use when a user asks how much material to buy or needs volume, area, pieces, coverage or a cost estimate') plus procedural conditions: choose calculatorId and explicit market, ask when market or dimensions are unknown, and match the calculator to the market input alternative. It lacks explicit when-not-to-use guidance relative to the sibling calculators, 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