Skip to main content
Glama

move_footprint

Destructive

Move a KiCAD footprint by reference designator to specified X/Y coordinates, optionally adjusting rotation. Preview with dry run before applying.

Instructions

Moves a footprint (component) to a new position on the board and optionally changes its rotation angle. The footprint is identified by its reference designator (e.g. U1, R1, C1). Positions are in millimeters relative to the board origin. Y increases toward the bottom of the board (KiCAD convention). This creates one undo step: the user can press Ctrl+Z in KiCAD to revert the move. Use dry_run=true to preview the intended position change without actually moving the component. The preview shows current position, target position, and delta. WARNING: This modifies the board. Child pads follow the footprint automatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
x_mmYesTarget X position in millimeters from the board origin.
y_mmYesTarget Y position in millimeters from the board origin. Y increases toward the bottom of the board.
dry_runNoIf true, compute and report what would change without actually moving the footprint. Defaults to false.
referenceYesReference designator of the footprint to move. Examples: U1, R1, C1, J1, D1. Use list_footprints to discover available references.
rotation_degNoTarget rotation angle in degrees (0-360). Omit to keep the current rotation unchanged.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true), the description adds: the move creates one undo step (Ctrl+Z in KiCAD), modifies the board (WARNING), child pads follow automatically, and dry_run preview shows current position, target position, and delta. This enriches the destructive behavior with actionable details.

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 moderately long but every sentence adds value: action, identification, coordinate system, undo behavior, dry-run purpose, warning, and child-pad behavior. It is well-structured and front-loaded with the core purpose.

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?

Given the tool's complexity (positioning, rotation, dry-run, undo, destructive nature), the description covers all critical aspects: how to identify the footprint, coordinate units and direction, preview capability, undo step, and consequences. The output schema exists, so return-format details are not required in the description. No gaps.

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

Parameters5/5

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

Even though the schema already covers 100% of parameters, the description adds semantics: 'mm relative to board origin', 'Y increases toward bottom of the board', 'reference designator examples', 'dry_run=true shows current/target/delta', and 'rotation omit keeps current rotation'. This significantly aids correct invocation beyond raw schema.

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 starts with a specific verb and resource: 'Moves a footprint (component) to a new position on the board and optionally changes its rotation angle.' It clearly identifies the footprint via reference designator and distinguishes this from sibling tools like edit_footprint by focusing on positional/rotation changes.

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 clear usage context: positions are in millimeters from board origin, Y axis direction follows KiCAD convention, and dry_run should be used to preview changes. It also directs users to list_footprints to discover available references. While it doesn't explicitly state when not to use this tool versus edit_footprint, the positional focus and dry-run guidance are clear.

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/Amagtoto/pcb-mcp'

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