Skip to main content
Glama

read_riser_diagram

Read-onlyIdempotent

Reads a plumbing riser diagram to extract vertical pipe by system and size—risers, stacks, drops, and fixture vents—so you can add vertical runs that plan measurements miss.

Instructions

The VERTICAL pipe a plumbing riser diagram draws (risers, stacks, drops and fixture vents crossing a floor line), by system and size: storeys between the diagram's level lines, and feet from the set's level elevations, else the diagram's stated scale (say it is assumed), else storeys only (ask the floor-to-floor height). Systems come from the set's legend linetypes; sizes from each tag's leader. Add these to the plan runs measured with measure_systems: plans never show vertical pipe. Call it on the riser diagram sheet ('... RISER DIAGRAM'); a sheet with none says so.

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>",
      "sheet_id": "<sheet_id>"
    },
    "name": "read_riser_diagram"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.23

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare a safe, idempotent, closed-world read, and the description adds substantial behavior beyond them: a resolution hierarchy for units (storeys between level lines, then feet from level elevations, then stated scale flagged as assumed, then storeys only with a request for floor-to-floor height). It also discloses where systems and sizes are sourced (legend linetypes, tag leaders), which is real extraction behavior an agent cannot infer.

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?

Dense but waste-free: every clause carries extraction detail, unit fallback logic, or routing guidance. The opening sentence is heavily parenthetical and takes effort to parse, which slightly hurts front-loading, but there is no filler.

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?

For a two-parameter extraction tool with no output schema, the description covers unit derivation, uncertainty handling, and data sources thoroughly. It does not describe the shape of the returned data (per-system/per-size entries, level associations), which leaves a modest gap given there is no output schema.

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?

With only two parameters and 50% schema coverage, the schema documents project_id but not sheet_id. The description implies sheet_id must resolve to a riser diagram sheet ('Call it on the riser diagram sheet'), which adds some meaning, but it does not clarify the identifier format or what happens with a non-riser sheet beyond a 'says so' response.

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 the exact resource and scope: the VERTICAL pipe a riser diagram draws (risers, stacks, drops, fixture vents crossing a floor line), broken out by system and size. It explicitly distinguishes this from plan-based measurement by noting that plans never show vertical pipe and pointing to measure_systems for those runs.

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 concrete targeting guidance — call it on the sheet titled '... RISER DIAGRAM' — plus a fallback rule that a sheet with none says so, and it explains how results combine with measure_systems output. It stops short of explicitly saying when not to call it, but the sheet-type condition effectively covers that.

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