Skip to main content
Glama

Read PCB (compact)

pcb_read

Read compact PCB state in millimeters, including board outline bounds, components, optional pads with nets, and per-net routing summaries; filter by designator to inspect layout.

Instructions

Compact PCB state in mm: board outline bbox, components (designator, x, y, rotation, side, footprint, bbox), optional pads with nets, and a per-net routing summary. Filter by designators.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pcb_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
padsNo
tracksNo
designatorsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose that the result is a 'compact' state in mm and what sections it contains, which implies a read-only summary, but it says nothing about size limits, whether large boards are truncated, or what 'compact' omits relative to the detailed siblings.

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?

A single dense sentence with the most important information (what state, what units, what fields) front-loaded and no filler. The nested parenthetical field list is slightly heavy but each clause conveys content.

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?

No output schema exists, so the description must describe return values, which it does at the field level. However, it omits the tracks parameter, default behavior when no designators are given, and any indication of response size, leaving real gaps for a three-parameter tool.

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 coverage is 0%, so the description must compensate. It explains two of three parameters: 'optional pads with nets' for pads and 'Filter by designators' for designators. The tracks boolean is never explained, so an agent cannot tell what enabling it adds beyond the 'per-net routing summary' already mentioned.

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 description names the resource (PCB state) and enumerates what is returned: board outline bbox, components with designator/x/y/rotation/side/footprint/bbox, optional pads with nets, and a per-net routing summary, plus units in mm. That is specific enough to distinguish it from detailed siblings like pcb_copper or pcb_tracks, though it never explicitly says so.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only usage cue is the trailing 'Filter by designators.' There is no statement of when to reach for this compact read versus pcb_outline, pcb_tracks, pcb_status, or pcb_snapshot, and no prerequisites or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.