Skip to main content
Glama
mayjack0312
by mayjack0312

eda_pcb_manufacture_data_get_dxf_file

Retrieve DXF files from PCB manufacture data by specifying layers and objects, returning the file data for design and manufacturing use.

Instructions

pcb_ManufactureData.getDxfFile(fileName?: string, layers?: Array<{ layerId: EPCB_LayerId; mirror: boolean }>, objects?: Array) -> Promise<File | undefined> 获取 DXF 文件 returns: DXF 文件数据

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 and does provide the async return type `Promise<File | undefined>` and states it returns DXF file data. It does not mention side effects, prerequisites such as an active PCB document, or failure behavior, but as a getter the read-only nature is weakly inferable.

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 definition is short and the signature is front-loaded, which is good. However, '获取 DXF 文件' and 'returns: DXF 文件数据' largely repeat the signature and tool name without adding much information, making the text slightly redundant.

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?

There are no annotations and no output schema, and the tool has nested optional parameters. The description provides only the official signature and return type, leaving out prerequisites, defaults, error behavior, and the meaning of the layer/object arguments. An agent can guess the call shape but not confidently handle all cases.

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 signature is the main value here: it lists the three official parameters `fileName`, `layers`, and `objects` with types and optionality, which the generic `args` schema does not provide. This lets an agent construct the args array correctly. It stops short of explaining `EPCB_LayerId`, the meaning of `mirror`, or what strings `objects` expects, so semantics remain partial.

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 names a specific action, '获取 DXF 文件' (get DXF file), and reinforces it with the `pcb_ManufactureData.getDxfFile` signature. This is enough to distinguish it from the many sibling get_*_file tools by file format. It does not explain what the DXF represents or add export context, so it is clear but not exemplary.

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?

There is no explicit statement about when to use this tool versus get_gerber_file, get_bom_file, get_pdf_file, or other manufacture-data export tools. The intended use is only implied through the 'DXF file' wording and the tool name, so an agent must infer the selection from format alone.

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