Skip to main content
Glama

kicad.add_wire

Connect two points in KiCad PCB designs by specifying exact coordinates for wire placement in electronic schematics.

Instructions

Add a wire between two points. Coordinates must be exact. Example: add_wire(x1=100, y1=50, x2=150, y2=50)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
x1Yes
y1Yes
x2Yes
y2Yes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
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 adds valuable behavioral context regarding coordinate exactness, but fails to disclose mutation effects, error conditions, or reference the existing output schema.

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?

Three sentences efficiently structured: purpose first, constraint second, example third. No redundant information; every sentence earns its place.

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?

Adequate for a simple geometric drawing tool with four numeric parameters and an output schema (which excuses return value documentation). However, gaps remain regarding units, grid snapping behavior, and electrical net creation implications.

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 has 0% description coverage (only titles X1, Y1, etc.). The description compensates partially with a concrete example showing numeric values, though it omits critical context like units (mm vs mils) and coordinate system origin.

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 clearly states the action (add) and resource (wire) with scope (between two points). However, it does not differentiate from sibling tool 'add_line', which in KiCad is for graphical lines rather than electrical connections.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides only the constraint that 'Coordinates must be exact' but lacks explicit guidance on when to use this versus 'add_line' (graphical) or 'route_trace' (PCB), and omits prerequisites like having an open schematic.

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/SaeronLab/eda-mcp'

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