Skip to main content
Glama

TwoCut Construction & DIY Calculators

Roofing Shingle Bundle Calculator

roofing_shingles
Read-onlyIdempotent

Calculate asphalt shingle roofing squares and bundles. length × width is the projected (plan view) roof footprint and pitch (rise per 12 of run) converts it to the sloped roof area; waste adds a cutting allowance; bundle_coverage is the area one bundle covers (33.3 ft² = 3 bundles per square). Use for asphalt or architectural shingle roofs. For metal panel roofs use metal_roof_panels. 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": "roofing_shingles"
  }
}

Input Schema

NameRequiredDescriptionDefault
pitchNoRoof rise per 12 run. Default (US units): 6.
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 cuts. Unit: % (US) / % (metric). Default (US units): 12.
widthNoProjected roof width. Unit: ft (US) / m (metric). Default (US units): 30.
lengthNoProjected roof length. Unit: ft (US) / m (metric). Default (US units): 40.
bundle_coverageNoCoverage per bundle. Unit: ft² (US) / m² (metric). Default (US units): 33.3.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/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, and the description partly restates that ('read-only calculation with no side effects'), which earns no extra credit. Beyond that it adds real behavior: all inputs are optional with page-default fallbacks and defaults are converted when units=metric. No rate limits or failure modes mentioned, but little risk for a pure calculator.

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 core calculation and filled with domain specifics rather than filler. It is a single dense block and the trailing return-value sentence is long, but every clause carries information.

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?

With no output schema, the description compensates by outlining the return payload (headline, summary lines, worked steps, inputs_used, calculator_url) and by explaining the optional-input default behavior. Nothing material is missing for a deterministic, zero-required-parameter calculator.

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 baseline is 3; the description goes further by explaining how parameters combine — length × width is the projected footprint, pitch (rise per 12) converts it to sloped area, waste is a cutting allowance, and bundle_coverage is area per bundle with the 33.3 ft² = 3 bundles/square equivalence. That relational meaning is not in the schema.

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 asphalt shingle roofing squares and bundles') and immediately distinguishes scope ('Use for asphalt or architectural shingle roofs') from the named sibling metal_roof_panels. An agent can select this without opening the 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?

Gives an explicit applicability condition (asphalt or architectural shingles) and routes the excluded case to the correct alternative ('For metal panel roofs use metal_roof_panels'). The read-only/no-side-effects note reinforces when it is safe to call repeatedly.

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.