Skip to main content
Glama
mayjack0312
by mayjack0312

eda_dmt_editor_control_open_document

Open a specific EDA document by its UUID, optionally in a split-screen view. Returns the tab ID for the opened document, or undefined if the open fails. Use this to load a design into the active editor window.

Instructions

dmt_EditorControl.openDocument(documentUuid: string, splitScreenId?: string) -> Promise<string | undefined> 打开文档 returns: 标签页 ID,如若为 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 behavioral disclosure burden. It does disclose the success/failure semantics (returns a tab ID, or undefined on failure), which is useful. However, it does not mention side effects on the current window/tab, whether the document must already be loaded, or what happens if the document is already open.

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 front-loads the exact API signature followed by the Chinese purpose and return explanation. It contains no filler, though it is brief enough that some of the missing contextual detail could have been added without bloating it.

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 open-document operation, the description covers the essential return behavior and failure signal, and the schema covers windowId. It remains incomplete because it does not explain how to obtain a valid documentUuid, how splitScreenId affects behavior, or when to prefer the sibling open_library_document tool.

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?

The schema only exposes a generic args array and windowId, so the description's signature is essential: it documents documentUuid as a string and splitScreenId as an optional string. This adds real meaning beyond the schema's generic JSON-array placeholder.

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 the operation clearly: '打开文档' (open document) and provides the exact method signature openDocument(documentUuid, splitScreenId). It identifies a specific verb, resource, and return value (tab ID), but does not explicitly differentiate itself from the sibling eda_dmt_editor_control_open_library_document.

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?

There is no guidance on when to use this tool versus alternatives such as open_library_document, activate_document, or close_document. The description implies its use from the name but provides no selection criteria, prerequisites, 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