Skip to main content
Glama

get_sheet_graph

Read-onlyIdempotent

Retrieves a deterministic graph of all plan sheets so you can query schedules, rooms, tags, callouts, revisions, and cited table data across a construction drawing set.

Instructions

THE SET-WIDE SHEET GRAPH — built from every sheet's text when the plans arrived, deterministically: every SCHEDULE as a logical table (kind, title, headers, rows, each cell cited to its box), rooms with their names, drawn tags, detail callouts and revision markers, across every discipline. part 'summary' (default) = counts + the schedule list without rows; then 'tables' (filter with sheet or q), 'rooms', 'unmatched_tags', 'tags', 'callouts', 'revisions', 'sheets'. Boxes are page fractions of the sheet each entry cites. Follow next_offset. For the rows of one large schedule use query_table (sheet_id, include_cells:true, one read): a whole table here is sampled. 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>"
    },
    "name": "get_sheet_graph"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoonly entries whose content contains this text
partNo
limitNomax entries (default 200)
sheetNoonly entries citing this sheet key
offsetNo
project_idYesThe project to work on (list_projects names them).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.23

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/destructiveHint=false, so the trailing 'Read-only' is redundant. What the description adds beyond them is substantive: the graph is deterministic and built at ingest time, results are paginated via next_offset, boxes are page fractions, and — most importantly — a whole table returned here is sampled rather than complete. That sampling caveat is exactly the kind of trait annotations cannot express.

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?

Information density is high and the headline comes first, but the prose is a semicolon-chained wall with heavy ALL-CAPS emphasis ('THE SET-WIDE SHEET GRAPH', 'SCHEDULE', 'Boxes are page fractions...' spliced mid-list). The part enumeration is buried in a run-on sentence rather than a clean list, which costs scanability for an agent parsing it.

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 carries the burden of explaining return content, and it largely does: it names the entry types, the citation format (each cell cited to its box, boxes as page fractions), and the pagination contract. Given six parameters and a multi-part, multi-discipline data model, the main residual gap is that it never describes the shape of the summary payload or what next_offset looks like in practice.

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?

With 67% schema coverage, the description meaningfully extends the schema for the hardest parameter: it defines each 'part' enum value's content and states that 'tables' can be narrowed with sheet or q, and that summary is the default. It also explains that 'sheet' matches entries citing a sheet key and that offset should follow next_offset. It does not cover limit's default (200) or project_id, but the schema already documents those.

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?

The description names a specific resource (the set-wide sheet graph) and enumerates its contents: schedules as logical tables with kind/title/headers/rows, rooms, drawn tags, callouts and revision markers across all disciplines. It also states provenance ('built from every sheet's text when the plans arrived, deterministically'), which tells an agent this is a precomputed extraction rather than a live read. It clearly separates itself from query_table for the row-level case.

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?

It gives an explicit routing rule for the sibling: 'For the rows of one large schedule use query_table (sheet_id, include_cells:true, one read): a whole table here is sampled.' It also prescribes the traversal order by declaring 'part summary (default) = counts + the schedule list without rows' before listing the other parts, and instructs 'Follow next_offset.' That is when-to-use plus alternative selection in one paragraph.

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