Skip to main content
Glama

get_component_details

Read-onlyIdempotent

Retrieve a LibrePCB library component's details by UUID, including pins, symbol variants, attributes, prefix, default value, and all devices implementing it.

Instructions

Library component: signals (pins), symbol variants/gates, attributes, prefix, default value, and all devices implementing it.

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": {
      "component_id": "<component_id>"
    },
    "name": "get_component_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
component_idYesLibrary component UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/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 real value by enumerating the returned payload (pins, symbol variants, gates, attributes, prefix, default value, implementing devices), which matters since there is no output schema — but it says nothing about not-found/error behavior, cost, or result size for components with many devices.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence with zero filler, front-loaded with the resource type and then the payload contents. It is terse to the point of being a fragment, but no sentence is wasted.

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 single-parameter, idempotent read tool with full schema coverage and clear annotations, the description supplies the one thing structured fields cannot: the shape of the returned data. Ideal completeness would extend to error/empty behavior, but nothing essential to calling it correctly 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?

There is a single required parameter, component_id, and the schema documents it at 100% coverage as a 'Library component UUID'. The description adds no further constraint, format hint, or accepted alternate identifier, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (a library component) and enumerates what it exposes: signals/pins, symbol variants/gates, attributes, prefix, default value, and implementing devices. However, it is a noun-phrase fragment with no verb (no 'get'/'retrieve'), and it does nothing to distinguish it from sibling get_component or get_device_details, so the agent must infer purpose from the name.

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 when-to-use guidance at all: nothing says whether to call this before add_component/set_component_value, or why to pick it over get_component, list_components, or get_device_details. The only implied usage comes from the required component_id parameter.

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