Skip to main content
Glama

OilPriceAPI hosted energy data

Energy Market Brief

energy_market_brief
Read-onlyIdempotent

Read a single-request structured and narrative multi-commodity market brief (up to 15 codes) for fast agent briefings. Preserves per-series timestamps, currencies and units. Account entitlement is enforced by OilPriceAPI.

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": "energy_market_brief"
  }
}

Input Schema

NameRequiredDescriptionDefault
codesNo

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.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive semantics, so the description's bar is lower. It still adds real value beyond them: single-request batching behavior, preservation of per-series timestamps/currencies/units (data-fidelity guarantee), and an explicit account-entitlement enforcement note that flags a possible auth failure mode.

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?

Three tight sentences, front-loaded with the core action and scope, with no redundant restatement of the name. The phrase 'for fast agent briefings' leans slightly promotional but still carries usage intent.

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-value documentation is not required, and entitlement behavior is disclosed. The remaining gap is the sole input's semantics — an agent still doesn't know what a 'code' is or where to source one, which is a meaningful omission for an otherwise simple tool.

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% for the single parameter, so the description must carry the meaning and largely does not. '(up to 15 codes)' merely restates the schema's maxItems constraint and never explains what a code identifies or how to obtain valid codes, which is the main thing an agent needs before calling.

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?

States a specific verb ('Read') and resource ('multi-commodity market brief') with an explicit scope cap ('up to 15 codes') and a stated use case ('fast agent briefings'). The 'single-request' and 'multi-commodity' framing implicitly distinguishes it from per-symbol siblings like energy_get_price, but no sibling is named, so the differentiation is left to inference.

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?

Implies usage through 'for fast agent briefings' and 'multi-commodity,' suggesting a batched briefing call rather than single-quote lookups. However, there is no explicit when-to-use/when-not statement and no named alternative for narrower 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.