Skip to main content
Glama

spec_facts

Read-onlyIdempotent

Answers specification questions from a project's manual and drawings by section, product, code, or topic, quoting relevant clauses with sources and flagging conflicts or coverage gaps.

Instructions

Specification answers in one call, by section number (09 51 13), title words, product, code (ACT-1) or topic ("ceiling tile NRC", "interior paint", "hardware set 4"): the section(s), from a project manual or printed on drawing sheets, with the relevant clauses quoted with their sheet or page and box, the products (basis of design, manufacturers, the code each is for), the linked codes, schedule rows, sheets, keynotes and hardware sets, the conflicts (schedule product vs spec, a spec item no drawing uses, articles printed twice) and where the set's specifications are (coverage). On not_in_record it says whether the set has any specification at all and lists the drawings' printed section citations. 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": "spec_facts"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesthe person's words: a section number, code, product or topic
project_idYesThe project to work on (list_projects names them).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.23

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds real behavior beyond that: the ok | partial | not_in_record status contract, what not_in_record returns (whether any spec exists plus drawings' printed citations), the conflict detection, and the requirement to recite with sources.

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?

The opening clause is well front-loaded, but the body is a single sprawling run-on sentence with dense parenthetical lists that is hard to parse. The information is largely relevant, yet the packing and lack of sentence breaks hurt scanability.

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?

There is no output schema, so the description must carry the return shape — and it does, enumerating sections, quoted clauses with sheet/page/box, products, codes, schedules, keynotes, hardware sets, conflicts and coverage, plus the status values. For a two-parameter tool this is nearly complete, with only the sibling routing left thin.

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 the baseline is 3. The description does enrich 'query' with concrete forms and examples ('ceiling tile NRC', 'hardware set 4', 'ACT-1'), but adds nothing about project_id beyond what the schema already says.

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?

States a specific verb+resource: it returns specification answers (sections, quoted clauses, products, linked codes, schedule rows, conflicts, coverage) for a project. The 'in one call' framing implicitly distinguishes it from the granular spec siblings (get_spec_sections, quote_spec_clause), but no sibling is named explicitly, 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives the query forms that select this tool (section number, title words, product, code, topic) and one explicit exclusion: use next_read only if the person wants the drawings checked. It does not say when to prefer this over get_spec_index or get_spec_sections, leaving that choice to inference.

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