Skip to main content
Glama

PriceOfElectricity.com: U.S. electricity prices

Utility electricity prices

get_utility_rates
Read-onlyIdempotent

Lists the electric utilities covered in a U.S. state, or, with a utility name, gives that utility's average residential price, monthly usage and bill from EIA Form 861 where the site publishes it.

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": "get_utility_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateYesU.S. state name, two-letter postal code, or slug (e.g. 'Ohio', 'OH', 'new-york').
utilityNoUtility name or slug (e.g. 'Duke Energy Florida', 'bge'). Omit to list the state's utilities.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorldHint=false, so the safety profile is covered. The description adds genuinely new context: the data comes from EIA Form 861 and is only returned 'where the site publishes it', warning the agent that results can be absent for some utilities. It does not cover pagination or partial-failure behavior, but this is solid added value.

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 well-formed sentence that front-loads the primary listing behavior before the conditional detail mode. No filler, no redundant restatement of the title.

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?

With no output schema, the description usefully enumerates the returned fields (average residential price, monthly usage, bill) and names the upstream data source. It never specifies what a listing response contains, which is a minor gap for a two-mode tool whose output shape varies by branch.

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 description coverage is 100%, and the schema already documents accepted state formats (name, postal code, slug) and that omitting `utility` lists the state. The description mostly restates that contract rather than adding new semantics. With the schema doing the heavy lifting, 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?

The description names two concrete modes: listing utilities in a state, and returning a named utility's average residential price, monthly usage and bill from EIA Form 861. The verb+resource are specific and the source dataset is cited. It stops short of distinguishing this from siblings like get_electricity_rate or estimate_household_bill, which superficially overlap with the per-utility branch.

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?

The branching rule is stated explicitly: omit `utility` to list the state's utilities, supply a utility name to get pricing for that utility. That is clear operational context for both modes. There are no exclusions or routing guidance toward the overlapping price tools, so it lands at 4 rather than 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