Skip to main content
Glama
eecalc-mcp

eecalc-mcp

by aysel-elsh

ohms_law

Read-onlyIdempotent

Computes voltage, current, resistance, and power from any two known values, returning all four results for circuit analysis.

Instructions

Ohm's law and power. Give exactly two of voltage, current, resistance; returns all four (V, I, R, P).

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": "ohms_law"
  }
}

Input Schema

NameRequiredDescriptionDefault
current_aNo
voltage_vNo
resistance_ohmNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and a closed-world scope, so the safety profile is covered. The description adds that all four quantities are returned regardless of which two are supplied, but says nothing about unit handling, string-expression parsing, or what happens when the two-input rule is violated.

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?

Two short sentences, zero filler, with the input constraint front-loaded ahead of the return-value note. Nothing could be cut without losing information.

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 an output schema present, the description needn't enumerate return values, and annotations cover safety. The remaining gap is unit/string-format handling and the error behavior when fewer or more than two inputs are given, which an agent would need to call this correctly on the first try.

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?

Schema coverage is 0% and all three parameters are optional with no validation constraint, so the description carries the burden. Its "exactly two" rule is the single most important piece of meaning missing from the schema; it still leaves the accepted string formats (e.g. "1k", "5V") undocumented.

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?

The description names a specific computation (Ohm's law and power) and states precisely what it consumes and produces: two of voltage, current, resistance in, all four of V, I, R, P out. No sibling tool computes Ohm's law, so an agent can route here unambiguously.

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?

It gives a hard invocation rule ("exactly two of voltage, current, resistance"), which is genuinely useful usage guidance, but it never says when to reach for this versus siblings such as reactance, pcb_trace_resistance, or design_voltage_divider, nor when not to use it.

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