Skip to main content
Glama
Avinash1286

KiCAD MCP Server

by Avinash1286

Copy Routing Pattern

copy_routing_pattern
Destructive

Copy traces and vias from source components to matching target components. Offset is calculated automatically from the first component pair, simplifying routing for identical circuit blocks.

Instructions

Copy routing pattern (traces and vias) from a group of source components to a matching group of target components. The offset is calculated automatically from the position difference between the first source and first target component. Useful for replicating routing between identical circuit blocks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceRefsYesReferences of the source components (e.g. ['U1', 'R1', 'C1'])
targetRefsYesReferences of the target components in same order as sourceRefs (e.g. ['U2', 'R2', 'C2'])
traceWidthNoOverride trace width in mm (default: keep original width)
includeViasNoAlso copy vias (default: true)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false. The description adds behavioral context: the offset is calculated automatically from the position difference between the first source and target components, and it copies both traces and vias. It does not contradict annotations and adds useful information beyond the structured hints.

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 two sentences with no filler. It front-loads the primary action, then adds a key detail (automatic offset) and a use case. Every word earns its place.

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?

The tool has an output schema, full parameter descriptions, and safety annotations. The description covers purpose, mechanism, and use case, which is sufficient for an agent to select and invoke it. It could mention overwrite behavior on target routing, but the annotations and schema already cover the main safety context.

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% with descriptions for all four parameters, so baseline is 3. The description adds meaning to sourceRefs/targetRefs by explaining the automatic offset calculation based on the first source/target pair, which clarifies how parameters relate. This goes beyond the schema's field-level descriptions.

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 the action: 'Copy routing pattern (traces and vias) from a group of source components to a matching group of target components.' It specifies the resource (routing pattern) and the mechanism (copying between component groups), which distinguishes it from sibling tools like route_trace or add_via.

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 provides a clear context for use: 'Useful for replicating routing between identical circuit blocks.' This implies when to use the tool, though it does not explicitly mention alternatives or exclusions. The use case is specific enough to guide an agent.

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/Avinash1286/KiCAD-MCP-Server-THEAVI'

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