Skip to main content
Glama

Delete components

delete_component
Destructive

Delete specified components from an Altium library file. Use dry_run to preview changes without permanent modification.

Instructions

Delete one or more components from an Altium library file (.PcbLib or .SchLib). The file type is auto-detected from the extension. Returns status for each component: deleted, not_found, or error. Use dry_run=true to preview changes without modifying the file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNoIf true, show what would be deleted without actually modifying the file
filepathYesPath to the .PcbLib or .SchLib file
component_namesYesNames of components to delete

Schema Changelog

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

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, the description explicitly states the delete action, explains the dry_run behavior to avoid actual modification, and details the return statuses ('deleted', 'not_found', 'error'), providing full transparency.

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, using two sentences to cover the core action and the dry_run/return behavior. It is well-structured and free of redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is complete for a deletion tool: it specifies input parameters, the preview option, and the output statuses. Even without an output schema, the return behavior is clearly described, and the destructive nature is highlighted.

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

Parameters5/5

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

Schema coverage is 100% with clear parameter descriptions, and the description adds extra semantic value by explaining the dry_run behavior and the return status per component, which goes beyond the schema fields.

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 action ('Delete one or more components') and the target resource ('Altium library file'), with specific file types. It distinguishes this from other component operations like update or rename by the verb 'delete'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage when deletion is needed and mentions dry_run for previewing, but it does not explicitly compare against sibling tools like 'update_component' or 'copy_component' to clarify when deletion is the appropriate operation.

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