Skip to main content
Glama
eecalc-mcp

eecalc-mcp

by aysel-elsh

combine_components

Read-onlyIdempotent

Calculate the equivalent resistance or inductance of components connected in series or parallel. For capacitors, use the opposite rule: parallel values add.

Instructions

Combine resistors (or inductors) in series or parallel. For capacitors, swap: caps in parallel add.

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": {
      "values": "<values>",
      "how": "<how>"
    },
    "name": "combine_components"
  }
}

Input Schema

NameRequiredDescriptionDefault
howYes
valuesYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and closed-world behavior, so the safety profile is covered. The description adds genuine domain context that the annotations cannot: capacitors behave inversely (parallel adds). It says nothing about error behavior for invalid/mixed inputs or how string values are parsed.

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?

Two short sentences with no filler, and the primary behavior is front-loaded. The capacitor rule is densely phrased ('swap') and could be misread, costing a point but not much space.

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

Completeness3/5

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

With an output schema present, return values need not be described, and the tool is simple with only two required parameters. However, the number-or-string value type and the capacitor semantics are only half-covered, leaving an agent unsure how to format inputs correctly.

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 description coverage is 0%, so the description must carry the burden. It implies 'values' are component values and 'how' selects series vs parallel, but it never explains the accepted string form (e.g., unit-suffixed values like '10k' or '100nF') even though the schema's items allow either number or string, and mixing formats is unexplained.

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?

States a specific verb ('Combine') and the resources handled (resistors, inductors, capacitors) along with the two combination modes, which clearly separates it from calculation siblings like ohms_law or reactance. It does not name or differentiate itself from any sibling explicitly, keeping it out of the top band.

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 implied by the 'combine ... in series or parallel' framing, and the capacitor sentence tells the agent the tool also covers caps with an inverted rule. There is no statement of when not to use it or which sibling to pick for a single-component calculation.

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