Skip to main content
Glama

place_component

Move, rotate, or flip a component on a LibrePCB board while keeping traces attached to its pads.

Instructions

Move/rotate/flip a device on a board. Traces stay attached to its pads.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_path": "<project_path>",
      "component": "<component>"
    },
    "name": "place_component"
  }
}

Input Schema

NameRequiredDescriptionDefault
flipNoBottom side; default: keep
x_mmNodefault: keep
y_mmNodefault: keep
boardNoBoard name, UUID or index; default: first
componentYesComponent designator (e.g. 'R1') or UUID
project_pathYesPath to the project's *.lpp file or its directory
rotation_degNoAbsolute; default: keep

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so the mutation profile is carried by structured data. The description adds one genuinely useful behavioral fact beyond that - that traces remain attached to the pads after the move - but says nothing about failure modes, coordinate units or whether omitted parameters are preserved beyond the schema's 'default: keep'.

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?

Two short sentences, front-loaded with the operation and followed by the one non-obvious consequence. Nothing is wasted and no sentence repeats the schema.

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?

For a 7-parameter mutation tool with no output schema, the description covers purpose and one side effect, while the schema covers all parameters thoroughly. It falls short on sibling disambiguation and on what success or failure looks like, which matters given the tool is not idempotent per annotations.

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 description coverage is 100%, with each of the seven parameters documented inline including defaults and the absolute nature of rotation_deg. The description adds no parameter-level meaning beyond the schema, so the baseline 3 is appropriate.

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 gives a specific verb set (move/rotate/flip) applied to a concrete resource (a device on a board), so the operation is unambiguous. It does not, however, distinguish itself from the sibling move_component and rotate_component tools, leaving an agent unsure whether this is the combined form or a different operation.

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

Usage Guidelines3/5

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

Usage is only implied by the verb list; there is no statement of when to prefer this over move_component or rotate_component, nor any prerequisite such as an open project or unlocked placement. An agent must infer that this single call handles all three transforms at once.

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