Skip to main content
Glama

ohms law

ohms_law

Solves Ohm's Law and the power equation given any two of four electrical quantities: voltage (V), current (I), resistance (R), and power (P). Uses V=IR, P=VI, P=I^2R, and P=V^2/R to derive the missing two values. Fundamental for every circuit design task: sizing resistors, estimating current draw, checking power dissipation, and verifying component ratings. Chain into led_resistor for LED circuits or voltage_divider for bias networks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
power_wNoPower in watts (W). Provide exactly 2 of the 4 parameters.
current_aNoCurrent in amps (A). Provide exactly 2 of the 4 parameters.
voltage_vNoVoltage in volts (V). Provide exactly 2 of the 4 parameters.
resistance_ohmNoResistance in ohms. Provide exactly 2 of the 4 parameters.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
power_wYesPower in watts (W).
current_aYesCurrent in amps (A).
voltage_vYesVoltage in volts (V).
resistance_ohmYesResistance in ohms.

TDQS

A4.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the equations used (V=IR, P=VI, etc.) but does not mention error handling behavior (e.g., what happens if fewer than two parameters are provided, or if the two parameters are inconsistent). It does not describe output format, precision, or units beyond the input schema. For a simple calculation tool, this is adequate but not exceptional.

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?

The description is extremely concise with only three sentences. The first sentence immediately states the tool's core function, the second adds equations and applications, and the third provides chaining guidance. No words are wasted, and the structure is front-loaded with essential information.

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

Completeness5/5

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

Given that the tool only performs a simple calculation based on two parameters, the description covers its purpose, equations, applications, and integration with related tools. The input schema fully documents the parameters, and the presence of an output schema (though not shown) likely covers return format. All necessary context for correct use is present.

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 100%, so baseline is 3. The description adds value beyond the schema by explaining the relationships between parameters (the equations) and the real-world applications (sizing resistors, current draw). This helps the agent understand how the tool works and when to use specific parameter combinations, earning a higher score.

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?

Description clearly states it solves Ohm's Law and power equation given any two of four electrical quantities. It lists the four quantities (V, I, R, P) and the standard equations used (V=IR, P=VI, etc.). It also distinguishes from sibling tools by mentioning chaining into led_resistor or voltage_divider, establishing a unique purpose.

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?

Description explicitly says it is 'fundamental for every circuit design task' and lists practical use cases (sizing resistors, estimating current draw, etc.). It also suggests chaining into led_resistor or voltage_divider for specific applications. However, it does not explicitly state when NOT to use this tool or provide alternative tool names for cases that require different physics.

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.

TDQS

A3.9/5.0
Disambiguation4/5

Despite 89 tools, each has a clearly distinct purpose with detailed descriptions that often reference related tools. Overlap exists (e.g., multiple LoRa/RF tools), but the descriptions are sufficient to distinguish them. Some confusion possible among similar-sounding tools like attenuator_pi and attenuator_tee, but the descriptions explicitly compare them.

Naming Consistency4/5

Consistent underscore-separated lowercase naming. Most tools follow a verb_noun pattern (e.g., capacitor_charge, wire_gauge) or noun_noun (power_cost). Minor inconsistencies such as 'bmi_calculator' vs 'solar_sizing' but overall predictable.

Tool Count2/5

89 tools is far too many for a single MCP server. This scope is more appropriate for multiple specialized servers. The sheer number will slow agent selection and increase cognitive load, reducing coherence.

Completeness3/5

Covers many domains (RF, solar, PCB, networking, math, etc.) but lacks depth in some areas (e.g., no three-phase power, no airflow calculations). Some domains have comprehensive coverage (LoRa/Meshtastic), but others feel incomplete for the tool count.

Resources