Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_projectsC

Projects (.pdsprj) in the sandbox exchange folder.

import_projectB

Copy a host .pdsprj into the sandbox (read-only access to the original). Returns the name for other tools.

export_projectB

Copy a sandbox project to a NEW host path. Refuses to overwrite.

project_infoC

Parts (ref, device, pins, properties) read from ROOT.CDB of a project.

build_designA

Generate a project from seed templates. parts: [{"id":"U1","kind":"6116","x":-3400,"y":1000,"state":0}] (thou). kinds: LS(pin Q) 6116(A0-A10 CE OE WE D0-D7) 74HC374(D0-D7 Q0-Q7 OE CLK) DIPSW_8(L0-L7 R0-R7) BCD BLUE GRN(P0-P3). wires: [{"a":"S1.Q","b":"U1.A0","net":"A0","via":[[x,y],...],"jog_x":-5000}]. Without via a 2-bend route is made. Check conflicts is empty (wires of different nets touching/overlapping = merged nets in Proteus). Experimental: new designs may fail to load in Proteus; verify with open_project + screenshot.

gui_runA

Open a Proteus project in the sandbox, perform actions, return the screenshots, then shut EVERYTHING down (Wine, Xvfb, Proteus) before the call returns: nothing keeps running between requests. Startup costs 15-40 s per call (raise load_wait for big designs), so put all steps of a task into one call. actions (in order), each a dict: {"do":"wait","s":5} | {"do":"click","x":1200,"y":560} | {"do":"click_design","x":-1900,"y":-1000} (thou; toggles a LOGICSTATE/DIP switch) {"do":"key","keys":"F12"} | {"do":"type","text":"..."} | {"do":"simulate","mode":"graph|animated","graph":2,"wait":15} {"do":"view_graph","index":0,"name":"g"} (double-click the graph title bar: full-size Proteus graph; picture returned) {"do":"export_graph_data","name":"x"} (Proteus writes the selected graph's data to exchange/x.dat) | {"do":"close_graph"} | {"do":"windows"} | {"do":"dismiss","keys":"Return"} (close an error/recovery dialog) | {"do":"screenshot","name":"shot","trim":true,"crop":[x0,y0,x1,y1]} Screen is 1920x1080. A screenshot is always appended at the end.

simulate_projectA

Bridge GUI -> numbers: open a Proteus project, trigger its simulation (space = checked graph or graph #n, F12 = animated), capture the netlist(s) ISIS hands to ProSPICE, close everything, then re-run them headless. Each captured partition becomes a run <name>_p0, <name>_p1... usable with measure / derive / plot_run / sweep. A screenshot <name>_graph.png of Proteus's own graph is saved too. The captured netlists are cached by project content: repeating the call for an unchanged project skips the GUI entirely (use_cache=False to force).

project_netlistA

NO GUI: read a Proteus project (.pdsprj in the sandbox) directly and return the circuit spec extracted from it: components (R, C, L, diodes, transistors, sources, gates, pots, subcircuits ...), nets, ISIS generators as voltage sources, voltage probes as default probes, current probes as 0 V sources. unsupported lists components that cannot be simulated headless (VSM microcontroller models, behavioural parts ...). The analysis is not read from the project's graphs: pass one (see simulate) or get an operating point.

simulate_project_noguiA

NO GUI, about 2 s: simulate a Proteus project by extracting its netlist from the file (see project_netlist) and running ProSPICE. Prefer this over simulate_project (which starts Proteus) whenever the design contains only supported parts. Results work with measure / derive / plot_run / sweep.

run_sdfB

Headless-run an ISIS SDF netlist already in the sandbox (e.g. a cap_/LISA*.SDF from simulate_project) and decode it.

reset_sandboxA

Discard the working Wine prefix; re-created from the pristine snapshot on next use.

simulateA

Simulate a circuit headless with Proteus's own engine (ProSPICE) and return numbers. Fast (~2 s), no GUI. spec = {"parts":[{"ref":"R1","kind":"R","nodes":["in","out"],"value":"1k"}, ...], "analysis": {"type":"op"} | {"type":"transient","tstop":"5m","tmax":"5u"} | {"type":"ac","fstart":10,"fstop":"1M","points":20,"mode":"dec"} | {"type":"dc","source":"V1","start":0,"stop":5,"step":0.1}, "probes":["v(out)","i(R1)"], # default: all node voltages; i(ref) inserts a current probe (current INTO pin 1) "models":{"MYD":{"type":"D","params":{"IS":"1n"}}}, "temp":27} kinds: R C L (value: 1k 10u 2.2M... ISIS notation: m=milli, M=mega) | V I (value=DC; "wave":{"type":"sine","amp":1,"freq":1000} | pulse{low,high,delay,rise,fall,width,period} | exp | sffm | pwl{points:[[t,v]]}; "ac":true marks the AC source) | D Q QP J JP M MP (nodes D:[A,K] Q:[C,B,E] J:[D,G,S] M:[D,G,S,B]; "model": a Proteus library name like 2N3904, 1N4148 or one in spec.models) | E G (nodes [out+,out-,ctrl+,ctrl-], value=gain) | OPAMP (ideal, nodes [in+,in-,out], optional gain/rout) | X (SPICE subcircuit: "subckt":"TL072" from Proteus's libraries or text in spec["subckts"]; nodes in the subcircuit's port order, e.g. op-amps [in+, in-, V+, V-, out]). Node "0" is ground. SPICE sign conventions for I and G. Returns summary numbers (stats / gain / op), a downsampled table and a full CSV path; use measure() for more.

simulate_spiceA

Simulate a SPICE deck (R C L V I D Q J M E G X, .MODEL .SUBCKT .PARAM, .OP/.TRAN/.AC/.DC, .PRINT/.PROBE) with Proteus's engine. Library models/subcircuits (e.g. 2N3904, 1N4148, LM324, OP07 as X) are resolved from Proteus's libraries. SPICE number notation (m=milli, MEG=mega). Pick which analysis card to run with analysis_index. Not supported yet: F H K S W B, .INCLUDE.

measureA

Measure on a finished simulate() run. what: stats (min/max/mean/rms) | at (value at x) | bandwidth (-3 dB of an AC probe; ref=first|peak) | harmonics (THD of a transient probe at fundamental f0 over the last periods periods) | edge (10-90 % time, overshoot). interp: "linear" (default, how Proteus draws traces) or "hold" (step between solver samples; use for pulse edges and digital-like signals).

deriveB

Evaluate an expression of a finished run's probes on a grid, e.g. "db(v(out)/v(in))" (gain), "v(in)/i(R1)" (input impedance), "v(a)-v(b)", "v(out)*i(R2)" (power). AC probes are complex (answer gives mag/dB/deg). measure() accepts such expressions as probe.

sweepA

Parameter sweep: re-simulate spec for each value of target ("R1" = part value, "temp", "V1.wave.freq", "C1.value") and collect one number per run. metric: {"what":"stats","probe":"v(out)","field":"rms"} | {"what":"op","probe":"v(c)"} | {"what":"bandwidth","probe":"v(out)","field":"f_high_3db"} | {"what":"harmonics","probe":"v(out)","f0":1000,"field":"thd_pct"}.

monte_carloC

Monte Carlo over component tolerances: tolerances {"R1":"5%","C1":"10%"} (gauss: sigma = tol/3; uniform: +-tol). metric as in sweep(). Returns mean/std/min/max and every run.

plot_runA

Plot a finished simulate() run (AC: gain + phase; others: traces) as a PNG in sandbox/exchange.

search_modelsB

Search Proteus's libraries by name/description words: 4000+ SPICE models/subcircuits (op-amps, MOSFETs, diodes...) and 37k device-library parts (BC547, 2N2222, 1N4007... most map to a generic model usable as model in simulate).

model_textC

SPICE text (.MODEL or .SUBCKT) of a Proteus library entry.

import_sdfC

Copy a host .SDF netlist (ISIS SCHEMATIC DESCRIPTION FORMAT) into the sandbox.

write_sdfC

Write an SDF netlist (sections *PROPERTIES *MODELDEFS *PARTLIST *NETLIST) into the sandbox.

prospice_runB

Run PROSPICE.EXE headless on an SDF in the sandbox. Experimental: results are binary .PDF (not decoded yet).

evidenceA

Proteus-authored evidence bundle for a project that contains simulation graphs. In ONE Proteus session: run each graph (all by default, or the 1-based indices in graphs), save Proteus's own full-size graph picture and the data Proteus exports (Graph > Export Graph Data), screenshot the schematic, and write a manifest with SHA-256 checksums. Use this when reviewers only trust Proteus's own results: no number in it is computed by Python. Open dialogs/errors during the run are reported in note fields of the screenshots (see gui_run for manual control).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.1/5.0

Scored across 24 tools

Disambiguation3/5

There are several overlapping simulation entry points (simulate, simulate_spice, simulate_project, simulate_project_nogui, run_sdf, prospice_run), plus related distinctions such as project_info vs project_netlist and import_project vs import_sdf. The descriptions do explain when to use each, but an agent still faces a crowded decision space with multiple plausible tools per task.

Naming Consistency3/5

Names are mostly snake_case and readable, but conventions are mixed: verb_noun (export_project, search_models), noun_noun (project_info, project_netlist, gui_run, monte_carlo, prospice_run), and bare verbs/nouns (simulate, measure, derive, sweep, evidence). The inconsistency is tolerable but not a clean predictable pattern.

Tool Count3/5

At 24 tools this is heavy for the domain, and the count is inflated by several alternative simulation entry points that overlap in purpose. The complexity of Proteus automation justifies a broad surface, but not every tool clearly earns a distinct place.

Completeness4/5

The surface covers project import/export/listing/info, design generation, multiple simulation paths, measurement, derivation, sweeps, Monte Carlo, plotting, model search, SDF handling, GUI automation, evidence capture, and sandbox reset. The main gaps are minor, such as editing existing designs directly and a few experimental/undecoded paths.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues