Skip to main content
Glama

door_facts

Read-onlyIdempotent

Retrieve a door's schedule row, hardware set and spec-section contents, plus the rooms it opens into, from the project record with source citations and status.

Instructions

One door by mark: its door schedule row (type, size, material, frame, rating), its hardware set with the hardware schedule rows and the specification section (08 71 00) text that lists the set's contents, and the rooms it opens into. Answers from the project record (every indexed schedule, legend, tag, room, sheet, spec section and condition, linked once with sources); status ok | partial | not_in_record. Recite it with its sources; on not_in_record say so, and use next_read only if the person wants the drawings checked.

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>",
      "door": "<door>"
    },
    "name": "door_facts"
  }
}

Input Schema

NameRequiredDescriptionDefault
doorYes
project_idYesThe project to work on (list_projects names them).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.23

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnly/idempotent/closed-world; the description adds substantial behavior beyond that — the exact payload composition, that facts are linked once with sources, the ok | partial | not_in_record status vocabulary, and an explicit escalation path (next_read) gated on user intent. That is precisely the guidance an agent needs to interpret an empty or partial result.

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-loaded with the payload scope before the sourcing/status/escalation rules, and nearly every clause carries information. The prose is densely compressed ("One door by mark:", semicolon-chained status note), so it reads more like shorthand than cleanly structured guidance, but there is no filler to cut.

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?

With no output schema and only two parameters, the description must carry the return shape, sourcing contract, and failure semantics — and it does all three, including what to tell the user on not_in_record. An agent can call this and report results correctly without further information.

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?

Only project_id carries a schema description (50% coverage), leaving the required 'door' string undocumented in the schema. The description compensates by defining it as a door mark, which is the key semantic the agent needs; it does not, however, say how marks are formatted or what happens with ambiguous or unindexed marks.

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 — pull all facts for 'one door by mark' — and enumerates exactly what is returned: door schedule row fields (type, size, material, frame, rating), hardware set plus hardware schedule rows and the 08 71 00 spec text, and the rooms it opens into. That scope clearly separates it from siblings like room_facts, schedule_facts, and spec_facts without needing to name them.

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?

Gives usable routing rules: answer from the project record, recite with sources, and say so when not_in_record, only escalating to next_read if the person wants the drawings themselves checked. What is missing is an explicit statement of when to use this versus adjacent lookups (the whole-schedule or room-level tools) when the user is not asking about a specific door.

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