Skip to main content
Glama
dwain-barnes

fuel-prices-mcp

by dwain-barnes

fuel_area_summary

Read-onlyIdempotent

Get min, median, and max fuel prices for a UK area, plus the cheapest station for each fuel type. Compare local prices against area benchmarks to determine if a quoted price is genuinely good.

Instructions

Per-fuel price statistics for an area: min/median/max and the cheapest station for each fuel. Use it to judge whether a price you've seen is actually good locally.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
locationYesUK postcode, outcode or 'lat,lon'
radius_milesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statsYes
locationYes
attributionNoContains public sector information from the Fuel Finder scheme, licensed under the Open Government Licence v3.0. Prices are reported by forecourts and can occasionally lag or err — treat pump price as final. Spotted a wrong price? Report it: https://www.fuel-finder.service.gov.uk/motorist/price-report
spread_noteYes
radius_milesYes
stations_in_radiusYes
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered by metadata. The description adds value by disclosing the aggregation behavior (statistics per fuel type) and the analytical intent (judging price competitiveness), which goes beyond the structured metadata. It doesn't discuss potential rate limits, data freshness/coverage limitations, or what happens for areas with no stations, but it doesn't contradict annotations.

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 concise sentences with zero filler. The first sentence states the core functionality with specific outputs (min/median/max, cheapest station), and the second adds practical usage guidance. Every sentence earns its place and the description is appropriately front-loaded.

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 doesn't need to explain return values. The description covers the aggregation purpose, the location parameter context, and the analytical use case. Given it's a relatively simple two-parameter read-only aggregation tool with good annotations and output schema, the description is essentially complete; minor gaps around data coverage limitations or radius semantics prevent a 5.

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 50%: the 'location' param is described ('UK postcode, outcode or lat,lon') but 'radius_miles' has no description. The tool description adds some context by indicating the area scope concept, but neither the description nor the schema clarifies radius_miles semantics beyond its default (10) and range. With partial schema coverage, the description partially compensates but doesn't fully cover the undocumented parameter.

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 clearly states the verb+resource+scope: 'Per-fuel price statistics for an area: min/median/max and the cheapest station for each fuel.' It specifies exactly what outputs (statistics and cheapest station) and clearly distinguishes itself from siblings like fuel_find_cheapest (which finds a single cheapest) and fuel_nearby_stations (which lists stations). It even frames its purpose relative to a user need ('judge whether a price you've seen is actually good locally').

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 gives clear usage context ('Use it to judge whether a price you've seen is actually good locally'), which effectively communicates when to use this aggregation tool versus alternatives. It doesn't explicitly state when NOT to use it or name sibling alternatives, but the purpose statement strongly implies the appropriate use case relative to the sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dwain-barnes/fuel-prices-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server