Skip to main content
Glama

eng_resistor

Read-only

Resistor calculator: LED resistor, series/parallel, color code, Ohm's law — Electronics resistor helper with five modes picked by the params you send. LED: supply, vf (forward volts, or color=red|green|blue|white|ir) and ma (current) with optional count (LEDs in series) gives the exact resistor, the next standard E12/E24 value up, actual current, resistor power and minimum wattage rating, plus its color bands. Network: values=100,220,4.7k gives series and parallel totals; add target=3.3k for the best two-resistor E12 combination. Decode: bands=brown,black,red,gold (3-6 bands, incl. tolerance and tempco). Color code: value=4k7 gives 4-band and 5-band colors and nearest E12/E24. Ohm's law: any two of v, i, r, p. Accepts 4.7k, 4k7, 1M, 220R. Offline. Price: $0.002 USDC (Base, via x402).

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": {
      "supply": "<supply>",
      "vf": "<vf>",
      "ma": "<ma>"
    },
    "name": "eng_resistor"
  }
}

Input Schema

NameRequiredDescriptionDefault
maYese.g. 20
vfYese.g. 2
supplyYese.g. 5

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior2/5

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

It does add real behavioral detail beyond the annotations: exact outputs per mode (E12/E24 next value, power, minimum wattage, color bands) and the cost model ('$0.002 USDC (Base, via x402)'). However, 'Offline' contradicts the declared openWorldHint=true and also conflicts with the x402/Base payment path described in the same sentence, muddying the access model for the agent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The mode-by-mode recipe layout is front-loaded and scannable, and the string-parsing note is placed sensibly. But the opening sentence restates the same idea twice ('Resistor calculator: LED resistor, series/parallel, color code, Ohm's law' followed by 'Electronics resistor helper with five modes'), and the pricing sentence is tacked on at the end.

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 no output schema, the description does the work of describing return values per mode, which is a genuine strength. The completeness is undercut by the mismatch between the three required schema parameters and the many modes/parameters the description promises, leaving the invocation contract for four of the five modes unresolved.

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

Parameters3/5

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

Schema coverage is 100%, so the baseline is 3, and the description usefully adds value-format guidance ('Accepts 4.7k, 4k7, 1M, 220R'). Against that, it describes a dozen parameters (color, count, values, target, bands, value, v, i, r, p) that do not exist in the schema, which leaves the agent unsure how non-LED modes are actually invoked.

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?

States a concrete verb and resource ('Resistor calculator') and enumerates the five supported modes (LED, series/parallel, color code, decode, Ohm's law), which cleanly separates it from the structural engineering siblings like eng_beam and eng_pipe_flow. An agent can identify the tool's function without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly explains the dispatch mechanism ('five modes picked by the params you send') and gives a parameter recipe per mode: supply/vf/ma for LED, values= and target= for networks, bands= for decode, value= for color code, any two of v/i/r/p for Ohm's law. It does not say when NOT to use it or address the conflict with the schema's mandatory params, so it stops short of a 5.

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