Skip to main content
Glama

OilPriceAPI hosted energy data

Energy Supply Intelligence

energy_supply_intelligence
Read-onlyIdempotent

Read authenticated energy supply and retail datasets: EIA oil inventories, Cushing storage, US SPR storage, OPEC production, or US state retail diesel prices. Account entitlement is enforced by OilPriceAPI.

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": {
      "dataset": "<dataset>"
    },
    "name": "energy_supply_intelligence"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateNo
datasetYes

Output Schema

NameRequiredDescriptionDefault
accessNo
datasetNo
messageNo
outcomeNo
handoff_urlYes
upgrade_urlNo
website_urlYes
availabilityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior4/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 genuinely new behavioral context: the read is authenticated and account entitlement is enforced by OilPriceAPI, which warns the agent that calls can fail for authorization reasons. It does not mention rate limits or error shapes, but the auth/entitlement disclosure is real value beyond the annotations.

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?

Two sentences, zero filler, with the scope and dataset list front-loaded ahead of the entitlement note. Every clause carries information the agent needs.

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?

An output schema exists, so return values need not be explained, and the annotations carry the safety profile. For a simple two-parameter read tool the description is close to adequate, but the unexplained conditional role and format of 'state' leaves a real hole an agent would hit on the diesel_by_state path.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning and largely does not. It expands the dataset values usefully (EIA, SPR, Cushing), but the 'state' parameter is never addressed: it does not state that state applies only to diesel_by_state, whether it is required or ignored for the other datasets, or what format is expected (two-letter code vs. full name). With additionalProperties=false and a conditional parameter, that gap is material.

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 gives a specific verb ('Read') plus the resource ('energy supply and retail datasets') and then enumerates exactly what is covered: EIA oil inventories, Cushing storage, SPR storage, OPEC production, and state retail diesel prices. That enumeration maps cleanly onto the dataset enum, so an agent can immediately tell this is a supply/retail data reader rather than a price, futures, or analytics tool. It stops short of naming a sibling it is not, which keeps it out of the top band.

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 explicit when-to-use or when-not-to-use guidance, and no alternatives are named despite a crowded sibling set (energy_get_latest, energy_history, energy_analytics). The list of datasets implies the domain of applicability, but nothing tells the agent how to choose between this tool and the other energy tools for overlapping needs.

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.