Skip to main content
Glama

Lane Cost freight rates

US and regional fuel prices

get_fuel_prices
Read-onlyIdempotent

This week's average retail price per gallon of diesel, regular, midgrade and premium gasoline for the US and its seven EIA regions, with weekly and yearly changes. From EIA's Monday survey.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, openWorldHint=false, and destructiveHint=false, so safety is covered. The description adds useful context beyond them: the EIA Monday survey source, the weekly cadence, and the inclusion of weekly and yearly changes.

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 a single dense sentence that front-loads the resource, coverage, and fuel types, then adds change metrics and source without unnecessary wording.

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?

With no parameters, no output schema, and rich safety annotations, the description is complete enough for an agent to know exactly what this tool returns and when it applies. The data scope, source, and cadence are all stated.

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?

There are zero parameters, so the baseline is 4. The description introduces no parameter semantics, but none are needed.

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 specifies the exact resource: weekly average retail fuel prices per gallon for diesel, regular, midgrade, and premium gasoline, scoped to the US and seven EIA regions, with weekly and yearly changes. This scope clearly distinguishes it from siblings such as get_local_fuel_prices, get_state_fuel_prices, and get_diesel_price.

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?

The national and regional scope implies when to use this tool instead of local, state, or diesel-specific siblings, but it does not explicitly state those alternatives or when-not conditions. The guidance is adequate but left to inference.

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.

Resources