Skip to main content
Glama
hyl64
by hyl64

pcb_auto_route_nets

Automatically route selected PCB nets with single-layer obstacle avoidance or two-layer L-shaped routing using vias. Supports custom width, layers, and clearance; always run DRC afterwards.

Instructions

自动布线:单层障碍规避(默认,绕开焊盘+clearance)或两层 L 型(useVias)。需 DRC 复查

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
netsNo要布线的网络列表(默认全部)
widthNo线宽 mil(默认 10)
useViasNotrue=两层 L 型(含过孔);false/缺省=单层障碍规避
topLayerNo布线层(默认 1 顶层)
viaLayerNo垂直走线层(useVias 时,默认 2 底层)
clearanceNo障碍间距 mil(默认 15)
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses the two routing strategies and the requirement for DRC recheck, which adds valuable context. However, it fails to mention potential side effects such as modifying or deleting existing tracks, or whether it routes all nets or only selected ones.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence that is front-loaded with the core action ('自动布线') and packs all key mode information compactly. There is no redundant or filler content.

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

Completeness2/5

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

For a complex board-modifying operation with 6 parameters and no output schema, the description is too sparse. It misses critical operational details like whether existing tracks are ripped up, how failures are handled, and the scope of nets affected, making it incomplete for the AI agent to fully understand the tool's behavior.

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 100%, so baseline is 3. The description adds cross-parameter meaning by linking 'useVias' to the two-layer L-shape mode and 'clearance' to obstacle avoidance, which goes beyond the individual schema descriptions and helps the agent understand parameter interactions.

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 clearly states '自动布线' (auto-routing) and specifies two routing modes: single-layer obstacle avoidance and two-layer L-shape with vias. This distinguishes it from manual routing tools like pcb_route_track and other auto-routing variants.

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?

The description implies use when automatic routing is desired and explicitly notes that DRC recheck is needed afterward. It does not explicitly name alternatives or exclusions, but the context of 'auto' versus manual routing is clear from sibling tool names.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hyl64/jlcmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server