Skip to main content
Glama
Tetragon
by wckdboy

set_opening_head_heights

Align selected opening heads above their finished floor, preserving sills and resizing heights; use supported openings and validate frame, glazing, and host clearance before atomic save.

Instructions

Align selected opening heads above their own finished floor, preserving sills and resizing heights. Use only the openings whose source supports alignment. Requires evidence, validates frame/glazing/host clearance, and saves atomically. Does not infer which facade heads should align.

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>",
      "expected_revision": "<expected_revision>",
      "opening_ids": "<opening_ids>",
      "head_above_floor_mm": "<head_above_floor_mm>",
      "evidence": "<evidence>"
    },
    "name": "set_opening_head_heights"
  }
}

Input Schema

NameRequiredDescriptionDefault
evidenceYes
project_idYes
opening_idsYes
expected_revisionYes
head_above_floor_mmYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With zero annotations, the description must carry the full behavioral load, and it does disclose meaningful traits: evidence is required, frame/glazing/host clearance is validated, and saves are atomic, which implies all-or-nothing semantics. It does not say what happens when validation fails, whether an error message lists offending openings, or what permissions are needed to mutate the model.

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?

Four short sentences, front-loaded with the operation and followed by preconditions, side effects, and the out-of-scope case, with no filler. "Does not infer which facade heads should align" is slightly elliptical but earns its place as an explicit scope boundary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter, all-required mutation tool with no annotations and no output schema, the description covers the crucial behavior (validation, atomic save, evidence) but leaves the expected_revision conflict path and the shape of the success/failure response entirely unstated. That is adequate but not complete for a geometry-mutating operation.

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 0%, so the description must compensate for all five undocumented parameters. It clarifies head_above_floor_mm's reference frame ("above their own finished floor"), the evidence requirement, and constrains opening_ids to sources that support alignment, but says nothing about expected_revision's concurrency/conflict semantics or project_id scoping.

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?

"Align selected opening heads above their own finished floor, preserving sills and resizing heights" gives a concrete verb (align/set heights) plus the resource (opening heads) and states what is preserved. It is clear enough to distinguish from a sill-height operation by the "preserving sills" clause, but no sibling is named explicitly, so it stops short of a 5.

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?

The description supplies a real precondition ("Use only the openings whose source supports alignment") and an explicit scope exclusion ("Does not infer which facade heads should align"), which tells the agent this is not a decision-making tool. It stops short of a 5 because it never routes the agent to an alternative when the caller does want alignment inference or sill-only changes.

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