Skip to main content
Glama

Craft Quantities: construction material calculators

Rebar layout drawing and bar counts for a slab or footing

layout_reinforcement
Read-onlyIdempotent

Lays out reinforcing bars in a rectangular slab or footing from the bar size, spacing and cover the engineer gives: bars each way, bar lengths, total length with lap, stock sticks, weight where the site's calculator carries the size, and the layout as SVG and DXF. A quantity layout, not a design: it does not size structure or check a code.

Input Schema

NameRequiredDescriptionDefault
matsNoOne mat, or two (top and bottom) laid out alike.
coverYesThe cover to the bars on plan, as the engineer gives it.
widthYesAlong y, with its unit.
chairsNoCount the bar supports too, from the supplier's support spacing.
detailNofull (the default): the whole answer. summary: the result lines, the citation line and the page only — fewer tokens to read.full
lengthYesAlong x, with its unit.
systemNoThe unit system inputs left out open in, and the one the page link opens in. The answer comes in both.metric
barSizeYesAs the engineer gives it: #4, 15M, N12, H12, T12 or 12 mm.
elementNoA slab, or a pad or strip footing, as a rectangle on plan.slab
formatsNoThe drawing's files: svg, dxf or both (the default).
spacingNoThe spacing both ways, as the engineer gives it.
widthwiseNoThe bars running along the width (spaced along the length): a spacing of their own, or a count.
inputUnitsNoSend "base" to pass bare numbers on dimensioned inputs in base units (m, m², L, kg …), as the published test vectors are written. Without it a length, area or volume must carry its unit.
lapPercentNoThe lap-splice allowance on the total; left out, the Rebar Calculator's own default.
lengthwiseNoThe bars running along the length (spaced across the width): a spacing of their own, or a count.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds real behavioural context beyond that: two drawing formats produced, weight reported only conditionally ('where the site's calculator carries the size'), lap defaulting to the calculator's own value, and the explicit scope limit that it performs no design or code checking.

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?

Front-loaded with the verb and scope, followed by an efficient output enumeration and a one-line boundary statement. The single long sentence listing outputs is dense but every item earns its place; no filler or repetition.

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 and the input schema is fully described, so the description does not need to explain returns or parameters. Given the tool's complexity it covers scope, outputs and the design/quantity boundary well; the only omission is any hint about default resolution between the redundant spacing vs lengthwise/widthwise count inputs.

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% across all 15 parameters, including nested lengthwise/widthwise/chairs objects and five enums, so the schema already carries the semantics. The description only loosely gestures at the inputs (bar size, spacing, cover, 'bars each way', lap) without adding format or edge-case detail beyond the schema, so baseline 3 applies.

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 ('lays out reinforcing bars in a rectangular slab or footing') and enumerates the concrete outputs: bars each way, bar lengths, total length with lap, stock sticks, weight, SVG and DXF. The closing boundary ('a quantity layout, not a design: it does not size structure or check a code') cleanly separates it from calculate/design-oriented siblings.

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?

It gives a clear exclusion ('not a design... does not size structure or check a code'), which tells the agent when this tool is the wrong choice. However, it never names the alternative to use instead (e.g. calculate or create_drawing), so routing is implied rather than explicit.

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