Skip to main content
Glama
mayjack0312
by mayjack0312

eda_sys_file_manager_get_project_file

Retrieves the current project file from EasyEDA Pro, returning its data or undefined if no project is open. Supports optional fileName, password, and fileType for targeted access.

Instructions

sys_FileManager.getProjectFile(fileName?: string, password?: string, fileType?: 'epro' | 'epro2') -> Promise<File | 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?

No annotations are present, so the description carries the full transparency burden. It does disclose the return type `File | undefined` and explains that `undefined` means either no project is open or data retrieval failed. However, it does not mention side effects, permissions, what the `File` object contains, or whether this varies by file type.

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 contains no filler: one signature line and one returns line. It could be slightly better organized as prose with explicit parameter explanations, but it is appropriately sized for the information it conveys.

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 tool with no annotations and no output schema, the description is minimally sufficient: it gives the signature, parameter types, and failure semantics. It is missing context about when to choose this over the UUID-based sibling, the meaning of `password`, and the shape of the returned `File`.

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 describes a generic `args` array and `windowId`, so the signature in the description adds real value: parameter names, optionality, types, and the `'epro' | 'epro2'` enum. This is enough to construct a call in the correct order, even though deeper semantics (e.g., what `password` unlocks) are not explained.

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 get operation for a project file via the API signature and Chinese '获取工程文件'. It is specific about the resource, but it does not explicitly distinguish itself from the very similar sibling `eda_sys_file_manager_get_project_file_by_project_uuid` or other file-manager getters.

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 related alternatives such as `get_project_file_by_project_uuid`, `get_document_file`, or `get_schematic_file`. The description only says 'get project file' and provides no exclusions or selection criteria.

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