Skip to main content
Glama
mayjack0312
by mayjack0312

eda_pcb_manufacture_data_get_pdf_file

Retrieve PCB manufacturing data as a PDF file from EasyEDA Pro. Configure output method, watermark, and page layout to generate the desired PDF document.

Instructions

pcb_ManufactureData.getPdfFile(fileName?: string, outputMethod?: EPCB_PdfOutputMethod, contentConfig?: { displayAttributesAsMenu: boolean; showOutlineOnly: boolean }, watermark?: { show?: boolean; content?: string; styleConfig?: { color: string; transparency: 'Opaque' | '75%' | '50%' | '25%'; font: string; fontSize: { unit: ESYS_Unit.INCH | ESYS_Unit.MIL | ESYS_Unit.MILLIMETER; value: number }; style: { bold: boolean; italic: boolean; underline: boolean }; slope: 0 | 45 | 90; denseness: 'Single' | 'Sparse' | 'Std' | 'Dense' } }, graphPageConfig?: Array<Record<string, any>>) -> Promise<File | undefined> 获取 PDF 文件 returns: PDF 文件数据(或压缩包)

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.3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only states the return type and notes that output may be a PDF or a compressed package. It does not explain side effects, required permissions, how the file is delivered, or what 'undefined' implies. This is minimal and leaves much unspecified.

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

Conciseness2/5

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

The description is a dense, code-style signature with a short Chinese phrase and a returns line. It is not concise in natural-language terms and buries the core purpose in technical syntax. The structure is not front-loaded with a clear summary, making it harder to parse than necessary.

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 (multiple parameters, nested objects, and a return type), the description is incomplete. It lacks explanations of parameter purposes, allowed values, usage examples, or behavior when parameters are omitted. The absence of an output schema means the description must carry more explanatory weight, which it fails to do.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema only defines wrapper arguments (args array and windowId); the actual parameters (fileName, outputMethod, contentConfig, watermark, graphPageConfig) are only listed as type declarations in the description. While this surfaces the names and types, it provides no explanation of what these parameters do, their valid values, or their impact on the output, leaving semantics largely unexplained.

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 explicitly includes '获取 PDF 文件' (get PDF file) and the function name getPdfFile, clearly indicating the tool retrieves a PDF file. However, it does not differentiate this from the many sibling file-export tools (e.g., get_gerber_file, get_dxf_file) other than the name itself, so it lacks explicit sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/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. The description provides no context about file types, output scenarios, or conditions that would select this tool over siblings. It is essentially a bare function signature with no usage direction.

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