Skip to main content
Glama

Board outline

pcb_outline

Create or replace a PCB board outline using rectangle dimensions, optional corner radius, or polygon points; removes the previous outline.

Instructions

Create/replace the board outline (layer 11, Board Outline). Rectangle: width, height (mm), optional cornerRadius, lower-left at origin (default 0,0). Or polygon: list of [x,y] mm points. Removes the previous outline.

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_outline"
  }
}

Input Schema

NameRequiredDescriptionDefault
widthNo
heightNo
originNo
polygonNo
cornerRadiusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/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 the key destructive trait, "Removes the previous outline", which is the most important behavioral fact for a mutation tool. However it omits permissions or prerequisites, reversibility, whether existing features placed on the outline are affected, and what happens when no parameters are supplied (0 required params).

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 purpose and the destructive note arrives at the end without wasted words. The telegraphic style ("Rectangle: width, height (mm), optional cornerRadius") is dense but readable; a slightly clearer mode split would improve it without adding length.

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 5-parameter mutation tool with no annotations and no output schema, the description covers purpose, units, and replacement behavior, which is close to sufficient. It leaves ambiguous what a call with zero arguments does (all params optional) and what the tool returns, gaps that neither schema nor annotations fill.

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 description coverage is 0%, so the description must compensate, and it largely does: it gives units (mm) for width, height, and polygon points, flags cornerRadius as optional, states the origin default of (0,0), and describes the polygon as a list of [x,y] points. The only gap is that rectangle-vs-polygon exclusivity is implied rather than stated.

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?

States a specific verb and resource: "Create/replace the board outline (layer 11, Board Outline)". Naming the exact layer and resource distinguishes it cleanly from siblings such as pcb_copper, pcb_silkscreen, and pcb_holes, which operate on other layers.

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?

It implies two modes by mapping parameters to each shape (rectangle via width/height, polygon via a point list), which is useful, but it never states when this tool is the right choice versus siblings like pcb_rules or pcb_delete, nor when to prefer rectangle over polygon.

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