Skip to main content
Glama

lib_set_component_description

Updates the description field of a named component in the active EasyEDA library, letting assistants document parts during PCB design workflows.

Instructions

Set the description field on a library component.

Args: component_name: Name of the component in the active library description: New description text

Returns: Dictionary confirming the description was set

Input Schema

NameRequiredDescriptionDefault
descriptionYes
component_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries full behavioral burden. It discloses only that a dictionary confirmation is returned; it does not say whether the existing description is overwritten, whether the write persists to disk, whether permission or an open library is required, or what happens if the component name is not found.

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

Conciseness4/5

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

Short and front-loaded with the action, followed by a compact Args/Returns block. Mild redundancy in restating parameter names, but nothing extraneous.

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?

An output schema exists so return values need not be explained, and the two parameters are covered. For an unannotated mutation tool, though, the missing side-effect and precondition information leaves real gaps.

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 description coverage is 0% (only bare titles), so the Args block is doing real work: it clarifies that component_name is resolved against the active library and that description is new text replacing the old value. However, it adds no format, length, or lookup-syntax detail beyond those hints.

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

Purpose4/5

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

States a specific verb and resource: setting the description field on a library component. It is clearly distinguishable from the many other lib_* mutation tools (rename, delete, copy) by naming the exact field it writes, though it does not explicitly reference those siblings.

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?

No guidance on when to use this versus lib_batch_set_params or lib_rename_component, and no prerequisites such as whether the component must exist or which library is 'active'. The agent must infer usage entirely from the name.

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

Deploy Server

Other Tools