Skip to main content
Glama
sheares

easyeda-mcp-fix

by sheares

lib_symbol_update_document_source

Destructive

Replace a library symbol's entire .esym source in EasyEDA; no undo or backup is taken, so fetch and save the current source first if you may need to restore it. Returns boolean success.

Instructions

Replace a library symbol's entire .esym source. IRREVERSIBLE: no undo, and no backup snapshot is taken (library assets are not documents). Fetch and save the current source with lib_symbol_get first if you may need to restore it. The symbol must live in a library you can write to (personal/team/project). Returns boolean success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolUuidYesSymbol UUID
instance_idNoTarget EasyEDA instance ID (8-char hex). Required when multiple instances are connected. Omit when only one instance is connected (auto-selected). Use list_instances to see connected instances.
libraryUuidYesLibrary UUID containing the symbol
documentSourceYesNew .esym source (NDJSON, same format as document_get_source)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.5

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses irreversibility, that no undo exists, that no backup snapshot is taken (because library assets are not documents), the write-permission requirement, and the boolean return. This is exactly the destructive-operation context an agent needs before committing.

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?

Front-loaded with the action, then the irreversibility warning, then the prerequisite and return type. Four tight sentences with no filler; every clause carries actionable 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?

For a destructive mutation with no output schema, the description covers the safety posture, the recovery path, the permission prerequisite, and the return value. There is nothing an agent needs to call this correctly that is missing.

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 100%, so all four parameters (symbolUuid, libraryUuid, documentSource, instance_id) are already documented in the schema. The description adds no format or syntax detail beyond it, so the baseline 3 applies.

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?

States a specific verb+resource: 'Replace a library symbol's entire .esym source.' The scope (entire source, symbol-level) is precise and distinguishes it from footprint/document variants and from lib_symbol_get, which it explicitly positions as the read counterpart.

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?

Gives clear operating context: it must target a writable library (personal/team/project), and it prescribes the recovery workflow ('Fetch and save the current source with lib_symbol_get first'). It stops short of naming when-to-use alternatives like document_set_source, so an explicit exclusion is missing.

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