Skip to main content
Glama

Proven Plaza Calculators & Open Data

Rebar Calculator for a Slab (Bars, Sticks, Lap Splices & Weight)

calc_rebar
Read-only

How much rebar a rectangular slab grid needs: bar count each way, lap splices, total linear feet, 20 ft sticks to order and steel weight from ASTM A615 bar weights. Formula: Bars each way = ⌊(clear span ÷ spacing)⌋ + 1, where clear span = side × 12 − 2 × edge clearance. A run longer than one stick needs ⌈(run − lap) ÷ (stick − lap)⌉ pieces, adding one lap per joint; lap = bar diameters × bar diameter. Linear ft = (bars × run + splices × lap) ÷ 12; sticks = ⌈linear ft × (1 + allowance) ÷ stick length⌉; weight = linear ft × ASTM A615 lb/ft.

Input Schema

NameRequiredDescriptionDefault
barNoBar size; default 4
edge_inNoEdge clearance each side (in); default 3
width_ftNoSlab width (ft); default 24
length_ftNoSlab length (ft); default 30
waste_pctNoCut-off allowance (%); default 5
spacing_inNoBar spacing on center (from your plans) (in); default 12
stock_length_ftNoStick length (ft); default 20
lap_bar_diametersNoLap splice length in bar diameters (from your plans or engineer); default 40

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds substantial behavioral context: exact formulas, default assumptions, edge clearance handling, lap splice logic, waste allowance, and ASTM A615 weight basis.

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 definition is front-loaded with the purpose, then packed with formula details. It is dense and every sentence contributes, though the single-paragraph formula block could be more readable if structured as separate lines or bullets.

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 a complex calculator with 8 fully described optional parameters, read-only annotations, and no output schema, the description supplies enough detail to call it correctly. It names the outputs (bar count, splices, linear feet, sticks, weight) and the governing formulas.

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 baseline is 3. The description goes beyond the schema by linking parameters through formulas: clear span from width/length and edge clearance, bar count from spacing, lap length from bar diameters, and weight from ASTM A615 lb/ft.

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: calculates rebar quantity for a rectangular slab grid, including bar count, lap splices, linear feet, sticks, and weight. This clearly distinguishes it from sibling calculators like calc_concrete_slab and calc_board_foot.

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?

Provides clear context by specifying it is for a rectangular slab grid and gives the complete formula, so an agent knows when it applies. However, it does not name alternatives or state when not to use it, such as for irregular slabs or other rebar shapes.

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