Skip to main content
Glama

ipc_get_selection

Show the items that the user selected in the PCB editor of the running KiCad.

Instructions

Show the items that the user selected in the PCB editor of the running KiCad.

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": {
      "board_path": "<board_path>"
    },
    "name": "ipc_get_selection"
  }
}

Input Schema

NameRequiredDescriptionDefault
board_pathYesThe path of the .kicad_pcb file that is open in the PCB editor.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; "Show" reasonably conveys a read-only, non-destructive operation and the requirement of a live editor session. It does not disclose behavior for an empty selection or whether full item details versus identifiers are returned, though the output schema covers the return shape.

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?

One front-loaded sentence with no filler; the resource and the execution context appear before any caveats. Nothing could be trimmed without losing meaning.

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?

For a simple one-parameter read tool with a full schema and an output schema, the definition covers what it does and the live-editor context. The only gap is the absence of empty-selection behavior, a minor omission given the output schema exists.

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?

There is a single parameter with 100% schema description coverage, so the schema already explains board_path as the path of the open .kicad_pcb file. The description adds nothing beyond that, which is acceptable at this coverage level.

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?

"Show the items that the user selected in the PCB editor" states a specific verb (show/read) and resource (current selection), scoped to the PCB editor of a running KiCad instance. It is clearly distinguishable from a mutating sibling like ipc_select_items, but it never names that sibling, so the contrast is left implicit.

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 implied rather than stated: the phrase "of the running KiCad" signals the prerequisite that a board must be open in the PCB editor. There is no explicit when-to-use/when-not guidance and no pointer to ipc_select_items for changing the selection instead of reading it.

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

Deploy Server

Other Tools