Skip to main content
Glama

electrical_calc

Calculate unknown electrical values by providing any two known parameters: voltage, current, resistance, or power. Uses Ohm's Law and power equations to compute the missing values.

Instructions

Calculate electrical values using Ohm's Law and power equations.

Parameters:
    voltage — Voltage in V (leave 0 if unknown).
    current — Current in A (leave 0 if unknown).
    resistance — Resistance in Ω (leave 0 if unknown).
    power — Power in W (leave 0 if unknown).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
voltageNo
currentNo
resistanceNo
powerNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden. It fails to disclose important behavioral traits such as error handling when insufficient parameters are provided, or whether it performs multi-equation solving. The output schema exists but behavior beyond that is opaque.

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: one sentence defining purpose and a parameter list with units. Every element adds value, and the main action is front-loaded.

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?

Given the presence of an output schema, the description adequately defines inputs. However, it lacks preconditions (e.g., at least two parameters required) and does not mention the equation solving logic, leaving some gaps for a calculation tool.

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 description coverage is 0%, so the description compensates by adding units (V, A, Ω, W) and usage hints ('leave 0 if unknown'), providing meaning beyond the raw parameter names and types in the schema.

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 clearly states it calculates electrical values using Ohm's Law and power equations, specifying the verb 'calculate', the resource 'electrical values', and the governing laws. It distinguishes itself from sibling calculation tools by focusing on electrical domain.

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

Usage Guidelines2/5

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

The description does not explicitly state when to use this tool versus alternatives, nor does it provide conditions for use (e.g., need at least two inputs). It only implies usage by listing parameters and suggesting to leave unknown as 0.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/scotia1973-bot/api-hub'

If you have feedback or need assistance with the MCP directory API, please join our Discord server