Skip to main content
Glama

TwoCut Construction & DIY Calculators

Concrete Slab Bag Calculator

concrete_slab
Read-onlyIdempotent

Calculate concrete for a slab, pad or footing: volume in ft³/yd³ (m³ in metric) and how many bags of bagged mix to buy. Shape 0 uses length × width, shape 1 a round slab by diameter; depth is the slab thickness; waste adds a percentage; bag_yield is the volume one bag makes (0.6 ft³ = 80 lb bag). Optional bag_price, mix_price and delivery compare bagged mix with a ready-mix truck. Use for flat poured slabs. For posts set in holes use post_hole_concrete; for filling block cores use concrete_block_wall; for reinforcing steel use rebar_grid. 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": "concrete_slab"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNoSlab thickness. Unit: in (US) / cm (metric). Default (US units): 4.
shapeNoShape. Options: 0 = Rectangle (slab, pad or footing); 1 = Round slab.0
unitsNoUnit 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
wasteNoExtra for waste. Unit: % (US) / % (metric). Default (US units): 10.
widthNoSlab width. Unit: ft (US) / m (metric). Default (US units): 8.
lengthNoSlab length. Unit: ft (US) / m (metric). Default (US units): 10.
deliveryNoReady-mix delivery or short-load fee. Unit: $ (US) / $ (metric). Optional, leave out to skip.
diameterNoSlab diameter. Unit: ft (US) / m (metric). Default (US units): 10.
bag_priceNoPrice per bag. Unit: $ (US) / $ (metric). Optional, leave out to skip.
bag_yieldNoYield per bag. Unit: ft³ (US) / m³ (metric). Default (US units): 0.6.
mix_priceNoReady-mix price per yd³ (your quote). Unit: $ (US) / $ (metric). Optional, leave out to skip.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the line 'Read-only calculation with no side effects; the same inputs always give the same result' largely restates them. The genuinely additive parts are that every input is optional with page defaults, that units is 'us' or 'metric', and an enumeration of the return payload (headline, summary lines, steps, inputs_used, calculator_url) — useful because there is no output schema.

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

Conciseness5/5

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

Front-loads the calculation and its outputs, then parameter semantics, then sibling routing, then behavioral notes and return shape. Dense semicolon-separated clauses, but each carries distinct information with no filler.

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 an 11-parameter, zero-required calculator with no output schema, the description covers geometry mode selection, unit system, defaults, cost comparison purpose and the structure of the result. Nothing an agent needs to invoke it correctly is missing.

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 schema already documents each parameter, but the description adds real meaning on top: shape 0 uses length × width while shape 1 uses diameter, waste is a percentage add, and bag_yield is grounded concretely ('0.6 ft³ = 80 lb bag'). It also explains the joint purpose of bag_price, mix_price and delivery as a bagged-vs-ready-mix comparison, which the schema documents only individually.

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?

States a specific verb and resource ('Calculate concrete for a slab, pad or footing') plus the outputs (volume in ft³/yd³ or m³ and bag count). It also scopes itself to flat poured slabs, which separates it from post-hole and block-core calculators.

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

Usage Guidelines5/5

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

Explicit routing: 'Use for flat poured slabs' followed by named alternatives for the adjacent cases — post_hole_concrete for posts in holes, concrete_block_wall for block cores, rebar_grid for reinforcing steel. When-to-use and when-not-to-use are both stated.

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.