Skip to main content
Glama

Circuit simulator parts: every electrical part's inputs, outputs and rules

get_circuit_parts
Read-onlyIdempotent

[Calculators] Circuit simulator parts: every electrical part's inputs, outputs and rules. The parts and rules behind https://rust.wiki/calculators/circuit-simulator (Rust's power rules since the April 2024 rework): parts as [kind, name, shortname, group, inputs, outputs, settings], devices as [name, shortname, power draw], rules and caveats. The board and its solver run in the browser - build circuits on the page; for a plain power budget use /calculators/electricity/compute.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_circuit_parts"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context: this is static game-rule reference data (Rust's power rules since the April 2024 rework) and the solver itself runs client-side, not here. It also discloses the return shape, which matters since there is no output schema.

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?

The content is front-loaded and dense: purpose first, then the exact tuple layout of each returned collection, then the pointer elsewhere. It loses a little to a raw URL with an awkward line break mid-sentence and to the parenthetical about the April 2024 rework, which is context rather than instruction.

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

Completeness4/5

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

With no input parameters and no output schema, the description carries the burden of explaining returns and does so by spelling out the field order for `parts`, `devices`, `rules` and `caveats`. The one remaining gap is routing guidance against the similarly named `simulate_circuit`, which an agent may confuse with this lookup.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. The description spends its words on output shape instead, which is the right allocation.

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 resource (circuit simulator parts) and enumerates exactly what it returns: every electrical part's inputs, outputs and rules, broken into `parts`, `devices`, `rules` and `caveats`. An agent can tell this is a static reference lookup rather than a simulation run, though it never explicitly contrasts itself with the `simulate_circuit` sibling.

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: it is the reference data behind the circuit-simulator page, and the reader is redirected to an external URL (/calculators/electricity/compute) for a plain power budget. That redirect points at a web page, not a sibling tool, so it gives no in-band guidance on when to call this versus `simulate_circuit` or `get_electricity_data`.

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