Skip to main content
Glama

list_systems

Read-onlyIdempotent

Lists a sheet's drawn pipe, duct, conduit, curb, and other runs as numbered networks with lengths, tags, devices, and endpoints, filtered by pen, layer, system, or region for takeoff measurement.

Instructions

READ A SHEET'S DRAWN RUNS AS NUMBERED NETWORKS — the systems tracer, for any linear takeoff that is DRAWN: pipe (CW, HW, SAN, gas, hydronic, steam, condensate), conduit and branch circuits, duct, site utilities, curb, fence, rail, striping. The server groups every stroke by its pen (width, colour, dash, PDF layer) and printed linetype, joins what touches, bridges dash, label and crossing breaks, and numbers the networks longest first. Each comes with length, the tags beside it (system_hint/tags_near — read off the sheet, can be wrong), sizes, devices on it, tees, elbows and loose ends; pens[] sums every network drawn in one pen. double_line marks a network holding BOTH faces of a run (double-line duct or pipe, a curb's two lines, a rail): measure it with pair = its own id (unless the outline itself is the run: an island's curb, a roof edge). parallel_systems marks supply and return in one network: two pipes, measure each line with from/to, never pair. Short tagged pieces (a home run's stub, a flex) are always listed; a note counts the untagged ones under min_ft. A network is everything one pen draws joined together: it often holds more than your run (a pad outline, a branch, supply and return), so read its bbox and the picture. Then get_systems_image to SEE the numbers, and measure_systems with the ids you name. Never place points on a line yourself. Vector sheets 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>",
      "sheet_id": "<sheet_id>"
    },
    "name": "list_systems"
  }
}

Input Schema

NameRequiredDescriptionDefault
penNoonly networks drawn in this pen (pens[].pen)
viaNo[x, y] page fractions: a point on the run (the estimator's third click): with between, only networks passing it, walked by it
nearNo[x, y] page fractions (where the estimator clicked, or the run's label): networks passing closest to it first, each with from_point_ft
layerNoonly networks on a CAD layer whose name contains this (pens[].pen_style shows each pen's layer, e.g. 'STRP', 'M-DUCT', 'C-CURB')
limitNomax networks listed (default 60)
min_ftNoleave out networks shorter than this (default 3 ft)
regionNo[x0, y0, x1, y1] page fractions: only networks touching it (default whole sheet)
systemNoonly networks whose hint or a tag beside them names this (e.g. CW, SA, G)
betweenNo[x0, y0, x1, y1] page fractions: the run's two ends (the estimator's clicks). Adds between[]: the networks joining both points, best first, each with walk_ft, detour and a ready measure pick. Use it whenever you know both ends. When the first answer says ambiguous, ask the estimator for one point ON the run and list again with via
sheet_idYessheet key "file.pdf#page"
project_idYesThe project to work on (list_projects names them).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.23

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, but the description goes well past them: it explains the grouping algorithm (pen width/colour/dash/layer + printed linetype, joining touching strokes, bridging dash and crossing breaks), the ordering rule (longest first), and the default threshold (untagged pieces under min_ft are only counted). It also discloses reliability caveats ("tags_near — read off the sheet, can be wrong") and the trap that a network "often holds more than your run," which is the kind of behavioral detail annotations cannot carry.

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?

The purpose is front-loaded, but the body is a single dense block of run-on sentences mixing grouping mechanics, output-field descriptions, downstream tool routing, and edge-case warnings. Nothing is gratuitous, yet the lack of any structural separation makes it hard to scan for the one rule the agent needs at a given moment.

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?

For an 11-parameter tool with no output schema, the description covers what comes back (length, tags, sizes, devices, tees, elbows, loose ends, pens[] sums, bbox, double_line/parallel_systems flags) and how to act on it. Between the parameter prose and the workflow instructions, an agent has enough to call the tool correctly on the first attempt.

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?

Schema coverage is 100%, so the baseline is 3; the description earns an extra point by adding meaning the schema lacks, notably the between-vs-via decision rule and the ambiguity escalation path, plus the double_line/parallel_systems measurement rules (pair = its own id vs. from/to per line). Some of the added text describes output fields (pens[], bbox, walk_ft, detour) rather than inputs, which is useful but slightly off-target for this dimension.

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?

Opens with a specific verb and resource ("READ A SHEET'S DRAWN RUNS AS NUMBERED NETWORKS — the systems tracer") and enumerates the concrete domains it covers (pipe, conduit, duct, curb, rail). It explicitly separates itself from get_systems_image ("to SEE the numbers") and measure_systems ("with the ids you name"), so an agent can place it in the workflow without opening any schema.

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?

Gives an explicit pipeline (list_systems → get_systems_image → measure_systems) plus a hard prohibition ("Never place points on a line yourself") and a scope exclusion ("Vector sheets only"). It also prescribes when to supply between ("Use it whenever you know both ends") and a fallback protocol when the answer comes back ambiguous, which is exactly the decision guidance an agent needs.

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