Skip to main content
Glama

roof_accessories

Computes roof accessory quantities from roof takeoff: sloped squares with waste, rake/hip/valley lengths, drip edge, starter, ridge cap, underlayment, and ice/water as pending pencil entries.

Instructions

Roofing accessories in ONE call from the roof already taken off (roof_takeoff or traced planes): sloped SF and squares with the waste allowance (10%, 15% with hips or valleys, unless waste_pct), true rake / hip / valley LF, drip edge (eaves + true rakes), starter (eaves), ridge cap (ridges + true hips), underlayment, and ice & water SF from the band widths the spec or code gives. condition is the roof field (plan areas); edge LF come from the RF-EAVE / RF-RAKE / RF-RIDGE / RF-HIP / RF-VALLEY linear conditions or the plan LF you pass in edges (e.g. what roof_takeoff reported). pitch: the documents' slope callout or the person's word, else the field condition's pitch; never guess one (status needs_pitch: raise an RFI). Lands as pencil (pending the estimator's review), never ink.

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": {
      "project_id": "<project_id>"
    },
    "name": "roof_accessories"
  }
}

Input Schema

NameRequiredDescriptionDefault
edgesNo
pitchNorise per 12 as the documents print it: 6, "6/12", "1/4 per ft", "2%", "22.5 deg", "1:48"
plan_sfNooptional: plan SF stated instead of the condition's areas
proposeNofalse (default) figures and reports only; true writes the quantities as pending build-up rows on the condition (Accept lands them in the estimate; a re-run updates its own rows)
conditionNothe roof field condition (plan-view areas), default RF-FIELD
ice_waterNo
waste_pctNothe company's waste %; absent = the suite allowance, reported as an allowance
project_idYesThe project to work on (list_projects names them).
include_pencilNodefault true: pending (pencil) shapes count too; their number is reported per source
edge_conditionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.23

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the annotations: propose=false is compute-only while true writes pending build-up rows that Accept lands in the estimate, a re-run updates its own rows, and results land as pencil rather than ink pending estimator review. This discloses the mutation's side effects, its reversibility, and its review state — none of which the readOnly/destructive hints convey.

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-loads the core purpose and keeps nearly every clause load-bearing, but the single dense paragraph with semicolon-chained caveats (pitch, condition, pencil) is harder to scan than a short bulleted structure would be. No filler sentences, though.

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 10-parameter tool with nested objects and no output schema, the description names the quantities returned and explains the write path and the pencil review state. It does not show the response shape or the needs_pitch payload beyond the status name, which is the main remaining gap.

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?

Adds real meaning beyond the 70%-covered schema: the default 10% waste allowance rises to 15% with hips or valleys unless waste_pct is given, ice & water SF derives from the band widths the spec or code supplies, condition is the plan-area roof field, and edges may be supplied directly or via the RF-EAVE/RF-RAKE/RF-RIDGE/RF-HIP/RF-VALLEY conditions. Some parameters (project_id, include_pencil defaults) are left to the schema, so not a 5.

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+resource pair: computing roofing accessory quantities (sloped SF, squares, rake/hip/valley LF, drip edge, starter, ridge cap, underlayment, ice & water) from an existing roof takeoff. It explicitly positions itself downstream of roof_takeoff or traced planes, so an agent can tell it apart from the takeoff tools without opening a schema.

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?

Names the prerequisite input sources (roof_takeoff output or traced planes, or plan LF passed in edges) and gives an explicit rule for pitch: use the document callout or the estimator's word, else the field condition's pitch, and never guess — raise an RFI with status needs_pitch. It lacks an explicit 'do not use this when…' clause (e.g. when no roof field exists), so it stops short of 5.

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

Deploy Server

Other Tools