Skip to main content
Glama

read_drawn_doors

Read-onlyIdempotent

Read every drawn door swing on a PDF sheet from vector geometry, returning normalized bounding boxes, jamb lines, door type, dashed status, scaled width, and confidence—no door schedule needed.

Instructions

Every door swing DRAWN on one sheet, read from the page's vectors by the open-source door reader (no model, no schedule): each door's normalized bbox, jamb-to-jamb line, single or pair, stall doors apart, dashed (existing or to be removed), its drawn width in feet once the sheet's scale is set, and a confidence with the doubts that lowered it. Free. Matching doors to the door schedule, hardware and placing them is doors_windows_takeoff. Frame: page fractions of the UNROTATED page. Read-only.

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>",
      "sheet_id": "<sheet_id>"
    },
    "name": "read_drawn_doors"
  }
}

Input Schema

NameRequiredDescriptionDefault
sheet_idYessheet key "file.pdf#page"
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
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 still adds real context beyond them: vector-based extraction with no model, confidence scores accompanied by the doubts that lowered them, and the coordinate frame being page fractions of the UNROTATED page. It stops short of describing output volume or pagination, so a 3 is fair against an already-strong annotation set.

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?

Purpose is front-loaded in the first clause, and the trailing sentences cover scope, coordinate frame and read-only status without filler. The opening sentence is extremely dense with parenthetical asides, which slightly hurts scanability but every clause carries information.

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

Completeness5/5

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

No output schema exists, so the description carries the return-value burden and does so thoroughly: normalized bbox, jamb-to-jamb line, single vs pair, stall doors separated, dashed state, width in feet gated on scale, and confidence with reasons. Combined with the two required parameters and the coordinate frame note, an agent has everything needed to call and interpret it.

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% for both parameters, so project_id and sheet_id are already documented including the 'file.pdf#page' key format. The description adds only the implicit scoping to a single sheet and the scale dependency for width values, which is useful but marginal. Baseline 3 applies when the schema does the heavy lifting.

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 and resource ('Every door swing DRAWN on one sheet, read from the page's vectors') and immediately scopes the source ('no model, no schedule'), which separates it from schedule-driven siblings. It also names the complementary tool (doors_windows_takeoff) for matching to the schedule, so an agent can distinguish the two without opening either schema.

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?

Explicitly routes the agent: use this for drawn geometry, use doors_windows_takeoff for schedule matching, hardware and placement. It also states a prerequisite ('its drawn width in feet once the sheet's scale is set'), which tells the agent when width output is unreliable, and notes the call is 'Free'.

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