Skip to main content
Glama

ipc_refill_zones

Fill all zones of the board in the PCB editor of the running KiCad.

Instructions

Fill all zones of the board in the PCB editor of the running KiCad.

KiCad fills the zones as "Fill All Zones" does, with its progress dialog. The tool waits for the end of the fill.

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": {
      "board_path": "<board_path>"
    },
    "name": "ipc_refill_zones"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeout_sNoThe longest time to wait for the end of the fill, 1 to 3600 s.
board_pathYesThe path of the .kicad_pcb file that is open in the PCB editor.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A3.5/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 add real value by disclosing that the fill runs through KiCad's native 'Fill All Zones' with a progress dialog and that the call blocks until the fill completes, which justifies the timeout parameter. However it omits mutation consequences an agent needs: whether the board is modified in memory or on disk, whether a save is required afterwards, undo behavior, and what happens on timeout.

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?

Three short sentences, front-loaded with the action and scope, then the behavioral note. Minor slack in 'in the PCB editor of the running KiCad', but nothing is wasted or repetitive.

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?

An output schema exists, so return values need no explanation, and the blocking/progress-dialog behavior plus timeout rationale cover the main complexity. The remaining gap is post-fill state (whether a save is needed) and timeout failure behavior, which matter for a mutating operation with no annotations.

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 description coverage is 100%, so both parameters are documented structurally and the baseline is 3. The description's 'waits for the end of the fill' sentence gives useful motivation for the timeout parameter but adds no format, default, or boundary detail beyond the schema.

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 and resource ('Fill all zones of the board') plus the target application context ('PCB editor of the running KiCad'). It implicitly separates itself from ipc_add_zone (add a zone) by the word 'fill', but does not name a sibling or state the distinction explicitly.

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 only implied: an agent can infer this runs after zones exist and edits are made, since it reproduces KiCad's 'Fill All Zones'. There is no explicit when-to-use/when-not guidance, no stated prerequisite that the board must already be open in the PCB editor, and no mention of what to do instead for a single zone.

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