Skip to main content
Glama

Eia Petroleum

eia_petroleum
Read-onlyIdempotent

Get EIA petroleum time series data for a specific product (gasoline, diesel, crude, stocks, supply, production, imports). Returns prices or volumes by period with regional breakdowns. Requires free EIA API key.supply, production, and imports. Simplified interface to common EIA petroleum series.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoEnd date (optional)
startNoStart date (optional)
_apiKeyYesEIA API key
productYesProduct type: "gasoline", "diesel", "crude", "stocks", "supply", "production", "imports"
frequencyNoFrequency: "weekly", "monthly", "annual" (optional, defaults vary by product)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesTime series data points (max 100 returned)
countYesNumber of records returned
totalYesTotal number of records available
productYesPetroleum product 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"
      +      ]
      +    },
      +    "product": {
      +      "description": "Petroleum product 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": [
      +    "product",
      +    "total",
      +    "description",
      +    "count",
      +    "data",
      +    "truncated"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-eia-api-key",
      +    "product": "gasoline"
      +  },
      +  {
      +    "_apiKey": "your-eia-api-key",
      +    "frequency": "weekly",
      +    "product": "crude",
      +    "start": "2023-01-01"
      +  }
      +]
  3. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Beyond annotations (readOnlyHint, idempotentHint, destructiveHint false), description adds that it returns prices/volumes with regional breakdowns and requires an API key. Complements annotations well without contradiction.

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

Conciseness3/5

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

Front-loaded with purpose, but contains redundancy ('supply, production, and imports' appears twice). Two sentences with a minor typo; could be more polished.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 5 parameters and existing output schema, description covers basics (return type, regional breakdowns, API key). Lacks details on error handling, data ranges, or rate limits, but sufficient for a simple retrieval tool.

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 baseline 3. Description repeats product list from schema but does not add new parameter details beyond mentioning 'frequency defaults vary by product'. Adequate but not enhanced.

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 clearly states the tool retrieves EIA petroleum time series data for specific products, listing examples. It distinguishes from generic EIA tools by mentioning 'simplified interface to common EIA petroleum series', though it could better contrast with sibling eia_series.

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?

No explicit guidance on when to use this tool versus siblings like eia_series or other EIA tools. The phrase 'simplified interface' implies it is for common queries but does not specify alternatives or exclusions.

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.