Skip to main content
Glama
Suzu-Gears

circuitjs-mcp

by Suzu-Gears

Load circuit

circuit_load

Replace the active circuit with a CircuitJS1 text definition, reset simulation time, and return parsed elements for verification.

Instructions

Replace the current circuit with the given circuit definition in Falstad CircuitJS1 text format (the same format produced by File > Export as Text, starting with a "$" line). Resets simulation time to 0. Returns the list of parsed elements so you can verify the circuit and note element indices for probing. The simulator keeps state between tool calls.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
runNoStart the simulation running after load (default false).
textYesCircuit in Falstad text format. First line is the "$" options line: `$ flags timestep simSpeed currentSpeed voltageRange powerScale minTimestep`. A reasonable default: "$ 1 0.000005 10.20027730826997 50 5 50 5e-11". Coordinates are grid-snapped multiples of 16.
Behavior4/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 discloses key side effects: replacing the current circuit, resetting simulation time to 0, keeping simulator state across calls, and returning parsed elements for verification. This goes beyond the bare schema and gives the agent useful behavioral expectations.

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

Conciseness5/5

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

Three purposeful sentences cover action, input format, side effects, return value, and state persistence. The core operation is front-loaded, and there is no filler or repetition.

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?

For a moderately simple load tool with no output schema, the description covers the required input format, reset behavior, return value, and cross-call statefulness. Combined with a fully described schema, an agent has enough to call it correctly and interpret the result.

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 100%, and the schema already explains the text format, the '$' line, reasonable defaults, and the run boolean. The tool description adds no parameter-specific meaning beyond noting the returned element list, so the baseline score of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the operation (replace), the exact resource (current circuit), the input format (Falstad CircuitJS1 text starting with a '$' line), and the return value. This stands apart from siblings such as circuit_export and circuit_state, so an agent can select it correctly.

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

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Clear that this tool is for installing a new circuit definition and that simulator state persists across calls, implying use at circuit-setup/load time. It does not explicitly name alternatives or say when not to use it, but no sibling has an overlapping function, so the gap is small.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Suzu-Gears/circuitjs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server