Skip to main content
Glama
mayjack0312
by mayjack0312

eda_pcb_manufacture_data_get_dsn_file

Retrieves the auto-routing DSN file from the active PCB design, returning the file data needed for manufacture or routing.

Instructions

pcb_ManufactureData.getDsnFile(fileName?: string) -> Promise<File | undefined> 获取自动布线文件(DSN) returns: 自动布线 DSN 文件数据

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only exposes the return type (Promise<File | undefined>) and a one-line purpose; it does not state whether auto-routing must be run first for a DSN to exist, what the undefined case means, or any prerequisites. This is thin for a file-getter with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and the signature is front-loaded, which is efficient. But the two Chinese lines ('获取自动布线文件(DSN)' and 'returns: 自动布线 DSN 文件数据') are largely redundant with the signature and the name, so the few sentences present don't add much distinct information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and a generic input schema, the description is the only source of context and it is inadequate. An agent calling this tool needs to know when a DSN file is available, how the fileName argument works, and what the returned File contains; none of this is addressed.

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 input schema is generic (an args array of items {} plus windowId), so it adds no meaning to parameters. The function signature in the description does reveal the fileName?: string parameter, which is the only real semantic information available. It contributes marginal value but does not explain what the file name refers to or how to supply it through the args array.

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 name and description clearly state the verb (get) and resource (DSN file), and the Chinese line '获取自动布线文件(DSN)' confirms it retrieves the auto-routing DSN file. However, there is no differentiation from the many sibling eda_pcb_manufacture_data_get_*_file tools (gerber, dxf, bom, etc.), so an agent cannot tell why this one is chosen over its peers.

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 when-to-use guidance, exclusions, or alternative tools are mentioned. With a large family of get_*_file siblings, the description offers no help in deciding when get_dsn_file is the right choice versus get_netlist_file or get_auto_route_json_file.

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