Skip to main content
Glama

read_drawing_links

Read-onlyIdempotent

Read cited drawing notes and trace tags through schedule rows, cells, and explicit references; filter by tag or sheet to resolve linked drawing context and paginate large target sets.

Instructions

FALLBACK: get_record / lookup_mark give a code's or note's links one hop with sources; use this only for a note paragraph or a link the record lacks. Read full cited drawing notes and trace tags through schedule rows, all cell columns and explicit note/sheet/schedule references. Filter tag or sheet_id; kind=note lists note paragraphs. Follow next_offset and target IDs using node_id; page relationships with relationship_offset/relationship_limit when relationships_has_more. Page large target sets with target_offset/target_limit when targets_has_more; follow next_tool. Every duplicate candidate stays ambiguous; unresolved references and incomplete source coverage never establish absence. Relationships provide context, not accepted quantities or verified applicability. OCR notes retain text_sources, confidence_min and recognition_status=ocr_unverified. Confidence is uncalibrated; verify uncertain wording against the cited image and preserve all qualifiers. candidate_ids are unsupported matches for inspection, not resolved dependencies. Printed specification citations (SECTION/SPEC 22 14 29, DIVISION 08) are spec_reference/spec_division_reference relationships resolved against the current specification books: follow spec_targets[].next_tool (read_spec_section). An unresolved citation keeps its reason; spec_candidates are unconfirmed nearby numbers, never the cited section; raise the mismatch with the design team. tag='22 14 29' lists every drawing that cites a section.

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": "read_drawing_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
kindNo
limitNo
offsetNo
node_idNo
sheet_idNo
project_idYesThe project to work on (list_projects names them).
table_titleNo
target_limitNo
target_offsetNo
relationship_limitNo
relationship_offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.23

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description adds substantial extra context: duplicate candidates remain ambiguous, unresolved references never establish absence, OCR text carries text_sources/confidence_min/recognition_status, confidence is uncalibrated, and spec citations resolve against current specification books with spec_candidates explicitly untrustworthy. This is materially more than the annotations provide.

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 description is a long, dense block that mixes routing guidance, paging instructions, OCR caveats, citation-resolution rules, and epistemic warnings without separation. Useful facts are present but buried, and terms like next_tool, next_offset, and candidate_ids are used without grounding in the schema, making it hard to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex traversal tool with 12 parameters and no output schema, the description does cover paging, ambiguity, OCR provenance, and spec-citation handling. However, it never sketches the shape of the returned links/nodes/targets/relationships, and leaves several parameters and the meaning of offsets vague, so an agent still guesses at the call and response contract.

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 8% across 12 parameters, so the description has to carry the load, and it only partly does: it explains tag, sheet_id, kind=note, node_id, and the relationship/target paging pairs, but never mentions table_title or the base limit/offset. It also refers to 'next_offset' and 'targets_has_more'/'relationships_has_more' which are not schema field names, leaving the paging contract ambiguous.

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?

The definition names a specific verb and resource ('Read full cited drawing notes and trace tags through schedule rows, all cell columns and explicit note/sheet/schedule references') and explicitly positions itself against siblings get_record and lookup_mark as a FALLBACK. The core statement of what the tool returns is there, though it is wrapped in heavy caveat text that makes the first read slower than necessary.

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 when-to-use rule ('use this only for a note paragraph or a link the record lacks'), names the two preferred alternatives, and specifies how to obtain other scopes (kind=note for paragraphs, tag='22 14 29' for section citations). An agent does not need to infer anything to choose between this and its 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