Skip to main content
Glama

OilPriceAPI hosted energy data

OilPriceAPI Product Facts

energy_product_facts
Read-onlyIdempotent

Read OilPriceAPI's versioned reviewed product contract covering offer structure, freshness semantics, authentication, and data-rights boundaries. Available without signup.

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_product_facts"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

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

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered structurally. The description adds real non-annotation context: the content is versioned and reviewed, and no signup/auth is needed. It still doesn't say whether the contract is static or time-sensitive, or how large/stable the payload is.

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, no filler, with the resource identity front-loaded and the access condition ('without signup') placed where an agent will see it before deciding to call. Every clause carries information.

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?

With zero parameters, a full output schema, and rich annotations, the definition needs only to say what the tool is and why it exists, which it does. The one gap is that an agent can't tell from this text whether this is a prerequisite read before using the energy_* data tools.

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 tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline of 4 would normally apply; I dock one point because the description gives no cue about what the parameterless call returns conceptually (e.g., a fixed document versus a call scoped to a plan or account).

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 names a specific verb ('Read') and a specific resource ('OilPriceAPI's versioned reviewed product contract') and enumerates the four things it covers: offer structure, freshness semantics, authentication, and data-rights boundaries. That makes it easy to tell apart from the price-data siblings like energy_get_price or energy_analytics, though it doesn't explicitly say it is the metadata/documentation tool rather than a data tool.

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?

'Available without signup' gives one useful usage condition (an auth precondition), and 'product contract' implies you read it before relying on the API's offer terms. But there is no explicit when-to-use versus when-not, and no pointer to which sibling to consult for actual price data instead.

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.