Skip to main content
Glama

eia_energy_consumption

Read-onlyIdempotent

Monthly US energy consumption by sector from EIA. Sectors: residential, commercial, industrial, transportation, total. Returns total energy consumed in BTU equivalents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoInclusive upper-bound period (ISO date or YYYY-MM).
limitNoMaximum rows to return (default 50, max 5000).
startNoInclusive lower-bound period (ISO date or YYYY-MM depending on series cadence).
stateNoTwo-letter state code or 'US' for national rollup. Default 'US'.
sectorNoSector: 'total', 'residential', 'commercial', 'industrial', 'transportation'. Default 'total'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / limit / maximum
      Added value: +5000
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
  2. First observed

TDQS

B3.2/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, so the safety profile is covered. The description adds the cadence (monthly) and the return unit (BTU equivalents), but says nothing about pagination, rate limits, or data latency that would matter for an open-world data pull.

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?

Two sentences, front-loaded with the resource and scope, with no filler. The sector enumeration duplicates the schema enum, which is a small redundancy but useful for skimming.

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 states what comes back (total energy consumed in BTU equivalents). All five parameters are fully documented in the schema, and annotations cover the safety profile, so the only missing element is behavioral detail like pagination.

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%, so both the sector enum and the state/start/end/limit parameters are already documented in the schema; the description adds no format or default detail beyond it. It also frames the data as national ('US energy consumption') while the schema permits any two-letter state code, a minor mismatch that the baseline 3 reflects.

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 a specific verb+resource (monthly US energy consumption by sector from EIA) and enumerates the sector dimension, which separates it from siblings like eia_electricity_state or eia_natural_gas. It never explicitly contrasts itself with those siblings, but the resource is unambiguous.

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?

There is no when-to-use or when-not-to-use guidance and no named alternative among the many energy/EIA siblings. Usage is only inferable from the resource statement, which is the same gap the MID calibration example scored 2 for.

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.