Skip to main content
Glama

pcb_create_room

Creates a rectangular confinement room on the active PCB to group and restrict selected components by designator, helping organize layout and enforce placement boundaries.

Instructions

Create a room for component grouping on the active PCB.

Creates a confinement constraint rule that defines a rectangular region. Components can be assigned via scope expression.

Args: name: Room name (e.g., "Power Section", "USB Block") x1: First corner X in mils y1: First corner Y in mils x2: Second corner X in mils y2: Second corner Y in mils components: Comma-separated component designators to confine (e.g., "U1,U2,R1,R2"). Optional; empty = applies to all.

Returns: Dictionary with created status, name, coordinates, and scope

Input Schema

NameRequiredDescriptionDefault
x1Yes
x2Yes
y1Yes
y2Yes
nameYes
componentsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reasonably well: it discloses the mutation ('Creates a confinement constraint rule'), the target context ('active PCB'), the geometry semantics (rectangular region from two corners), and the default behavior for empty components ('applies to all'). It omits error conditions (name collision, room overlapping existing rooms, what happens to already-placed components) and permission/precondition requirements.

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?

Front-loaded with the core action, then a compact structure (summary, args, returns) that scans well. Slightly padded: the 'Returns' block is redundant with the existing output schema, and the example lists in Args add length without new information.

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 6-param mutation tool with 0% schema coverage and no annotations, the description supplies units, defaults, and examples – enough to call it correctly. The main gap is sibling disambiguation against pcb_create_design_rule and failure modes; the Returns block is unnecessary since an output schema exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate and it does: units are given for x1/y1/x2/y2 (mils), name examples are provided, and components is documented as comma-separated designators with an explicit empty-string default meaning. This is meaningfully more than the schema's bare titles.

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?

States a specific verb+resource: 'Create a room for component grouping on the active PCB', and clarifies the underlying object ('confinement constraint rule' defining a rectangular region). It does not distinguish itself from sibling pcb_create_design_rule, which is the closest functional overlap, so it falls short of a 5.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the description explains that components are assigned via scope expression and shows example names/designators, which hints at the workflow. But there is no explicit when-to-use vs. pcb_create_design_rule, no prerequisites (does an active PCB must be open and un-routed?), and no exclusions.

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