Skip to main content
Glama

Widen power nets in place

widen_nets

Grow the tracks (and optionally vias) of the named nets in place, each as wide as its clearance to every other net's copper, holes and the board edge allows, up to the net's target width. Nothing moves and no via is added, so the score does not change. Routers neck power down to the signal width wherever the class width did not fit their grid; most necks have room around them. List the heaviest current first: earlier nets take the room. Pours are refilled after each net and a widening that leaves the board less connected is backed out. The result names what still holds each remaining neck (a neighbour to move or reroute).

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>",
      "nets": "<nets>"
    },
    "name": "widen_nets"
  }
}

Input Schema

NameRequiredDescriptionDefault
netsYesNet -> target track width in mm.
viasNoNet -> [diameter_mm, drill_mm] sizes to try, largest first; a via only ever grows.
guardNoRefill pours and back out widenings that disconnect anything (default true).
necksNoHow many remaining necks to report per net (default 12).
wait_sNoSeconds to wait (default 55); a job still running comes back "running" for get_board_job.
design_idYesThe design id returned by import_kicad_project or list_designs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 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 / nets / propertyNames
      Removed value: -{
      -  "maxLength": 200,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • removedInput schema / properties / vias / additionalProperties / items / additionalItems
      Removed value: -false
    • changedInput schema / properties / vias / additionalProperties / items / items
      Previous value: -[
      -  {
      -    "exclusiveMinimum": 0,
      -    "maximum": 5,
      -    "type": "number"
      -  },
      -  {
      -    "exclusiveMinimum": 0,
      -    "maximum": 5,
      -    "type": "number"
      -  }
      -]New value: +false
    • removedInput schema / properties / vias / additionalProperties / items / maxItems
      Removed value: -2
    • removedInput schema / properties / vias / additionalProperties / items / minItems
      Removed value: -2
    • addedInput schema / properties / vias / additionalProperties / items / prefixItems
      Added value: +[
      +  {
      +    "exclusiveMinimum": 0,
      +    "maximum": 5,
      +    "type": "number"
      +  },
      +  {
      +    "exclusiveMinimum": 0,
      +    "maximum": 5,
      +    "type": "number"
      +  }
      +]
    • removedInput schema / properties / vias / additionalProperties / maxItems
      Removed value: -8
    • removedInput schema / properties / vias / additionalProperties / minItems
      Removed value: -1
    • removedInput schema / properties / vias / propertyNames
      Removed value: -{
      -  "maxLength": 200,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • 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

A4.6/5.0
Behavior5/5

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

With annotations already declaring readOnlyHint=false and destructiveHint=false, the description adds substantial behavior: "Nothing moves and no via is added, so the score does not change," pours are refilled after each net, and a widening that disconnects the board is backed out. It also discloses the return content (what still holds each remaining neck), which the absent output schema leaves otherwise undocumented.

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 scope and the no-movement guarantee are front-loaded, and every sentence carries information about behavior or result content. It is dense, with several clauses stacked into single sentences, but no sentence is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Six parameters with nested objects and no output schema is a heavy documentation load, yet the description covers what changes, what is protected, what is returned, and how leftovers are reported. An agent has enough to call this correctly and to interpret the response shape.

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 coverage is 100%, so the baseline is 3, but the description adds real semantics: net ordering is consequential because "earlier nets take the room," and vias "only ever grow," clarifying the try-largest-first rule in the schema. The guard, necks, and wait_s parameters get no added meaning, keeping this below a 5.

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?

The description opens with a specific verb+resource: "Grow the tracks (and optionally vias) of the named nets in place," and immediately bounds the operation ("up to the net's target width"). An agent can tell this apart from add_copper or fill_zones without opening the schema, because the widening-in-place scope is stated explicitly.

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 supplies the motivating situation ("Routers neck power down to the signal width wherever the class width did not fit their grid; most necks have room around them") and an ordering rule ("List the heaviest current first: earlier nets take the room"). It stops short of naming a sibling alternative to use instead when a neck cannot be widened, offering only the outcome hint about moving or rerouting a neighbour.

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