Skip to main content
Glama

PCB snapshot (image)

pcb_snapshot

Capture PCB board, region, or part-area images by layer from design data without disturbing the EasyEDA view, or use native rendering when EasyEDA is visible.

Instructions

Picture of the PCB (whole board, a region in mm, or the area around some parts). layers: all | top | bottom. Default mode "render" draws it from the design data without touching the user window, view or focus: outline, pours (dashed), copper fills, tracks (top red / bottom blue), pads, vias, holes, part outlines and designators; pad net names when zoomed in. mode "native" uses EasyEDA own drawing (filled pours, silkscreen) but only if EasyEDA is already visible, and it moves the user view.

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

Input Schema

NameRequiredDescriptionDefault
modeNorender
maxPxNo
aroundNo
layersNoall
regionNo
paddingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/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 well: it discloses that render does not touch the user window, view, or focus, whereas native moves the user view and requires EasyEDA visibility. It also lists what gets drawn. It omits error behavior when native is unavailable and the exact return type, though the title hints at an image.

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?

The description is dense and front-loads the scope before covering layers and modes. Some phrasing is run-on and awkward, but every sentence contributes useful information and there is no filler.

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 six-parameter tool with a nested object, no annotations, and no output schema, the description covers core behavior and mode semantics reasonably well. It still leaves two parameters unexplained and lacks return-format and error details, so it is only partially complete.

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 adds useful meaning for mode (render vs native behavior), layers, and region units (mm), and describes 'around' as area around parts. However, maxPx and padding are entirely undocumented, and the expected format of the 'around' list is vague.

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 clearly states it returns a picture of the PCB and enumerates the scope options (whole board, mm region, around parts) plus layer choices. It is specific about the resource but does not explicitly differentiate itself from siblings such as sch_snapshot or pcb_read.

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 strong within-tool guidance for choosing between render and native mode, including the key condition that native only works if EasyEDA is already visible and moves the user view. It does not, however, explain when to use this tool versus other PCB data tools.

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