Skip to main content
Glama
TwoCut Calculators MCP Server

TwoCut Calculators MCP Server

Metal Roof Panel Count Calculator

metal_roof_panels
Read-onlyIdempotent

Calculate panel quantities and lengths for exposed-fastener or standing-seam roofs using measured planes or gable dimensions, with trim counts and optional pricing.

Instructions

Calculate metal roof panels and their lengths. mode planes takes up to 3 measured roof planes (eave_width × slope_length); mode gable builds both planes from building_length, building_width, overhang and pitch. effective_width is the panel cover width; length_allowance adds length per panel; waste adds spare panels; trim_length gives trim piece counts. Use for exposed-fastener or standing-seam metal panel roofs. For asphalt shingles use roofing_shingles. 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": "metal_roof_panels"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoRoof input. Options: planes = Measured roof planes (up to 3); gable = Gable roof from the footprint.planes
pitchNoRoof pitch (rise per 12 of run). Unit: in 12 (US) / in 12 (metric). Default (US units): 4.
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 panels percentage. Unit: % (US) / % (metric). Default (US units): 0.
overhangNoOverhang at eaves and gable ends. Unit: ft (US) / m (metric). Default (US units): 1.
panel_priceNoPrice per panel. Unit: $ (US) / $ (metric). Optional, leave out to skip.
trim_lengthNoTrim piece length. Unit: ft (US) / m (metric). Optional, leave out to skip.
eave_width_1NoPlane 1 eave width. Unit: ft (US) / m (metric). Default (US units): 24.
eave_width_2NoPlane 2 eave width. Unit: ft (US) / m (metric). Optional, leave out to skip.
eave_width_3NoPlane 3 eave width. Unit: ft (US) / m (metric). Optional, leave out to skip.
building_widthNoBuilding width, wall to wall. Unit: ft (US) / m (metric). Default (US units): 24.
slope_length_1NoPlane 1 measured slope length. Unit: ft (US) / m (metric). Default (US units): 40.
slope_length_2NoPlane 2 measured slope length. Unit: ft (US) / m (metric). Optional, leave out to skip.
slope_length_3NoPlane 3 measured slope length. Unit: ft (US) / m (metric). Optional, leave out to skip.
building_lengthNoBuilding length along the ridge. Unit: ft (US) / m (metric). Default (US units): 30.
effective_widthNoEffective panel cover width. Unit: in (US) / mm (metric). Default (US units): 36.
length_allowanceNoLength allowance per panel. Unit: ft (US) / m (metric). Default (US units): 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.7/5.0
Behavior4/5

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

The annotations already declare read-only, idempotent, non-destructive, and closed-world behavior. The description adds useful context by stating that every input is optional and falls back to calculator defaults, and by describing the return payload, though the no-side-effects and deterministic behavior largely restate annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

The purpose is front-loaded in the first sentence, followed by mode-specific semantics, alternatives, behavior, defaults, unit options, and return values. Despite the density needed for 17 parameters, every sentence carries useful information and there is no filler.

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 17 optional parameters and no output schema, the description supplies the missing mode behavior, default handling, unit system, return fields, and the relevant alternative tool. An agent has enough information to select and invoke it correctly.

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 already 100%, but the description adds meaning beyond individual parameter definitions by explaining mode planes versus mode gable, how measured planes use eave_width and slope_length, and how effective_width, length_allowance, waste, and trim_length affect output. It still leaves most detailed units and defaults to 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?

The description states a specific verb and resource: calculating metal roof panels and their lengths. It also distinguishes the two modes and names the sibling tool for asphalt shingles, so an agent can identify its purpose and boundaries 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?

It explicitly says to use this for exposed-fastener or standing-seam metal panel roofs and directs asphalt shingle cases to roofing_shingles. It also explains the two input modes, giving clear guidance on when each applies.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.