Skip to main content
Glama
EasyEDA Pro MCP

EasyEDA Pro MCP

Generate standard SPICE netlist

easyeda_generate_spice_netlist
Read-only

Generates a SPICE netlist (.cir/.sp) from an EasyEDA Pro schematic with ground-to-0 mapping, RLC and semiconductor models, and .op, .tran, .ac, or .dc directives for ngspice, LTspice, or Xyce.

Instructions

Generates a syntactically valid SPICE circuit netlist (.cir / .sp) with ground-to-0 normalization, primitive RLC elements, semiconductor models, and configurable analysis directives (.op, .tran, .ac, .dc) for simulation in ngspice, LTspice, or Xyce.

Input Schema

NameRequiredDescriptionDefault
targetNo
fileNameNoOptional output file name without extension.
groundNetNoNet name to map to SPICE datum node 0.GND
timeoutMsNo
analysisTypeNoSimulation analysis type (.op, .tran, .ac, .dc).op
analysisParamsNoCustom analysis directive arguments (e.g. '1u 10m' for .tran, or '10 1 1Meg' for .ac).
destinationPathNoOptional destination directory / target path.
includeSubcircuitsNoWhether to include X subcircuit cards for ICs.
includeDefaultModelsNoInclude built-in generic diode and BJT .model cards.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the bar is lower; the description does add behavioral detail about normalization, model-card inclusion, and supported analyses. However, it never says whether the netlist is returned inline or written to destinationPath/fileName, nor what happens on timeout, which is important given the non-idempotent hint on an ostensibly read-only operation.

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?

A single front-loaded sentence that leads with the verb and resource then layers the capability list; dense but every clause carries information. Slightly unwieldy as one sentence, but no wasted wording.

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

Completeness5/5

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

With nine parameters including a nested target object and no output schema, the agent needs to know what the artifact is and what knobs affect it; the description names the file formats (.cir/.sp), the normalization rule, and the analysis directive families, which is sufficient to call it correctly.

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 description coverage is 78%, so the baseline is 3. The description usefully ties 'ground-to-0 normalization' to groundNet and the listed directives to analysisType/analysisParams, but it says nothing about fileName, destinationPath, timeoutMs, includeSubcircuits/includeDefaultModels, or the nested target object beyond what the schema already states.

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 ('Generates a syntactically valid SPICE circuit netlist') and enumerates the content of the output (ground normalization, RLC primitives, semiconductor models, analysis directives). It is clearly distinguishable from most siblings, though it never contrasts itself with the closely related easyeda_export_netlist or easyeda_evaluate_spice_support.

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?

Usage is only implied: the target simulators (ngspice, LTspice, Xyce) and the listed analysis types hint at when the tool applies, but there is no explicit 'use this when…' statement, no exclusion versus easyeda_export_netlist, and no stated prerequisite (e.g. an active schematic document or populated target).

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