Skip to main content
Glama

List components

list_components
Read-only

List all component and footprint names from Altium .PcbLib or .SchLib files. Use pagination for large libraries, or include_metadata to get part counts, pin counts, and more.

Instructions

List all component/footprint names in an Altium library file (.PcbLib or .SchLib). Supports pagination with limit/offset for large libraries. Use include_metadata for additional details like part_count and pin_count.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of components to return, 1 or more (optional, default: all)
offsetNoNumber of components to skip, 0 or more (optional, default: 0)
filepathYesPath to the library file
include_metadataNoIf true, return objects with metadata instead of just names: a footprint's description, one count per primitive kind and has_3d_model; a symbol's description, designator, part_count, pin_count and footprint_count. Default: false

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds value beyond annotations by explaining pagination behavior with limit/offset and the default state (returning just names unless include_metadata is true). This is useful behavioral context without contradicting the annotations.

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?

The description is two concise sentences with no fluff. The core purpose is front-loaded, followed by pagination behavior and the optional metadata flag. Every sentence earns its place, making it easy to scan.

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 read-only listing tool with no output schema, the description is sufficiently complete: it names the resource, the supported file types, the pagination mechanism, and distinguishes the two return modes (names vs. metadata). It doesn't specify the exact response format, but that is acceptable given the schema-defined parameters and the read-only context.

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?

Schema description coverage is 100% for all four parameters, so the baseline is 3. The description adds semantic context: it connects limit/offset to pagination for large libraries and gives concrete examples of metadata (part_count, pin_count) that include_metadata yields. This extra meaning justifies a 4.

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

Purpose5/5

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

The description states the specific verb 'List', the resource ('component/footprint names in an Altium library file'), and the scope ('(.PcbLib or .SchLib)'). This clearly distinguishes it from siblings like get_component or search_components, which target individual or filtered components rather than a full listing.

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?

The description gives context on when to use pagination ('for large libraries') and when to enable include_metadata, but it does not explicitly contrast this tool with alternatives like search_components or get_component. The usage guidance is implied rather than explicit, so an agent may need to inspect siblings to determine the right choice.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/embedded-society/altium-designer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server