Skip to main content
Glama

Fit walls to the roof

fit_roof
Destructive

Shape walls, glass, and panels to the roof above them: sloping tops, ridge splits, and triangle or trapezoid glass without manual math. Automatically follows roof changes; turn off to keep heights fixed.

Instructions

Fit walls, glass and panels to the roof above them: under an A-frame or shed roof a wall gets a sloping top and is split at the ridge, a panel becomes a triangle or trapezoid (a glass gable with no math); a joinery slatted panel gets its slats cut to the roof line. They keep following the roof when it changes, in the same undo step; off stops that. Reply ok with the count.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYesWalls and pieces (glass, panels) to fit
offNoStop following the roof (heights stay as they are)
aboveNoLowest sloping surface that counts, cm above the floor (default 5)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
vNoPlan version written to, when there are several
okYesAlways true
idsNoIds created or touched
revNoPlan revision
textYesThe reply as written
fittedNoPanels fitted under the roof

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, but the description adds critical behavior beyond that: shapes are modified in specific ways, elements continue to follow roof changes in the same undo step, and 'off' stops that behavior. This explains the persistence and undo semantics that raw annotations don't convey. No contradiction with annotations.

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?

The description is front-loaded with the core purpose and then gives examples and behavior. It is somewhat dense, with parentheticals and semicolons, but each clause adds a distinct fact. It could be trimmed slightly without losing meaning, so a 4.

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 mutation tool with an output schema present, the description covers the main effects, dynamic roof-following, undo, and off behavior. It omits prerequisites such as requiring a roof above or a note on unsupported roof types, but these are not critical given the schema and annotations. Overall adequate.

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?

Input schema has 100% field descriptions, so the baseline is 3. The description echoes 'walls, glass and panels' and adds 'joinery slatted panel' as a specific id type, but it does not add meaningful detail about 'ids', 'off', or 'above' beyond the schema. It neither elevates nor degrades parameter understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with an explicit verb and resource: 'Fit walls, glass and panels to the roof above them'. It then details concrete transformations (sloping top, split at ridge, triangle/trapezoid, slats cut), making the primary purpose unmistakable. It does not explicitly contrast with siblings like split_wall or merge_walls, but the purpose is clear without that.

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 description implies when to use the tool – when walls/panels should conform to a roof – but does not state exclusions or direct the agent to alternative tools for non-roof modifications. It contains no explicit 'when not' or sibling references, leaving usage guidance less explicit than it could be.

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