Skip to main content
Glama

list_components

Read-onlyIdempotent

Retrieve component instances from a specified LibrePCB project path, including designators, values, library components, and placement status for inspection.

Instructions

List component instances: designator, value, library component, placement status.

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>"
    },
    "name": "list_components"
  }
}

Input Schema

NameRequiredDescriptionDefault
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?

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds that results carry placement status and library component linkage, which hints at read scope, but says nothing about ordering, pagination, or whether all boards/schematics in the project are walked.

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 that names the action and the returned attributes with zero filler. Nothing in it is redundant with the name or restates the obvious.

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 one-parameter read-only listing tool with full schema coverage and no output schema, this covers the essentials: what is listed and what fields come back. Minor gaps are scope (whole project vs. selected board/schematic) and ordering, but nothing critical is missing.

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?

Single parameter with 100% schema description coverage ("Path to the project's *.lpp file or its directory"), so the schema does the work. The description contributes no additional meaning about how project_path scopes the listing.

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?

States a specific verb ("List") and resource ("component instances") and even enumerates the fields returned (designator, value, library component, placement status). It does not distinguish itself from sibling search_components or get_component, so an agent cannot tell purely from this text which one to pick.

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?

No when-to-use or when-not-to-use guidance is given. With siblings like search_components, get_component, and get_component_details in the same family, the description never states that this is the unfiltered enumeration versus a filtered search or single-item fetch.

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