Skip to main content
Glama

OilPriceAPI hosted energy data

Marine Fuel Prices

energy_marine_fuels
Read-onlyIdempotent

Read authenticated bunker quotes for 1–4 UN/LOCODE ports (for example NLRTM, SGSIN, USHOU, AEFJR) and one exact grade: VLSFO, MGO_05S or HFO_380. Preserve port, grade and per-quote freshness. No substitution when a quote is unavailable. Account entitlement is enforced by OilPriceAPI.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ports": "<ports>",
      "grade": "<grade>"
    },
    "name": "energy_marine_fuels"
  }
}

Input Schema

NameRequiredDescriptionDefault
gradeYes
portsYes

Output Schema

NameRequiredDescriptionDefault
accessNo
datasetNo
messageNo
outcomeNo
handoff_urlYes
upgrade_urlNo
website_urlYes
availabilityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / ports / items / enum
      Removed value: -[
      -  "NLRTM",
      -  "SGSIN",
      -  "USHOU"
      -]
    • addedInput schema / properties / ports / items / pattern
      Added value: +"^[A-Z]{5}$"
    • changedInput schema / properties / ports / maxItems
      Previous value: -2New value: +4
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "access": {
      +      "enum": [
      +        "demo",
      +        "authenticated"
      +      ],
      +      "type": "string"
      +    },
      +    "availability": {
      +      "enum": [
      +        "available",
      +        "unavailable"
      +      ],
      +      "type": "string"
      +    },
      +    "dataset": {
      +      "type": "string"
      +    },
      +    "handoff_url": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "outcome": {
      +      "type": "string"
      +    },
      +    "upgrade_url": {
      +      "type": "string"
      +    },
      +    "website_url": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "website_url",
      +    "handoff_url"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world and non-destructive, so the safety profile is covered. The description still adds real value beyond them: authentication is required, entitlement is enforced by OilPriceAPI, and quote unavailability must not be silently substituted, with per-quote freshness preserved. It stops short of stating rate limits or the exact failure surface for an unavailable port.

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 dense sentences, front-loaded with the read action and its scope, followed by output-preservation rules and then the auth/entitlement note. No filler, no repetition of annotation data, and every clause carries actionable 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 an output schema present, the description need not document return values, and it correctly focuses on scope, auth and unavailability handling. The main residual gap is behavior for invalid or unsupported UN/LOCODEs and whether partial results are returned when only some ports have quotes, which matters given the 1–4 port range.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the load, and it does: it explains that ports are UN/LOCODE codes and supplies four worked examples (NLRTM, SGSIN, USHOU, AEFJR), restates the 1–4 cardinality, and clarifies that grade must be one exact value from the enumerated set. This adds semantics (what the codes mean, exactness of grade matching) that the JSON schema alone does not convey.

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 pairs a specific verb ("Read") with a precisely scoped resource ("authenticated bunker quotes" for 1-4 UN/LOCODE ports and one exact marine grade). The marine-bunker specificity and the UN/LOCODE input shape effectively separate it from generic price siblings like energy_get_price, but no sibling is named explicitly, so routing still requires the agent to infer.

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 implied rather than stated: the agent can infer it should call this for marine bunker pricing, and "No substitution when a quote is unavailable" gives a behavioral directive. However, there is no explicit when-to-use/when-not-to-use guidance and no named alternative for cases such as general commodity prices or fuel surcharges.

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.