Skip to main content
Glama

Kicad Pcb Add Footprint

kicad_pcb_add_footprint

Add a footprint to a PCB by library ID at a set position, layer, and rotation, and assign its reference and value for schematic-driven layout.

Instructions

Add a footprint to a PCB by library id (e.g. 'Resistor_SMD:R_0603_1608Metric').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNo
yNo
pathYes
layerNoF.Cu
valueNo
lib_idYes
rotationNo
referenceYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries full behavioral burden but only implies mutation through 'Add'. It does not disclose side effects, file modification, permission requirements, library-id validation, or error behavior.

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?

A single front-loaded sentence with no filler or repetition. Its brevity is efficient, though partly a symptom of under-specification rather than deliberate conciseness.

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?

An output schema exists, so return values need not be explained. However, for a mutation tool with 8 parameters and no annotations, the description omits essential calling context such as prerequisites, coordinate semantics, and required parameter meaning.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for 8 parameters. The description only clarifies the lib_id format via example; required parameters like path and reference, plus x, y, layer, value, and rotation, remain undocumented.

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?

States a specific verb (Add), resource (footprint to a PCB), and scope (by library id) with a concrete example. The resource vocabulary distinguishes it from siblings such as kicad_sch_add_symbol and kicad_pcb_add_track without ambiguity.

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?

The description gives no when-to-use guidance, no alternatives, and no prerequisites such as requiring an open project or existing PCB file. It simply states the action.

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