Skip to main content
Glama
OilpriceAPI

OilPriceAPI

Official
by OilpriceAPI

Get US Natural Gas Hub Prices

opa_get_natural_gas_hubs
Read-only

Get current US natural gas hub prices as basis to Henry Hub, including Waha, SoCal, Chicago, and more. Returns all live hubs or a specific hub's latest price and basis history.

Instructions

Get US physical natural gas hub prices as basis to Henry Hub (USD/MMBtu). Use when the user asks about regional gas prices or hub basis — Waha (West Texas/Permian), SoCal Citygate, Chicago Citygate, Algonquin Citygate, Eastern Gas South (formerly Dominion South), Houston Ship Channel. Without a hub, returns every live hub plus its basis; with a hub, returns that hub's latest price, basis, and basis history. Hub series differ in depth — check history_days before requesting a long window. Requires a paid plan (Developer, $19/mo, and up).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hubNoOptional hub slug: waha, socal, chicago, algonquin, eastern-gas-south, houston-ship-channel. Omit to list all live hubs with their basis to Henry Hub.
pastNoOptional basis-history window for a single hub, e.g. 30d, 6m, 1y (only used when hub is given).
Behavior5/5

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

The description explains the two modes (with/without hub), return contents (basis and history), and adds a critical caveat about varying hub history depth. It also discloses the paid-plan requirement. These details go well beyond the readOnlyHint and openWorldHint annotations, without contradicting them.

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 efficient and well-structured: it opens with the core purpose, follows with usage guidance and hub enumeration, and then explains behavior and prerequisites. No sentence is wasted, and all necessary information is present.

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, optional-parameter tool with no output schema, the description fully covers behavior in both call variants, the data depth caveat, and access requirements. It is complete for an agent to select and invoke the tool correctly without additional context.

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?

Although the schema descriptions are complete (100% coverage), the description adds value by clarifying the 'past' parameter's format with examples (30d, 6m, 1y) and reiterating that it only applies when a hub is provided. This enriches the parameter semantics beyond the schema alone.

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 states a specific verb+resource ('Get US physical natural gas hub prices as basis to Henry Hub') and explicitly lists the hub identifiers, clearly distinguishing this tool from siblings like opa_get_price or opa_get_futures. The scope (natural gas hubs) is precise and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly says 'Use when the user asks about regional gas prices or hub basis' and names the relevant hubs, giving clear context. However, it does not mention when not to use this tool or name alternative tools for non-hub commodities, so it stops short of a full 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/OilpriceAPI/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server