Skip to main content
Glama

Get Fuel Prices

get_fuel_prices
Read-onlyIdempotent

Current retail fuel prices for all API-supported countries. Covers gasoline, diesel, LPG, CNG, E85, kerosene and grade variants. Pass country_code to get one country in detail; omit it for a summary list. Use it for the price of petrol, diesel, LPG/autogas/propane or CNG in one country; without a country it gives an overview.

Input Schema

NameRequiredDescriptionDefault
localeNoLanguage the user writes in (en, ru, de, fr, es, pt, tr). Set it on every call: the answer and the interactive card are shown in this language and units; without it the card falls back to the app's interface language.
country_codeNoISO 3166-1 alpha-2 country code, e.g. DE. If omitted, returns all countries.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, openWorldHint=true, so the safety profile is fully covered. The description adds useful behavioral context about the detail-vs-summary shaping of results, but says nothing about freshness of prices, rate limits, or coverage gaps for unsupported countries.

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-loads the resource and coverage, then the mode switch. The third sentence largely restates sentence one in colloquial terms; it aids synonym matching but is redundant on strict reading.

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?

An output schema exists and the safety profile is fully annotation-covered, so the description only needs to convey scope and the filter/no-filter behavior, which it does. Minor gap: no mention of price staleness or unsupported countries.

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%, including a detailed locale description and country_code semantics, so the schema carries the parameter burden. The description only restates the country_code conditional (detail vs list) and ignores locale entirely, adding little beyond what the schema already says.

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?

States specific verb+resource and enumerates the fuel types (gasoline, diesel, LPG, CNG, E85, kerosene), plus distinguishes the two modes (single country detail vs all-country summary). It never names or contrasts with sibling tools like compare_fuel_prices or find_cheapest_fuel, so an agent must infer the boundary itself.

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

Usage Guidelines3/5

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

Gives a clear conditional: pass country_code for one country in detail, omit it for a summary list, and names colloquial synonyms (petrol, autogas/propane) that help query matching. However it offers no guidance against the closely related siblings compare_fuel_prices and find_cheapest_fuel, which is exactly where mis-selection risk is highest.

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.