Skip to main content
Glama

Render the board (2D, exact)

render_board
Read-only

An exact 2D picture of the board as an engineer reads it: copper per layer (the facing layer full strength, the others faded), pads, vias, pours, outline, courtyards and refs. side top|bottom, region [x, y, w, h] mm for a crop, drc_markers to circle every DRC violation, ratsnest to draw the open connections, highlight_nets/highlight_refs in magenta. The pixel-per-mm scale and region come back so a follow-up crop is exact. Download workspace.render.png.

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": {
      "design_id": "<design_id>"
    },
    "name": "render_board"
  }
}

Input Schema

NameRequiredDescriptionDefault
refsNo
sideNo
layersNo
regionNo[x_mm, y_mm, w_mm, h_mm] crop; default the whole board.
wait_sNoSeconds to wait (default 55); a job still running comes back "running" for get_board_job.
markersNo
ratsnestNo
design_idYesThe design id returned by import_kicad_project or list_designs.
max_widthNo
px_per_mmNo
courtyardsNo
drc_markersNo
highlight_netsNo
highlight_refsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / properties / design_id / pattern
      Removed value: -"^[A-Za-z0-9_-]{8,80}$"
    • removedInput schema / properties / highlight_nets / items / maxLength
      Removed value: -80
    • removedInput schema / properties / highlight_nets / maxItems
      Removed value: -50
    • removedInput schema / properties / highlight_refs / items / maxLength
      Removed value: -40
    • removedInput schema / properties / highlight_refs / maxItems
      Removed value: -50
    • removedInput schema / properties / layers / items / maxLength
      Removed value: -20
    • removedInput schema / properties / layers / maxItems
      Removed value: -16
    • removedInput schema / properties / markers / items / properties / label / maxLength
      Removed value: -80
    • removedInput schema / properties / markers / maxItems
      Removed value: -200
    • removedInput schema / properties / region / maxItems
      Removed value: -4
    • removedInput schema / properties / region / minItems
      Removed value: -4
    • changedInput schema / properties / wait_s / description
      Previous value: -"Seconds to wait for the job (default 55). A job still running comes back with status \"running\": follow it with get_board_job. A job is allowed the time its budget asks for (time_budget_s, total_budget_s, rounds), and survives a server restart (the op starts over from its snapshot; route_board's pipeline goes on from its last finished stage)."New value: +"Seconds to wait (default 55); a job still running comes back \"running\" for get_board_job."
  2. Changed1 schema field changed
    • changedInput schema / properties / wait_s / description
      Previous value: -"Seconds to wait for the job (default 55). A job still running comes back with status \"running\": follow it with get_board_job. A job is allowed the time its budget asks for (time_budget_s, total_budget_s, rounds), and survives a server restart (the op starts over from its snapshot)."New value: +"Seconds to wait for the job (default 55). A job still running comes back with status \"running\": follow it with get_board_job. A job is allowed the time its budget asks for (time_budget_s, total_budget_s, rounds), and survives a server restart (the op starts over from its snapshot; route_board's pipeline goes on from its last finished stage)."
  3. Changed1 schema field changed
    • changedInput schema / properties / wait_s / description
      Previous value: -"Seconds to wait for the job (default 55). A job still running comes back with status \"running\": follow it with get_board_job."New value: +"Seconds to wait for the job (default 55). A job still running comes back with status \"running\": follow it with get_board_job. A job is allowed the time its budget asks for (time_budget_s, total_budget_s, rounds), and survives a server restart (the op starts over from its snapshot)."
  4. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish readOnly/non-destructive/local behavior, and the description adds genuinely new facts: the output is written to workspace.render.png rather than returned inline, layering fade semantics, and that magenta is used for highlights. It omits that a job may come back 'running' and require get_board_job — that detail lives only in the schema's wait_s description.

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?

It is a single dense but front-loaded block that leads with what the image contains and then maps options to effects; each clause carries information. The run-on construction with many comma-separated clauses slightly reduces scannability but wastes little.

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?

With 14 parameters and no output schema, the description does the right thing by describing the return (scale, region) and the artifact location. It still leaves the async/job flow — wait_s default 55, 'running' status, and handoff to get_board_job, an existing sibling — outside the description, and several parameters unexplained, so an agent cannot fully call it correctly from the description alone.

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 only 21%, and the description compensates for several parameters — side, region as [x,y,w,h] mm crop, drc_markers, ratsnest, highlight_nets/highlight_refs (and their magenta color). However refs, layers, markers, max_width, and px_per_mm are undocumented in both the schema and the description, leaving roughly a third of the parameter surface unexplained.

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 gives a specific verb+resource ('An exact 2D picture of the board') and enumerates the rendered content (copper per layer, pads, vias, pours, outline, courtyards, refs), so an agent knows precisely what it produces. It does not explicitly distinguish itself from siblings such as get_board_context or export_step, leaving that differentiation to inference.

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 through the crop/follow-up workflow ('The pixel-per-mm scale and region come back so a follow-up crop is exact'), which suggests an iterative visual-inspection pattern. There is no explicit when-to-use versus alternatives guidance, and no statement about when a render is unnecessary compared with textual board tools.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources