Skip to main content
Glama

Home Toolkit

Attic, Roof, Gutter & Climate Zone Envelope Calculators

calculate_attic_and_exterior
Read-onlyIdempotent

Run exterior & building-envelope calculators: attic insulation R-value & loose-fill bag count, attic ventilation net free area (1/150 vs 1/300), gutter & downspout sizing by rainfall intensity, roof life expectancy by material & climate, ENERGY STAR insulation R-value lookup, or ENERGY STAR Version 7.0 window U-factor/SHGC lookup.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>"
    },
    "name": "calculate_attic_and_exterior"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesWhich exterior/envelope tool to run.
pitchNoFor gutters: roof pitch class.medium
countyNoFor window_zone: optional county name for split states.
addTypeNoFor attic_insulation: loose-fill material to add.blown-fiberglass
widthFtNoFor gutters: roof footprint width in feet.
areaSqFtNoFor gutters: roof footprint sq ft if lengthFt/widthFt omitted.
balancedNoFor attic_ventilation: whether 40-50% of vent NFA is high near ridge and rest at soffits.
coldZoneNoFor attic_ventilation: whether home is in IECC climate zone 6, 7, or 8.
lengthFtNoFor gutters: roof footprint length in feet.
materialNoFor roof_life: roof material.asphalt-architectural
rainInHrNoFor gutters: optional 5-min, 10-yr rainfall intensity (in/hr).
hailClassNoFor roof_life: hail exposure.some
heatClassNoFor roof_life: summer heat exposure.warm
intakeNfaNoFor attic_ventilation: optional custom NFA per intake vent/foot (sq in).
rainClassNoFor gutters: regional rainfall intensity class.moderate
stateAbbrNoFor window_zone: 2-letter US state code (e.g. TX, NC, MN).
exhaustNfaNoFor attic_ventilation: optional custom NFA per exhaust vent/foot (sq in).
intakeTypeNoFor attic_ventilation: intake vent style.soffit-vents
currentTypeNoFor attic_insulation: existing attic insulation type.batt
currentYearNoFor roof_life: optional reference year.
exhaustTypeNoFor attic_ventilation: exhaust vent style.ridge
freezeClassNoFor roof_life: winter freeze exposure.cold
installYearNoFor roof_life: roof installation year.
atticAreaSqFtNoAttic floor area in sq ft (attic_insulation or attic_ventilation).
vaporRetarderNoFor attic_ventilation: whether ceiling has a vapor retarder.
currentDepthInNoFor attic_insulation: existing depth in inches.
insulationZoneNoIECC insulation zone (1 through 8, or 4C marine).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description reinforces this by describing pure computations with defined outputs, but adds little beyond that: it does not state that only `kind` is required, that each branch expects a different parameter subset, or how partial/ambiguous inputs are handled.

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?

A single front-loaded sentence with a parallel list; the verb and scope arrive first and no sentence is filler. It is dense but the density is carried by genuine content (six distinct calculators) rather than redundancy.

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?

For a 27-parameter, six-branch router with no output schema, the description supplies the missing return-value picture by naming each calculator's output (R-value, bag count, NFA sizing, life expectancy, U-factor/SHGC). The main remaining gap is that it does not tell the agent which parameters each `kind` requires, forcing a schema read before invocation.

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 every parameter carries both a description and, for most, a per-branch note (e.g. 'For gutters: roof pitch class'), so the schema does the heavy lifting. The description adds no parameter-level meaning of its own – it never mentions `kind`, defaults, or the 1/150 vs 1/300 choice mapping to a parameter.

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 names the resource (exterior/building-envelope calculators) and enumerates six specific computations: attic R-value and bag count, net free area at 1/150 vs 1/300, gutter/downspout sizing, roof life expectancy, ENERGY STAR insulation R-value, and Version 7.0 window U-factor/SHGC. An agent can match a user request to this tool without opening the schema, and the envelope focus separates it from plumbing, duct, or HVAC-sizing siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The enumerated calculator list implicitly tells the agent which tasks belong here (gutter sizing, roof life, attic insulation, etc.), which is usable routing guidance. However, there is no explicit when-not guidance, no mention that the `kind` parameter is what selects the branch, and no acknowledgement of overlap with siblings such as calculate_ventilation_and_dehumidifier for attic ventilation.

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.