Skip to main content
Glama
mayjack0312
by mayjack0312

eda_pcb_manufacture_data_get_gerber_file

Retrieve PCB Gerber manufacturing files from EasyEDA Pro with configurable layer, drill, and output options. Get the exact fabrication data needed for board production.

Instructions

pcb_ManufactureData.getGerberFile(fileName?: string, colorSilkscreen?: boolean, unit?: ESYS_Unit.MILLIMETER | ESYS_Unit.INCH, digitalFormat?: { integerNumber: number; decimalNumber: number }, other?: { metallicDrillingInformation: boolean; nonMetallicDrillingInformation: boolean; drillTable: boolean; flyingProbeTestingFile: boolean }, layers?: Array<{ layerId: EPCB_LayerId; isMirror: boolean }>, objects?: Array<'Pad' | 'Via' | 'Track' | 'Text' | 'Image' | 'Dimension' | 'BoardOutline' | 'BoardCutout' | 'CopperFilled' | 'SolidRegion' | 'FPCStiffener' | 'Line' | 'PlaneZone' | 'ComponentProperty' | 'ComponentSilkscreen' | 'TearDrop'>) -> Promise<File | undefined> 获取 PCB 制版文件(Gerber) returns: PCB 制版文件数据

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. It states the tool returns a File or undefined, but does not disclose side effects (e.g., whether it generates files, requires a specific document state, or has performance implications). The signature shows many optional parameters, but the description does not explain what happens when they are omitted or how the output file is delivered.

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 compact: a signature line, a one-line Chinese purpose, and a return note. It is not bloated, but the structure is minimal and the Chinese purpose is terse. The signature is front-loaded, which is good, but the description could be more informative without becoming verbose.

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?

Given the tool's complexity (many optional parameters, no output schema, no annotations), the description is incomplete. It does not explain the meaning of the many optional parameters, the conditions under which the function returns undefined, or how the returned File should be handled. An agent would struggle to invoke this tool correctly with only the signature and a one-line purpose.

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 description includes the full function signature with parameter names and types, which adds some meaning beyond the generic input schema (which only has args array and windowId). However, it does not explain the semantics of each parameter (e.g., what colorSilkscreen controls, what digitalFormat precision means, what layers array entries do). The schema coverage is 100% but the schema itself is generic, so the signature in the description is the main source of parameter meaning.

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 a specific verb and resource: '获取 PCB 制版文件(Gerber)' (get PCB manufacturing file / Gerber) and 'returns: PCB 制版文件数据'. This clearly identifies the tool as retrieving Gerber files. However, it doesn't explicitly distinguish it from the many sibling manufacture-data getters (e.g., get_dxf_file, get_pdf_file, get_bom_file), though the Gerber mention does differentiate it from those.

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 guidance is provided on when to use this tool versus alternatives. The description does not mention prerequisites (e.g., active PCB document), nor does it explain when to choose this over other manufacture-data export tools. The sibling list contains many similar get_*_file tools, and the description offers no 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