Skip to main content
Glama

PriceOfElectricity.com: U.S. electricity prices

Appliance running cost

calculate_appliance_cost
Read-onlyIdempotent

Estimates the electricity cost of running an appliance (preset wattage and hours, e.g. refrigerator, space heater, electric vehicle charger) or any custom wattage for a given hours per day, in a U.S. state or at the U.S. average. Returns hourly, daily, monthly, and annual cost with every assumption listed.

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": {
      "state": "<state>"
    },
    "name": "calculate_appliance_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateYesU.S. state name, two-letter postal code, or slug (e.g. 'Ohio', 'OH', 'new-york'), or 'us-average'.
wattageNoAverage power draw in watts (1–50,000). Overrides the preset.
quantityNoNumber of identical units (1–100); default 1.
applianceNoAppliance preset slug. Optional when wattage and hours_per_day are given.
hours_per_dayNoHours of use per day (0.01–24). Overrides the preset.
days_per_monthNoDays of use per month (1–31); default 30.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety and repeatability need no restating. The description adds genuinely useful behavior beyond that: it discloses the return shape (hourly, daily, monthly, annual cost) and that assumptions are surfaced, which matters since there is no output schema. It does not cover edge behavior such as what happens when preset, wattage and hours conflict beyond the implicit override.

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

Conciseness4/5

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

A single front-loaded sentence that leads with the verb and resource, then enumerates inputs and outputs with no filler. It is dense but readable; the only cost is the heavy parenthetical, which packs preset examples into one clause.

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?

For a read-only calculator with no output schema, the description covers inputs (preset or custom wattage, hours, state or U.S. average) and the return values with assumptions listed, which is what an agent needs before calling. Minor gaps remain around unit quantity and day-count behavior, but those are documented in the schema.

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 all six parameters are already documented in the input schema, and the description adds little beyond naming presets and the state/U.S.-average option. The quantity and days_per_month parameters are never mentioned in the description, so it does not compensate for anything the schema does not already say. Baseline 3 is appropriate.

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 and resource ('Estimates the electricity cost of running an appliance') and scopes it to presets, custom wattage, hours per day, and a state or U.S. average. It implicitly separates itself from bill-level siblings like calculate_bill_cost and estimate_household_bill by being per-appliance, but never names or contrasts with those siblings.

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 wording implies the use case (single-appliance running cost from a preset or custom wattage), and the preset examples (refrigerator, space heater, EV charger) make the intended scope concrete. However, there is no explicit when-not guidance or pointer to calculate_bill_cost/estimate_household_bill for whole-home totals, leaving the routing decision to inference.

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