Skip to main content
Glama

energy gas prices

energy_gas_prices
Read-only

This week's gasoline or diesel prices across the US: national average, PADD regions, 9 states and 10 metro areas (Los Angeles, San Francisco, Seattle, New York, Chicago, Houston, Miami...), ranked with weekly change. Costs $0.002 USDC per call (x402).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gradeNoregular (default), midgrade, premium, diesel

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish this is a safe read (readOnlyHint) on an open-world data source. The description adds genuinely non-derivable behavior: the $0.002 USDC per-call x402 payment requirement, which materially affects whether an agent should invoke it. It still omits return shape, freshness guarantees and any rate limits, so it is not a full 5.

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?

A single front-loaded sentence that states resource, scope and price up front, with the city list illustrating coverage rather than padding. Slightly long enumeration, but every element earns its place as scope definition.

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?

For a one-optional-parameter, no-output-schema tool, the description covers what is returned conceptually (national/regional/state/metro values with weekly change) and the cost of calling it. Freshness cadence and coverage caveats are the only real gaps.

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?

Schema description coverage is 100% for the single 'grade' parameter with its default and allowed values, so the schema carries the semantics. The description's 'gasoline or diesel' only loosely gestures at the grade dimension and adds no format or default detail. Baseline 3 applies.

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 resource and scope: this week's gasoline/diesel prices with national, PADD, state and metro breakdowns, plus weekly change ranking. That is far more precise than a generic 'energy prices' tool, and 'gasoline or diesel' implicitly separates it from energy_electricity_prices. However, it never names a sibling (e.g. gas, energy_electricity_prices, energy_mix) to route the agent explicitly.

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 only implied: the weekly framing signals this is the tool for current pump prices, but there is no statement of when to prefer it over the sibling 'gas' or 'energy_electricity_prices' tools, and no exclusions or prerequisites beyond the cost note. Minimum-viable guidance.

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