Skip to main content
Glama

Duplicate a component

copy_component
Destructive

Duplicate a component in an Altium library under a new name, generating fresh GUIDs and unique IDs to create independent variants.

Instructions

Copy/duplicate a component within an Altium library file. Creates a new component with a different name and identical primitives, but its own identity: the copy's GUIDs and unique ids are minted fresh rather than shared with the original. Useful for creating variants.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNoIf true, validate the operation without modifying the file. Default: false
filepathYesPath to the Altium library file (.PcbLib or .SchLib)
descriptionNoOptional description for the new component (defaults to source description)
source_nameYesName of the component to copy
target_nameYesName for the new copied component

Schema Changelog

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

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already indicate destructiveHint=true, and the description adds useful behavioral detail about creating a new component with fresh GUIDs. It does not mention what happens if the target name already exists, but the annotation covers the destructive nature.

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 compact and direct, using three sentences with no redundant or filler content. It efficiently conveys the action, the result, and the primary use case.

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?

Given the absence of an output schema, the description adequately explains the operation's result and purpose. It covers the core behavior, and the dry_run parameter semantics are already described in the schema.

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?

Schema coverage is 100%, with all five parameters described clearly. The description itself adds no additional parameter-level detail, so the baseline score of 3 is appropriate given the complete 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 clearly states the tool copies/duplicates a component within an Altium library file, using specific verbs and a clear resource. It distinguishes the operation from cross-library copies and renames by emphasizing 'within an Altium library file' and fresh GUIDs.

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 mentions the tool is useful for creating variants, providing some usage context. It does not explicitly distinguish when to use this tool over the similar copy_component_cross_library or rename_component, though the 'within an Altium library file' phrasing gives an implicit boundary.

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