Skip to main content
Glama

Eia Electricity

eia_electricity
Read-onlyIdempotent

Get EIA electricity data for a named series (generation, retail_sales, prices, state_generation). Returns time series with period and value across fuel sources and regions. Requires free EIA API key.Covers coal, natural gas, nuclear, hydro, wind, and solar generation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoEnd date (optional)
startNoStart date (optional)
seriesYesData series: "generation", "retail_sales", "prices", "state_generation"
_apiKeyYesEIA API key
frequencyNoFrequency: "monthly", "quarterly", "annual" (optional)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesTime series data points (max 100 returned)
countYesNumber of records returned
totalYesTotal number of records available
seriesYesElectricity series type requested
truncatedYesTrue if more than 100 records available
descriptionYesSeries description from EIA API

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "count": {
      +      "description": "Number of records returned",
      +      "type": "number"
      +    },
      +    "data": {
      +      "description": "Time series data points (max 100 returned)",
      +      "items": {
      +        "properties": {
      +          "area": {
      +            "description": "Geographic area name",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "description": {
      +            "description": "Series description",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "period": {
      +            "description": "Time period (e.g., date or year)",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "process": {
      +            "description": "Process or measurement type",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "product": {
      +            "description": "Product type",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "units": {
      +            "description": "Unit of measurement",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "value": {
      +            "description": "Numeric value for the period",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "description": {
      +      "description": "Series description from EIA API",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "series": {
      +      "description": "Electricity series type requested",
      +      "type": "string"
      +    },
      +    "total": {
      +      "description": "Total number of records available",
      +      "type": "number"
      +    },
      +    "truncated": {
      +      "description": "True if more than 100 records available",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "series",
      +    "total",
      +    "description",
      +    "count",
      +    "data",
      +    "truncated"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-eia-api-key",
      +    "series": "generation"
      +  },
      +  {
      +    "_apiKey": "your-eia-api-key",
      +    "frequency": "monthly",
      +    "series": "retail_sales",
      +    "start": "2023-01"
      +  }
      +]
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

The description discloses that an API key is required and lists covered fuel sources (coal, natural gas, etc.), adding value beyond the annotations (readOnlyHint, etc.). It does not contradict annotations. However, it lacks details on rate limits, pagination, or data range limitations.

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 long, front-loaded with the purpose and key details. Every sentence adds value (data series, return format, auth requirement, fuel sources).

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?

Given the presence of an output schema and rich annotations, the description adequately covers the tool's purpose, required auth, data series options, and covered fuel sources. Minor omission: no mention of date range constraints or typical use cases.

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?

The input schema already describes all 5 parameters (100% coverage). The description adds context about the return format ('time series with period and value') and the fuel sources covered, but does not elaborate on each parameter beyond what the schema provides.

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 explicitly states 'Get EIA electricity data for a named series' and lists the available series (generation, retail_sales, prices, state_generation), clearly distinguishing it from sibling tools like eia_ethanol or eia_natural_gas by focusing specifically on electricity.

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 implies when to use the tool (when you need electricity data) but does not provide explicit guidance on when to prefer this tool over alternatives like eia_natural_gas or eia_petroleum. No comparisons or exclusions are given.

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.6/5.0
Disambiguation2/5

Several tools occupy nearly identical roles: ask_pipeworx and ask_pipeworx_beta are described as currently identical, ask_pipeworx_grounded and deep_research overlap with the router, and eia_series overlaps with the specialized eia_electricity/eia_ethanol/eia_natural_gas/eia_petroleum tools. The Polymarket opportunity scanners and the two AI-visibility checkers also blur together, making confident tool selection difficult despite detailed descriptions.

Naming Consistency3/5

Most tools follow a snake_case verb-first pattern (remember, recall, forget, resolve_entity, validate_claim), but there are notable deviations: eia_electricity and eia_ethanol are noun-first category names, recent_alerts and recent_changes are adjective-noun, and pipeworx_trending and polymarket_edges are not verb-driven. The eia_ and polymarket_ prefixes add some predictability, so the naming is readable but inconsistent.

Tool Count2/5

At 36 tools, this is well past the heavy threshold and feels like a kitchen-sink aggregation of several separate products rather than one focused server. Many tools could be consolidated: the five eia_* lookups, the multiple ask_pipeworx variants, and the several Polymarket scanners all serve close purposes. A 36-tool surface is too much for an agent to navigate efficiently.

Completeness4/5

Within the major subdomains the set is quite complete: entity research has profile/compare/changes/resolve, memory has remember/recall/forget, subscriptions have subscribe/list/unsubscribe/recent_alerts, and Polymarket analysis has edge discovery, fill-risk, venue-spread, and persistence tracking. Minor gaps exist—no subscription update flow, no dedicated EIA coal/nuclear/renewables series beyond the generic eia_series fallback—but agents can work around them.