Skip to main content
Glama

Simulate the circuit

simulate_circuit

ngspice analog simulation with sources, loads and virtual instruments; expect values are checked (format in get_guide). Costs credits. Requires a PCBBrew account (sign-in).

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": {
      "project_id": "<project_id>"
    },
    "name": "simulate_circuit"
  }
}

Input Schema

NameRequiredDescriptionDefault
potsNo
loadsNo
scopeNo
tstepNo
tstopNo
expectNo
settleNo
sourcesNo
ammetersNo
project_idYesid from create_project or list_projects
voltmetersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior4/5

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

Beyond the annotations, the description discloses two things the agent cannot infer: the run consumes credits and requires a signed-in PCBBrew account. It also reveals that expect values are checked during the run. The non-idempotent, non-read-only annotation is left unexplained, and there is no mention of whether the simulation is synchronous or returns a job handle.

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?

Three compact clauses, front-loaded with what the tool is, followed by the guide pointer, then the cost/account constraints. Wording is slightly telegraphic ('expect values are checked') but nothing is wasted.

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?

This is an 11-parameter, nested-object, credit-consuming simulation with no output schema, yet the description never says what comes back (waveforms, pass/fail on expect, a job id) or whether the call is synchronous. For a tool this complex and expensive, the definition leaves the agent guessing about the result shape and execution model.

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?

Schema coverage is 9%: only project_id is documented, so the description must carry the burden for ten parameters. It gestures at concepts (sources, loads, virtual instruments, expect) but does not map them to parameter names like pots, scope, ammeters, voltmeters, tstep, tstop or settle, and defines no nesting format, deferring entirely to get_guide.

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 the concrete engine (ngspice), the resource (analog circuit simulation) and the ingredients it consumes (sources, loads, virtual instruments), which clearly separates it from siblings like check_wiring or power_budget. It stops short of naming an explicit alternative or non-use case, so it falls just under the top mark.

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 by association: the agent learns that expect values are validated and that the format lives in get_guide, which is a useful pointer. There is no statement of when this tool should be chosen over check_wiring/power_budget, or of preconditions such as a completed schematic.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources