Skip to main content
Glama

plan_finishes

Reads finish codes and room numbers inside drawn plan areas, classifies each shape as ok, assign, mixed, or none, and helps decide room finishes before booking takeoff quantities.

Instructions

What the PLAN prints inside each drawn area: the finish codes in its tag box (e.g. 'PTL-1 / RB-1 / CPT-2' = wall paint / base / floor), each typed by the schedule section it sits in, plus the room numbers inside. Deterministic, no model, any trade: use it before asking the person which finish, base or paint a room gets, and before raising an 'untagged' decision. action per shape: ok, assign (one floor code; apply:true moves the pencil shape onto that code's condition), mixed (merged rooms across a finish change: split before booking), none (no code inside: read the hatch against the finish legend). The paint and wall_tile codes are the room's wall finishes for wall_finish_takeoff. Accepted shapes are listed, never moved. 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": "plan_finishes"
  }
}

Input Schema

NameRequiredDescriptionDefault
applyNotrue moves pencil shapes with exactly one floor code onto its condition
shape_idsNoonly these shapes
sheet_idsNoonly these sheets
project_idYesThe project to work on (list_projects names them).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.23

TDQS

A4.2/5.0
Behavior5/5

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

Annotations declare readOnlyHint=false and destructiveHint=false; the description explains why, stating that results land as pencil pending the estimator's review, never ink, and that apply:true moves the pencil shape onto that code's condition. It also discloses determinism (no model) and that accepted shapes are listed but never moved, which resolves the apparent write-vs-safe tension.

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

Conciseness3/5

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

Each clause carries real information, but the text is a single dense run-on block built from domain metaphors (pencil, ink, hatch, tag box) without a front-loaded imperative verb. The action-per-shape enumeration is compact and useful, yet readability suffers from the lack of structure.

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?

With no output schema, the description carries the full burden of explaining returns and does so well: finish codes, per-section typing, room numbers, and the per-shape action vocabulary. Minor gaps remain around permissions, pagination, and what happens to shapes that are excluded by shape_ids or sheet_ids.

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 coverage is 100%, so apply, shape_ids, sheet_ids and project_id are already documented in the schema. The description reinforces apply's effect and implies shape_ids scoping via 'Accepted shapes are listed', but adds no syntax, format, or interaction detail beyond the schema, so baseline 3 applies.

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 opening clause specifies the resource precisely: the finish codes inside each drawn area's tag box, typed by the schedule section they sit in, plus room numbers. It is clearly a read/extract operation over plan shapes, distinct from sibling lookups like find_schedule. It loses a point because the operative verb is never stated directly (the agent must infer 'extract/list' from 'What the PLAN prints'), and terms like 'tag box', 'pencil' and 'ink' are domain jargon.

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?

Gives explicit when-to-use conditions: before asking the person which finish, base or paint a room gets, and before raising an 'untagged' decision. It also enumerates every outcome case with a prescribed action (ok, assign, mixed=splut before booking, none=read hatch against the legend), so the agent knows exactly what to do with each result.

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