Skip to main content
Glama
mayjack0312
by mayjack0312

eda_dmt_panel_get_panel_info

Retrieves detailed attributes of an EasyEDA Pro panel by UUID, providing panel properties for inspection or further processing.

Instructions

dmt_Panel.getPanelInfo(panelUuid: string) -> Promise<IDMT_PanelItem | undefined> 获取面板的详细属性 returns: 面板的详细属性,如若为 undefined 则获取失败

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the return type (Promise<IDMT_PanelItem | undefined>) and defines undefined as indicating failure ('如若为 undefined 则获取失败'), which is useful. However, it does not mention side effects, permission requirements, or error behavior beyond the undefined case.

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 compact: a signature line plus two short Chinese phrases for purpose and return semantics. There is no filler or redundant restatement, though the structure is somewhat minimal.

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 simple read operation, the description covers the core purpose and return-failure convention, but it lacks guidance on how to obtain a valid panelUuid and does not explain the returned IDMT_PanelItem structure. It is minimally sufficient but not complete.

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

Parameters4/5

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

Although the schema has generic 'args' and 'windowId' descriptions, the description adds the official signature 'dmt_Panel.getPanelInfo(panelUuid: string)', clarifying that the first positional argument is a string panelUuid. This meaningfully supplements the opaque 'args' array in the input schema.

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 states a clear verb and resource: '获取面板的详细属性' (get panel's detailed attributes), and the function signature identifies it as fetching a single panel item by UUID. It is distinguishable from siblings like eda_dmt_panel_get_all_panels_info and eda_dmt_panel_get_current_panel_info by name, though the description itself does not explicitly contrast them.

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 about when to use this tool versus alternatives such as get_all_panels_info (for all panels) or get_current_panel_info (for the active panel). The intended use can be inferred from the name, but the description never states selection criteria or exclusions.

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