Skip to main content
Glama

get_component

Read-onlyIdempotent

Retrieve full details for a single LibrePCB component—attributes, signal-to-net mapping, schematic symbols with pin positions, and board devices with pad positions and nets.

Instructions

Full details of one component: attributes, signal->net mapping, schematic symbols with pin positions, board devices with pad positions/nets.

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": "get_component"
  }
}

Input Schema

NameRequiredDescriptionDefault
componentYesComponent designator (e.g. 'R1') or UUID
project_pathYesPath to the project's *.lpp file or its directory

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds value by disclosing the breadth of the payload (schematic pins and board pads), which hints this may be a heavy call, but it says nothing about error behavior or cost when a component is not found.

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?

A single dense sentence with the returned payload front-loaded and no filler. Every clause earns its place by naming a distinct slice of output.

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?

With no output schema, the description usefully compensates by enumerating the return contents in detail. It falls short only on error cases, payload size, and how it relates to the very similarly named get_component_details sibling.

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%, so both parameters (component designator/UUID and project path) are already documented in the schema. The description adds no further meaning about how the identifier is resolved or what path forms are accepted, so the baseline of 3 applies.

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 names a specific resource ('one component') and enumerates exactly what is returned: attributes, signal->net mapping, schematic symbols with pin positions, and board devices with pad/net positions. That is far more informative than a bare 'get'. It does not, however, differentiate itself from the sibling get_component_details, so an agent still cannot tell the two apart with confidence.

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?

There is no guidance on when to call this versus a list or detail sibling, no prerequisites about the project_path, and no note on what happens if the designator is ambiguous or missing. Usage must be inferred entirely from the returned-fields list.

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