Skip to main content
Glama
OilpriceAPI

OilPriceAPI

Official

Energy Market Overview

opa_market_overview
Read-only

Retrieve current prices for all energy commodities in one call. View grouped market snapshot with 24h changes, filterable by category for oil, gas, coal, refined products, metals, or forex.

Instructions

Get current prices for all tracked energy commodities in one call. Use when the user wants a broad market snapshot or asks about overall energy prices. Returns prices grouped by category (oil, gas, coal, refined products, metals, forex) with 24h changes. Supports filtering by category. For a single commodity, use opa_get_price instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNoFilter by commodity category (default: all). Options: oil, gas, coal, refined, metals, forex.
Behavior4/5

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

The description aligns with annotations (readOnlyHint: true, openWorldHint: true) and adds context about grouping by category with 24h changes. No contradictions; extra behavior is non-critical.

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?

Three concise sentences: purpose, usage guidance, and output description. Front-loaded with key information, no wasted words.

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?

Given the tool's simplicity (one optional parameter, no output schema), the description covers purpose, usage, and basic output structure. It omits details like response format limits, but annotations mitigate need for full specification.

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?

The input schema already describes the category parameter (enum values, default, filter purpose). The description merely restates 'Supports filtering by category' and lists categories in output context, adding minimal value beyond the schema.

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 clearly states the tool's purpose: 'Get current prices for all tracked energy commodities in one call.' It specifies the resource (energy commodities) and action (get prices), and distinguishes from the sibling opa_get_price for single commodity queries.

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

Usage Guidelines5/5

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

The description explicitly states when to use: 'when the user wants a broad market snapshot or asks about overall energy prices.' It also provides an alternative: 'For a single commodity, use opa_get_price instead.'

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