Skip to main content
Glama

Compare Fuel Prices

compare_fuel_prices
Read-onlyIdempotent

Where is fuel cheapest or most expensive in Europe, every country ranked by pump price for one fuel in the same week. Answers "which European country has the cheapest diesel", "where is petrol most expensive in Europe", "is it cheaper to fill up in Poland or Germany", and cross-border questions before a drive. Returns each country with its price per litre including and excluding tax and the tax share, so a difference can be attributed to the tax or to the underlying fuel. Sourced from the European Commission's Weekly Oil Bulletin, which EU Member States report into weekly. Fuels: petrol_95, diesel, lpg, heating_oil, fuel_oil_low_sulphur, fuel_oil_high_sulphur.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "fuel": "diesel",
      "limit": 5,
      "order": "cheapest"
    },
    "name": "compare_fuel_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
fuelNoWhich fuel to rank on: petrol (default), diesel, lpg, heating_oil.
limitNoHow many countries to return (default 10, max 30).
orderNo"cheapest" (default) or "most_expensive".
countriesNoOptional shortlist of country names or codes to compare, e.g. ["Poland","Germany","Czechia"]. Omit to rank all 28.
week_endingNoOptional YYYY-MM-DD to compare a past week instead of the latest.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds genuinely useful context beyond that: the European Commission Weekly Oil Bulletin as source and its weekly reporting cadence, which tells the agent how fresh the data is. It does not mention rate limits, latency, or what happens for countries that did not report a given week.

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?

Front-loaded with the ranking premise, then return fields, then source, then fuel keys — a sensible order. The three quoted example questions are somewhat redundant with each other and could be compressed, but nothing is misleading or filler-heavy.

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 five optional params, a 100%-covered schema and no output schema, the description carries the return-value burden well: price per litre with and without tax plus tax share, and the attribution rationale. The gaps are the currency of prices and the interaction between countries, limit and order when a shortlist is supplied.

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%, so the baseline is 3. The description does add meaning by enumerating six fuel keys (petrol_95, lpg, heating_oil, fuel_oil_low_sulphur, fuel_oil_high_sulphur), but these diverge from the schema, which lists 'petrol (default), diesel, lpg, heating_oil' — the 'petrol' vs 'petrol_95' mismatch is a real ambiguity rather than pure added value. It also does not state the currency of the returned prices.

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 opens with a specific verb and scope: countries ranked by pump price for one fuel in the same week. It is immediately clear this is a cross-country ranking tool rather than a single-price lookup, though it never names fuel_price or fuel_price_history to draw an explicit boundary against them.

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?

Concrete usage contexts are given — cheapest/most expensive country questions and pre-drive cross-border comparisons — which is exactly the kind of when-to-use signal an agent needs. There are no exclusions or explicit alternative-tool routing, so it stops short of 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.