Skip to main content
Glama

Lane Cost freight rates

Fuel prices for a state, city or ZIP

get_local_fuel_prices
Read-onlyIdempotent

Diesel and gasoline prices per gallon, fuel taxes and monthly price history for one US state, city or ZIP. Only ten cities have their own survey; any other city or ZIP returns its state's average, and each price says which it is. These are area averages, not station prices.

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": {
      "place": "<place>"
    },
    "name": "get_local_fuel_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
placeYesA state ("TX" or "Texas"), a city and state ("Chicago, IL"), or a 5-digit ZIP. Lower 48 states and DC.
monthsNoHow many of the most recent months to return. Default 24. History starts 2003-12.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuine context beyond that: the ten-city survey limit, the silent fallback to state averages, and the area-average-not-station-price caveat. It does not describe response shape, units beyond per gallon, or coverage for non-lower-48 states, so it is solid rather than rich.

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 short sentences, front-loaded with what is returned, followed immediately by the caveats that most affect interpretation. No filler, no repetition of the title's wording beyond what is needed.

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 no output schema, the description does its job by naming the returned fields and warning that granularity varies per price. The place restrictions live in the schema rather than the description, which is acceptable given full coverage. The only real gap is behavior for outside-coverage places, which is only implied by "Lower 48 states and DC" in the schema.

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%, and the schema already documents accepted place formats (state abbreviation or name, city+state, 5-digit ZIP, lower 48 + DC) and the months default of 24 with history starting 2003-12. The description only restates the place granularity, adding no syntax or behavioral detail beyond the schema. 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 first sentence gives a specific resource (diesel and gasoline prices per gallon, fuel taxes, monthly history) and an explicit geographic scope (one US state, city or ZIP), which is enough to tell it apart from rate-focused siblings like get_lane_rate_history. It stops short of naming a sibling such as get_state_fuel_prices or get_fuel_prices to disambiguate, so it is clear but not fully differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description sets the expectation for when results are what the caller asked for: only ten cities have their own survey, anything else falls back to the state average, and each price labels its granularity. It also explicitly excludes station-level use ("area averages, not station prices"). It gives no explicit routing to sibling tools, which keeps it below a 5.

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