Skip to main content
Glama
easyeda-mcp-pro
by oaslananka

Export BOM

easyeda_bom_export

Export a project's bill of materials as CSV, JSON, or XLSX to review component sourcing and share manufacturing data. Save it as a local artifact file or return inline for the client to download.

Instructions

Export BOM to a local artifact file, or return downloadable CSV/JSON data directly to an MCP client in hosted Cloud mode. An inline payload is not automatically saved on the client device.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": "<projectId>"
    },
    "name": "easyeda_bom_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNocsv
deliveryNoCloud defaults to inline CSV/JSON content for the MCP client to save; local mode defaults to file.
filePathNoLocal mode only: destination inside ARTIFACT_DIR. Omit for Cloud inline delivery.
projectIdYes

Output Schema

NameRequiredDescriptionDefault
errorNo
formatNo
contentNo
deliveryNo
exportedNo
file_nameNo
file_pathNo
mime_typeNo
project_idNo
byte_lengthNo
entry_countNo
not_availableNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.19.15
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +{}
    • removedOutput schema / required
      Removed value: -[
      -  "project_id",
      -  "format",
      -  "exported"
      -]
  2. Changed10 schema fields changedv0.19.14
    • addedInput schema / properties / delivery
      Added value: +{
      +  "description": "Cloud defaults to inline CSV/JSON content for the MCP client to save; local mode defaults to file.",
      +  "enum": [
      +    "file",
      +    "inline"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / filePath / description
      Added value: +"Local mode only: destination inside ARTIFACT_DIR. Omit for Cloud inline delivery."
    • changedInput schema / required
      Previous value: -[
      -  "projectId",
      -  "filePath"
      -]New value: +[
      +  "projectId"
      +]
    • addedOutput schema / properties / byte_length
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / content
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / delivery
      Added value: +{
      +  "enum": [
      +    "file",
      +    "inline"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / error
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / file_name
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / mime_type
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "project_id",
      -  "format",
      -  "file_path",
      -  "exported"
      -]New value: +[
      +  "project_id",
      +  "format",
      +  "exported"
      +]
  3. Changed2 schema fields changedv0.19.2
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  4. First observedv0.19.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the write-but-not-destructive profile is covered. The description adds genuine value with the caveat that an inline payload is not automatically saved on the client device, but says nothing about file overwrite behavior, ARTIFACT_DIR defaults, or permission/auth requirements for writing to disk.

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?

Two tight sentences, front-loaded with the action and both outcomes. The second sentence is a deliberate caveat that earns its place, though the phrasing 'is not automatically saved on the client device' is slightly awkward.

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?

An output schema exists, so return values needn't be explained, and annotations cover the safety profile. Still, for a filesystem-writing tool the description leaves open overwrite behavior, default artifact location, and which formats are valid inline, leaving gaps an agent would hit at invocation time.

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?

Schema coverage is 50%, and the description meaningfully clarifies the delivery parameter by explaining that Cloud defaults to inline CSV/JSON while local defaults to file. It does not mention format options or that xlsx appears to be excluded from inline delivery, and projectId remains unaddressed in both places.

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 verb and resource (export BOM) and distinguishes the two delivery outcomes: a local artifact file versus CSV/JSON data returned inline to the MCP client in Cloud mode. It does not name a sibling such as easyeda_bom_generate, so an agent must infer the boundary from the mode language alone.

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?

It gives implicit deployment context (hosted Cloud mode vs local mode) that determines which delivery path applies, which is useful routing guidance. However, it never states when to use this tool rather than easyeda_bom_generate or easyeda_bom_sourcing, and offers no explicit exclusions or prerequisites.

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