Skip to main content
Glama

Average Electric Bill

Average electricity rate and bill by state

get_state_electricity_stats
Read-onlyIdempotent

Average residential electricity price (cents per kWh), monthly use, monthly bill, and 1- and 5-year price change for a U.S. state, D.C., or the U.S. overall, over the latest 12 months of EIA data. Omit state to get all 50 states and D.C., sorted by price.

Input Schema

NameRequiredDescriptionDefault
stateNoTwo-letter code, state name, or 'US'. Omit for every state.

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 establish that this is a read-only, idempotent, closed-world operation. The description adds meaningful behavioral context beyond that: the data source is EIA, the window is the latest 12 months, and omitting state returns all states sorted by price. It does not discuss response shape, but the listed metrics make the return content clear.

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 two sentences, front-loaded with the returned metrics and followed by the key omission behavior. Every phrase contributes useful context without repetition.

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?

For a simple one-parameter retrieval tool with full schema coverage and no output schema, the description is complete: it lists the metrics returned, the geographic scope, the EIA data window, and the behavior when state is omitted. An agent has enough information to invoke it correctly.

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% and the single state parameter is already documented as accepting a two-letter code, state name, or 'US'. The description adds value by clarifying that omission returns all 50 states and D.C., and that those results are sorted by price.

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 states a specific resource and outputs: average residential electricity price, monthly use, monthly bill, and 1- and 5-year price changes for a state, D.C., or the U.S. overall. It is clear what the tool returns, but it does not explicitly differentiate itself from siblings such as check_electric_bill or find_utility_rate.

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 description gives useful operational guidance for the optional state parameter: omit it to retrieve all 50 states and D.C. sorted by price. However, it does not explain when to use this tool versus the sibling tools check_electric_bill or find_utility_rate, so selection guidance remains implicit.

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