Skip to main content
Glama

schedule_facts

Read-onlyIdempotent

Answer construction schedule questions by returning rows, counts by type or hardware set, quantity totals, conflicts, and source-backed facts from the project record.

Instructions

A schedule's rows with all cells, the row count, counts by type column and by hardware set, quantity totals, conflicts and one-letter twins, and the table's region: "how many doors are on the door schedule", "list the light fixture types", "what hardware sets", "what's on panel B", "what are the exhaust fans". query: the person's words (a kind, a title or a panel name). 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>",
      "query": "<query>"
    },
    "name": "schedule_facts"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.23

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, so the description's added value here is real: it discloses the status contract (ok | partial | not_in_record), that results are drawn from linked sources, that responses should be recited with sources, and how not_in_record should be handled with next_read as escalation. It stops short of saying what partial means or how large schedules affect the returned row set.

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

Conciseness2/5

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

Content is mostly relevant, but it is delivered as one sprawling sentence with example questions wedged mid-stream after an opaque list of return fields, so nothing is front-loaded. A reader has to reach the end before learning the tool answers from the project record and how statuses work.

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 does the necessary work: it enumerates what comes back, defines the status values, and explains the sourcing and recitation expectations. Gaps remain around default behavior when want is omitted and how large row sets are bounded.

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 only 33%, and the description compensates for the undocumented query parameter ('the person's words — a kind, a title or a panel name'), which is genuinely useful. The want enum values (rows | count | types | hardware) are only implicitly mapped through the opening list of outputs, and the fact that want is optional with an unspecified default is not addressed.

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

Purpose3/5

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

The description does convey that this retrieves schedule contents (rows, counts, quantities, conflicts, region), but the opening enumeration is cryptic — 'conflicts and one-letter twins' and 'the table's region' are not self-explanatory — and the actual purpose only becomes clear from the quoted example questions. It never distinguishes itself from siblings such as find_schedule or read_room_finish_schedule, so an agent must infer the boundary.

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 quoted example utterances ('how many doors are on the door schedule', 'what hardware sets') give concrete when-to-use signals, and it explicitly routes to next_read only when the person wants the drawings checked. What is missing is an explicit when-not-to-use clause pointing at find_schedule or the other schedule siblings.

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