Skip to main content
Glama

get_device_details

Read-onlyIdempotent

Retrieve a LibrePCB library device by UUID or exact name to inspect its component, package, footprints, and pad-to-signal mapping.

Instructions

Library device: its component, package, footprints and pad -> signal mapping.

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": {
      "device": "<device>"
    },
    "name": "get_device_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceYesDevice UUID or exact name

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 readOnly, idempotent and non-destructive, so the safety profile is covered. The description adds some value by disclosing the shape of what comes back (component, package, footprints, pad-to-signal mapping), but it says nothing about lookup failure behavior when a name is not exact, or about how large/deep the footprint and pad data can be.

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

Conciseness3/5

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

Every word is load-bearing and the returned entities are front-loaded in a single compact line. The terseness tips into under-specification though — the sentence is a sentence fragment without a verb, so brevity here costs clarity rather than buying it.

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 one-parameter read-only getter with no output schema, the description gives roughly the minimum an agent needs: which identifier to supply and what categories of data return. It omits error/not-found semantics and any sense of payload size, which matters given pad-to-signal mappings can be large for high-pin-count packages.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With one parameter at 100% schema coverage, the schema already defines 'Device UUID or exact name'. The description earns a small credit above baseline by framing the argument as a *library* device, which disambiguates against board-placed components in a catalog full of add_/place_/move_component tools; it does not, however, elaborate on the UUID-vs-name resolution rules.

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 fragment names the resource ('Library device') and enumerates the sub-entities returned (component, package, footprints, pad->signal mapping), so an agent can infer it retrieves a library device's composition. But it has no verb and reads as a noun phrase, and it never contrasts itself with the close sibling get_component_details, leaving the boundary between device and component implicit.

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 — no statement of when this is the right call versus get_component_details, list_footprints, or get_board_info. The only usable signal, that this is a read-only lookup, is implied by the read-only annotations rather than the text.

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