Skip to main content
Glama
mayjack0312
by mayjack0312

eda_lib_classification_get_name_by_uuid

Retrieve primary and secondary classification names for a library component by providing library and classification UUIDs. Returns human-readable names for the given classification identifiers.

Instructions

lib_Classification.getNameByUuid(libraryUuid: string, libraryType: ELIB_LibraryType, primaryClassificationUuid: string, secondaryClassificationUuid?: string) -> Promise<{ primaryClassificationName: string; secondaryClassificationName?: string | undefined } | undefined> 获取指定 UUID 的分类的名称 deprecated: since EDA v3.2; dropped EDA v3.3 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

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses the deprecation status and the return type, but does not mention potential side effects, error behavior, or permissions. As a read-only getter, it is likely non-destructive, but that is not stated. The description is transparent about deprecation and return shape but omits other behavioral details.

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?

The description is relatively concise and structured: it includes the signature, purpose, deprecation info, and return description. However, there is redundancy in mentioning deprecation both in text and via the '[已弃用]' tag, which slightly reduces conciseness. Overall, it is well-organized and not overly verbose.

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?

For a deprecated tool, the description provides the essential context of deprecation and the return type. However, it lacks detailed parameter semantics and does not mention alternative tools, which would be helpful for an agent deciding whether to use it. The minimal schema does not compensate for these gaps. The description is adequate but not fully comprehensive.

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 description provides the function signature with parameter names and types (libraryUuid, libraryType, primaryClassificationUuid, secondaryClassificationUuid). However, it does not explain the meaning of each parameter beyond the names, nor does it clarify how the primary and secondary UUIDs relate to the two-level classification. The input schema only has an args array, so the description's signature adds value but lacks detailed semantics.

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's purpose: '获取指定 UUID 的分类的名称' (get the name of the classification for the specified UUID). It specifies the verb (get), resource (classification), and scope (by UUID). It also mentions '两级分类' (two-level classification) and explicitly notes the deprecation, distinguishing it from siblings like get_name_by_index which operate by index.

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 provides a deprecation notice ('deprecated: since EDA v3.2; dropped EDA v3.3'), which implicitly warns against using the tool. However, it does not explicitly state when to use this tool versus alternatives, nor does it suggest replacement tools. The deprecation status is a form of guidance but lacks explicit alternatives.

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