Skip to main content
Glama
eecalc-mcp

eecalc-mcp

by aysel-elsh

design_voltage_divider

Read-onlyIdempotent

Finds suitable standard resistor pairs for a voltage divider from input and output voltages, using E-series values and resistance limits to meet the target ratio.

Instructions

Pick the best pair of standard resistors for a voltage divider (Vout = Vin * Rb / (Rt + Rb)).

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": {
      "vin": "<vin>",
      "vout": "<vout>"
    },
    "name": "design_voltage_divider"
  }
}

Input Schema

NameRequiredDescriptionDefault
vinYes
voutYes
r_maxNo100k
r_minNo1k
seriesNoE24

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 readOnly, idempotent, and non-open-world behavior, so the safety profile is covered. The description adds the divider equation but never explains what 'best' means (e.g., minimized ratio error) or how r_min/r_max bound the search, which is the behavioral detail that matters here. Output schema exists, so return-format disclosure is not required.

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?

A single sentence that front-loads the action and appends the formula compactly. Nothing is wasted and there is no filler.

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?

For a 5-parameter design tool with zero schema description coverage, the definition leaves too much unexplained — the roles of r_min/r_max and what selecting an E-series changes are never addressed. The existing output schema and annotations absolve it of return-format and safety disclosure, but the parameter gap is substantial.

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% across 5 parameters, so the description must carry the burden and it does not. Only Vin and Vout appear (implicitly via the formula); r_max, r_min, and the E-series enum are never explained, leaving three of five parameters semantically opaque.

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 ('Pick the best pair') and a concrete resource ('standard resistors for a voltage divider'), plus the governing equation, so the agent knows exactly what comes out. It does not explicitly distinguish itself from siblings like nearest_standard_value or list_standard_values, which keeps it from a 5.

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?

The purpose implies when to use it (you need a divider built from real resistor values), but there is no explicit when-to-use/when-not guidance and no named alternative such as nearest_standard_value for a single resistor lookup. Usage is inferable rather than stated.

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