Skip to main content
Glama
mayjack0312
by mayjack0312

eda_lib_symbol_search

Search for symbols in EasyEDA Pro libraries by keyword, with optional filters for library, classification, symbol type, and pagination to get matching symbol properties.

Instructions

lib_Symbol.search(key: string, libraryUuid?: string, classification?: ILIB_ClassificationIndex | Array, symbolType?: ELIB_SymbolType, itemsOfPage?: number, page?: number) -> Promise<Array> 搜索符号 returns: 搜索到的符号属性列表

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNo按官方签名顺序排列的JSON参数数组
windowIdNo目标EDA窗口ID;省略时使用当前活动窗口

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It states a search operation returning a list, implying read-only behavior, but does not explicitly disclose side effects, permission requirements, or any limitations such as pagination behavior or result ordering. The return type is mentioned but not the structure of the items.

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

Conciseness2/5

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

The description is a raw TypeScript signature followed by a short Chinese phrase and a return note. It is not structured as a clear human-readable description; the key purpose is buried in the middle. While brief, the lack of organization and mixing of code with natural language reduces clarity and hurts front-loading of essential information.

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

Completeness2/5

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

The description gives the function signature and states the return type, but details about the return item structure (ILIB_SymbolSearchItem), parameter semantics, search behavior, and error handling are missing. With no output schema, an agent cannot fully understand the result format or how to construct the args correctly beyond the bare signature.

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?

The input schema provides only generic args and windowId, so the description adds value by listing parameter names and types (key, libraryUuid, classification, etc.). However, it does not explain the meaning or semantics of these parameters beyond their type names, leaving ambiguity about expected values and behavior.

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?

The description clearly states '搜索符号' (search symbols) and provides a specific function signature for lib_Symbol.search. This conveys the verb-resource pairing and distinguishes it from 'get' operations. However, it does not explicitly differentiate from sibling search functions like eda_lib_symbol_search_by_properties.

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 is provided on when to use this tool versus alternatives. It does not mention conditions, prerequisites, or exclusions. The presence of multiple search tools in the sibling list makes this gap significant.

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