Skip to main content
Glama
mayjack0312
by mayjack0312

eda_dmt_board_get_current_board_info

Retrieves detailed properties of the currently active board in EasyEDA Pro, linked to the focused schematic or PCB. Returns undefined if no board is available.

Instructions

dmt_Board.getCurrentBoardInfo() -> Promise<IDMT_BoardItem | undefined> 获取当前板子的详细属性 remarks: 将会获取当前打开且拥有最后输入焦点的原理图、PCB 所关联的板子的详细属性 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

A3.6/5.0
Behavior4/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 return type (Promise<IDMT_BoardItem | undefined>), the failure condition (undefined means retrieval failed), and the precise selection semantics ('last input focus'). This is strong for a read-only getter, though it does not enumerate the fields of IDMT_BoardItem or explicitly state that no modifications occur.

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 and well-structured with a signature line, a one-sentence summary, and dedicated remarks/returns fields. The API signature line is slightly redundant with the tool name and return info, but it is informative rather than wasteful. Every line earns its place.

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 getter with no output schema, the description adequately covers the operation, the meaning of 'current', and the failure return. However, the structure of IDMT_BoardItem is left undocumented, and the generic 'args' parameter remains a black box, which limits how confidently an agent can interpret the result or specify parameters.

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 the schema already documents both args and windowId. The description itself does not add any parameter-level meaning beyond what the schema states; if anything, the args content remains an opaque array with empty item schema. Baseline 3 is appropriate.

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 a specific verb and resource: '获取当前板子的详细属性' (get detailed properties of the current board). The remarks further clarify the scope by specifying that it targets the board associated with the currently open and last-input-focused schematic/PCB, which distinguishes it from related tools like get_board_info. It does not explicitly name sibling alternatives, so it stops short of a 5.

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 remarks provide clear context for when this tool applies: when there is a currently open schematic/PCB with last input focus. However, it does not explicitly state when to prefer alternatives (e.g., get_board_info for a specific board UUID, or get_all_boards_info for listing), nor does it give exclusions. The usage guidance is implied rather than explicit.

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