Skip to main content
Glama

Concrete Calculator API - cubic yards/metres and bags for slabs, footings and columns

concrete_calculator
Read-onlyIdempotent

Calculate exact concrete volume (cubic yards, cubic feet and cubic metres) with waste allowance, ready-mix cost and number of 80 lb, 60 lb, 40 lb or 25 kg bags needed for slabs, footings, square columns and round piers. Runs on our server, files are deleted right after the call, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.001/call via x402 at https://radarbg.com/x402/concrete-calculator.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "shape": "slab",
      "units": "imperial",
      "wastePercent": 10,
      "lengthOrHeight": "10",
      "widthOrDiameter": "10",
      "thicknessOrDepth": "4"
    },
    "name": "concrete_calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
shapeNoslab, footing, column (square) or round (pier)slab
unitsNoimperial (ft/in) or metric (m/cm)imperial
quantityNoNumber of identical pours
pricePerUnitNoOptional ready-mix price per yd3 (imperial) or m3 (metric)
wastePercentNoExtra allowance for waste %
lengthOrHeightYesLength (slab/footing) or height (columns) in ft or m
widthOrDiameterYesWidth (slab: ft/m; footing/column: in/cm) or diameter (round: in/cm)
thicknessOrDepthNoThickness/depth in in or cm (required for slab, footing, column)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/openWorldHint, so the bar is lower, yet the description adds genuinely useful behavior: server-side computation, a per-IP rate limit of 5 calls/day, and two concrete authentication/payment mechanisms with endpoints. The 'files are deleted right after the call' sentence is boilerplate that reads oddly since the schema accepts no file input, which keeps this 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.

Conciseness4/5

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

The purpose is front-loaded in one dense sentence, followed by trust/access sentences, which is the right ordering for an agent. It is somewhat long because pricing, URL, and rate limits consume space, and the data-retention sentence is filler given the tool takes no files.

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 8 parameters and no output schema, the description carries the burden of describing return values and does so well (volumes in three unit systems, cost, bag counts). Auth, rate limits, and pricing — the non-obvious call prerequisites — are all covered. Minor gaps remain: no note on what happens when thicknessOrDepth is omitted for round shapes, or what an error response looks like.

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 100%, so 3 is the baseline, and the description does add meaning: the bag sizes (80/60/40 lb, 25 kg) clarify what the result reports, and the mention of a waste allowance explains the role of wastePercent. The shape vocabulary (slab, footing, square column, round pier) matches the schema enums. No unnecessary repetition of parameter syntax, just output-relevant 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 opening sentence names a specific verb (Calculate) and enumerates the exact outputs: volume in yd³/ft³/m³, waste allowance, ready-mix cost, and bag counts for five bag sizes, across four named shapes. It is immediately distinguishable from the surrounding calculator family (mortgage, VAT, percentage, etc.), none of which compute concrete quantities.

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 description scopes usage clearly by listing the supported pour types (slabs, footings, square columns, round piers) and spells out the access paths and their limits: free 5 calls/day per IP, paid Radar key via X-API-Key, or $0.001/call via x402. It does not state when not to use it or point to an alternative, but no sibling overlaps this domain.

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