Skip to main content
Glama

Energy Prices

EnergyPrices
Read-only

Energy Prices: Energy Prices returns the latest daily closing spot price for WTI and Brent crude, Henry Hub natural gas and US gasoline, diesel, heating oil, propane and jet fuel benchmarks, with the previous close, the daily change and the 52-week high and low. Convert to barrels, gallons, liters, MMBtu, therms or MWh, ask for several benchmarks at once, or pull a daily or weekly history. (Cost: 2 credits) REST: GET https://api.apiverve.com/v1/energyprices, params in the query string, key in the x-api-key header. Docs: https://apiverve.com/md/marketplace/energyprices.md

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "EnergyPrices"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoDate to look up (YYYY-MM-DD). Returns the close on that day, or the latest trading day before it. Omit for the latest close.
daysNoCalendar days of history to include (1-3650). Daily history allows up to 366. Defaults to 30.
unitNoUnit to price per: barrel, gallon or liter for crude and refined products; mmbtu, therm or mwh for natural gas. Defaults to each benchmark's published unit.
historyNoInclude a price series ending at the returned date: daily closes or the last close of each week.
benchmarkNoBenchmark to price, or a comma-separated list (paid plans), or all. Defaults to wti. Ids: wti, brent, henryhub, gasoline_nyh, gasoline_gulf, rbob_la, ulsd_nyh, ulsd_gulf, carbdiesel_la, heatingoil, propane, jetfuel. Common names work too: crude or oil (wti), natural gas, natgas or henry hub (henryhub), gasoline (gasoline_nyh), diesel or ulsd (ulsd_nyh), heating oil, jet fuel or kerosene (jetfuel).

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNoError message, null on success
statusNo"ok" on success

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / benchmark / description
      Previous value: -"Benchmark to price, or a comma-separated list (paid plans), or all. Defaults to wti."New value: +"Benchmark to price, or a comma-separated list (paid plans), or all. Defaults to wti. Ids: wti, brent, henryhub, gasoline_nyh, gasoline_gulf, rbob_la, ulsd_nyh, ulsd_gulf, carbdiesel_la, heatingoil, propane, jetfuel. Common names work too: crude or oil (wti), natural gas, natgas or henry hub (henryhub), gasoline (gasoline_nyh), diesel or ulsd (ulsd_nyh), heating oil, jet fuel or kerosene (jetfuel)."
  2. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint and destructiveHint=false, so the safety profile is covered elsewhere and the description's job is to add operational context. It does add real value with the 2-credit cost, the REST endpoint shape, the x-api-key header requirement, and the note that comma-separated multi-benchmark requests require a paid plan. It stops there – no detail on rate limits, error behavior, or whether output includes units alongside prices, though the output schema likely covers the latter.

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?

Front-loads the core output description, then capabilities, then cost, then transport details and docs link – a logical funnel with no filler sentences. The first sentence is dense and comma-laden but every clause carries information; nothing reads as padding.

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 read-only data-retrieval tool with a fully documented 5-parameter schema and an existing output schema, the description covers the remaining gaps: credit cost, auth mechanism, HTTP method/path, and a docs URL. An agent has enough to decide, call correctly, and know the cost without further lookup.

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%, so a 3 baseline applies and the description must earn more. It does: the unit-conversion sentence groups valid units by commodity family (barrel/gallon/liter for crude and refined products, mmbtu/therm/mwh for gas), and the "several benchmarks at once" clause adds the paid-plan constraint on the benchmark parameter that the schema does not mention. That is genuine meaning beyond the schema.

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 uses a specific verb and resource ("returns the latest daily closing spot price") and enumerates exactly which benchmarks are covered (WTI, Brent, Henry Hub, gasoline, diesel, heating oil, propane, jet fuel) plus the supplementary fields returned. It never explicitly says how it differs from the sibling GasPrices tool, which overlaps on the natural gas benchmarks, so it stops short of full sibling differentiation.

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?

Usage is only implied through capability statements – "ask for several benchmarks at once, or pull a daily or weekly history" tells an agent what is possible but not when to choose this over an alternative or when a single-benchmark call is preferable. There are no exclusions or prerequisites stated beyond the parenthetical credit cost.

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.