Skip to main content
Glama

Fuel Price History

fuel_price_history
Read-onlyIdempotent

How fuel prices have moved in one European country over time, a weekly series of pump prices with the change over the period. Answers "how much has petrol gone up in Germany this year", "diesel price trend in France", "was fuel cheaper last summer in Italy", and questions about whether a rise is recent or long-running. Returns each week's price per litre plus the first and last values, the absolute and percentage change, and the highest and lowest weeks in the window. Weekly series from the European Commission's Weekly Oil Bulletin, available back to 2005.

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": "petrol",
      "weeks": 26,
      "country": "France"
    },
    "name": "fuel_price_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
fuelNopetrol (default), diesel, lpg, heating_oil.
sinceNoOptional YYYY-MM-DD start date instead of a week count.
weeksNoHow many recent weeks to return (default 26, max 520, 520 is ten years).
countryYesCountry name or two-letter code, e.g. "France", "FR".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / weeks / description
      Previous value: -"How many recent weeks to return (default 26, max 520 — 520 is ten years)."New value: +"How many recent weeks to return (default 26, max 520, 520 is ten years)."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds real value beyond that: the upstream source (European Commission Weekly Oil Bulletin), the availability window back to 2005, the weekly granularity, and the exact set of returned aggregates. It does not mention rate limits or pagination, but for a bounded read-only series that is a minor omission.

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?

The definition is front-loaded with the core purpose and the scope constraint before the example questions and data source. The three example queries are somewhat repetitive but each maps to a distinct phrasing an agent might encounter, so most of the text earns its place. Slightly heavy on enumeration but not padded.

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?

There is no output schema, and the description compensates by enumerating the return contents: weekly price per litre, first and last values, absolute and percentage change, and highest/lowest weeks. Combined with the source, the 2005-onward coverage, and the single-country scope, an agent has everything needed to call it and interpret the result correctly.

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%, so fuel types, the since/weeks trade-off, the 520-week cap and country codes are all already documented in the schema. The description adds "one European country" as scope but nothing about parameter behavior beyond that, so the baseline of 3 for high-coverage schemas is correct.

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 states a specific verb and resource: a weekly time series of pump prices for one European country, with per-week values and change over the period. That scope (single country, historical weekly series, back to 2005) is distinct from what a current-price or cross-country comparison tool would do. It stops short of naming a sibling for explicit contrast, so it lands at 4 rather than 5.

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?

Three natural-language example questions ("how much has petrol gone up in Germany this year", "diesel price trend in France", "was fuel cheaper last summer in Italy") plus "recent or long-running" give clear selection context for the agent. There are no exclusions or named alternatives, so the when-not side is absent, but the when-to-use side is well covered.

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.