Skip to main content
Glama

TwoCut Construction & DIY Calculators

Rebar Grid Calculator

rebar_grid
Read-onlyIdempotent

Calculate rebar for a slab grid: number of bars each way, bar lengths, lap splices and total length. length × width is the slab, spacing the maximum bar spacing on center, cover the clear edge cover, bar_diameter the bar size and lap the splice length where bars join. Use to plan steel reinforcement in a concrete slab. For the concrete itself use concrete_slab. 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": "rebar_grid"
  }
}

Input Schema

NameRequiredDescriptionDefault
lapNoLap length. Unit: in (US) / cm (metric). Default (US units): 16.
coverNoClear edge cover. Unit: in (US) / cm (metric). Default (US units): 2.
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
widthNoSlab width. Unit: ft (US) / m (metric). Default (US units): 12.
lengthNoSlab length. Unit: ft (US) / m (metric). Default (US units): 24.
spacingNoMaximum bar spacing on center. Unit: in (US) / cm (metric). Default (US units): 12.
bar_diameterNoBar diameter. Unit: in (US) / cm (metric). Default (US units): 0.5.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 and destructiveHint=false, so the safety profile is covered; the description still adds value by stating determinism ('the same inputs always give the same result'), that every input is optional with page defaults, and the us/metric unit systems. The 'read-only, no side effects' clause partially restates the annotations, and there is no mention of error behavior for nonsensical inputs (e.g., zero spacing), which keeps it 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?

Purpose, sibling routing and return shape are front-loaded, and the closing sentence efficiently packs defaults, unit systems and outputs. The middle parameter-gloss sentence largely duplicates the fully documented schema and could be dropped without loss.

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?

There is no output schema, but the description compensates by naming the returned payload contents (headline, summary lines, worked steps, inputs_used, calculator_url). Combined with full schema coverage and the annotation safety profile, an agent has everything needed to invoke it correctly and interpret the result.

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% and each property already declares units and defaults, so the schema carries the parameter burden. The description's sentence mapping length/width/spacing/cover/bar_diameter/lap mostly re-states what the schema says, adding only the relational nuance that lap is the splice length 'where bars join'. Baseline 3 is appropriate.

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?

Opens with a specific verb+resource ('Calculate rebar for a slab grid') and enumerates the computed outputs (bar counts each way, lengths, lap splices, total length). It explicitly names the sibling concrete_slab for the adjacent task, so an agent can distinguish the two without opening any schema.

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?

States the use case directly ('Use to plan steel reinforcement in a concrete slab') and routes the agent elsewhere when appropriate ('For the concrete itself use concrete_slab'). No inference is left about when this tool is the right choice among a large catalog of construction calculators.

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.