Skip to main content
Glama

UK fuel prices (x402)

UK fuel prices: where to buy

uk_fuel_prices_offer
Read-onlyIdempotent

Find where to buy the latest published UK forecourt fuel prices (petrol and diesel, per station, from the GOV.UK Fuel Finder scheme) for a UK postcode district. Returns the paid x402 address and its price ($0.01 USDC on Base). This tool is free and returns no prices itself: an x402-capable client pays the returned address to get them.

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": {
      "postcode": "<postcode>"
    },
    "name": "uk_fuel_prices_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
postcodeYesUK postcode or district, e.g. LS11, SW1A 1AA

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare readOnly/idempotent/non-destructive; the description adds the operationally critical facts that the call is free, that it yields no price data itself, and that the returned x402 address costs $0.01 USDC on Base. This is exactly the behavioral context an agent needs before deciding to call and how to follow up.

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 sentences, front-loaded with what is found and for what input, then the return value, then the free/payment caveat. Nothing is padded and the most surprising constraint is stated before the agent acts.

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?

For a single-parameter, non-destructive lookup with no output schema, the description covers the input domain, the nature of the returned value, its cost, and the fact that prices are not returned. There is no gap an agent would need to guess at.

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 coverage is 100% and the single postcode parameter already carries an example format (LS11, SW1A 1AA). The description restates 'for a UK postcode district' without adding syntax, normalization, or error-handling detail beyond the schema, so the baseline 3 applies.

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 states a specific verb+resource pair — finding where to buy UK forecourt fuel prices (petrol/diesel, per station, GOV.UK Fuel Finder) — and scopes it to a UK postcode district. It also makes explicit that the tool returns an x402 payment address rather than prices, which pre-empts the most likely misreading an agent could make.

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?

Usage context is clear: call it with a UK postcode or district to obtain a purchase address, and note that the tool itself returns no prices so an x402-capable client must complete payment. There are no sibling tools to route between and no stated when-not-to-use case, which keeps it just 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