Skip to main content
Glama

Reorder components

reorder_components
Destructive

Rearrange components in Altium library files by providing a desired order list; unlisted components move to the end preserving their relative order.

Instructions

Reorder components in an Altium library file (.PcbLib or .SchLib). Specify the desired order as a list of component names. Components not in the list are placed at the end in their original relative order.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filepathYesPath to the .PcbLib or .SchLib file
component_orderYesComponent names in desired order

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?

With destructiveHint=true already signaling mutation, the description adds meaningful behavioral detail: components not in the provided list are appended at the end in their original relative order. This is useful beyond the annotations and helps the agent predict the exact outcome.

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 concise and front-loaded with the core action and target file types. Every sentence adds necessary information, and the key behavior about unspecified components is stated clearly without redundancy.

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 two-parameter mutation tool with no output schema, the description covers the main inputs and the important edge-case behavior. It does not specify return values or error handling, but those are not essential given the straightforward scope.

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 coverage is 100%, so the baseline is 3. The description adds meaning to component_order by clarifying the ordering behavior and the fallback rule for omitted components, which is not in the schema.

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 a specific verb ('Reorder'), a clear resource ('components in an Altium library file'), and the file types (.PcbLib or .SchLib). It clearly differentiates this tool from siblings like list_components, read_pcblib, and write_pcblib.

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 implies when to use the tool by scoping it to reordering components in Altium library files, but it does not explicitly state when to prefer this over alternatives or mention any constraints or prerequisites. Usage context is present only by implication.

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