Skip to main content
Glama

get_plan_index

Read-onlyIdempotent

Retrieve a per-sheet index of a plan set — sheet numbers, titles, scale notes, text availability and set-wide counts — to orient yourself before opening or measuring any sheets.

Instructions

THE PLAN-SET INDEX — what was read from EVERY page of EVERY discipline when the plans arrived (no page cap, no size cap, no trade filter, no AI): per sheet its title-block number, title, the drawn scale note (a suggestion — confirm before measuring) and whether it has text at all (scanned_pages names the ones that don't), plus the set-wide sheet graph's counts (schedules by kind, rooms, tags, callouts). state 'indexing' = still reading. Use it to orient on a set before opening sheets. Sheets come in sheet-number order (discipline, then number) with page_index = their place in the PDF page order; order:'page' lists them in page order. 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_plan_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNosheet rows per page (default 120)
orderNosheet_number (default) = by discipline, then sheet number in natural order (G001, G020, G102, A106A, A200 ...), sheets with no number last in page order; page = the PDF page order. Every row carries page_index either way.
offsetNofirst sheet row of this page (default 0); follow next_offset
sheetsNoinclude the per-sheet list (default true; false = just the counts)
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
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive behavior, and the description adds important context beyond them: indexing state, uncapped reading, provisional scale notes, scanned-page detection, and ordering semantics. This gives an agent a strong behavioral picture before invocation.

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?

The description is front-loaded and information-dense, with the core purpose stated immediately. It is somewhat long and parenthetical, but nearly every clause contributes useful orientation or behavioral detail.

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?

There is no output schema, so the description must explain what comes back, and it does: per-sheet title-block fields, scanned_pages, sheet-graph counts, and indexing state. For a read-only index endpoint with five parameters, this is sufficiently complete.

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 description coverage is 100%, so the individual parameters are already well documented. The description reinforces ordering and page_index semantics, but it does not add much parameter meaning beyond what the schema already provides.

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 states a specific resource and scope: a plan-set index covering every discipline and page, with per-sheet title-block data and set-wide sheet-graph counts. It distinguishes itself from sheet-opening siblings by saying to use it to orient on a set before opening sheets.

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?

It gives clear usage context: orient on a set before opening sheets, and it notes the absence of page caps, size caps, trade filters, and AI processing. It does not explicitly name when not to use it versus alternatives such as get_sheet_graph or load_plan, but the intended role is clear.

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