Skip to main content
Glama

Find Cheapest Fuel

find_cheapest_fuel
Read-onlyIdempotent

Rank countries by the price of a fuel type in a region (or worldwide): the cheapest first, or with order=most_expensive the most expensive first. Useful for route planning. Use it for «where is fuel cheapest» and, with order=most_expensive, «where is fuel the most expensive», in a region or worldwide.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_cheapest_fuel"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many countries to return.
orderNocheapest first (default) or most_expensive first — «where is fuel the most expensive».cheapest
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.
regionNoRegion to search. Default: world (all countries).world
fuel_typeNoFuel type. e.g. gasoline, diesel, lpg, cng, e85.diesel

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
  3. First observed

TDQS

A3.8/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 and openWorldHint=true, so the safety profile is covered. The description adds the ranking semantics (cheapest-first default, reversal via order) and the useful 'route planning' framing, but says nothing about data freshness — a meaningful gap for price rankings that an agent might otherwise assume are current.

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 core ranking behaviour and tight at three clauses. The closing sentence partly repeats the same 'cheapest / most expensive' distinction already made in the first sentence, which is mild redundancy rather than noise.

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?

With an output schema present, the description needn't describe return values, and all five parameters are fully documented in the schema. The description supplies the remaining piece an agent needs — the ranking direction and the region/worldwide scope — so nothing required to invoke it correctly is missing.

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% and every parameter carries an inline description with enums and defaults, so the schema does the heavy lifting. The description only restates the order parameter that is already documented in the schema, adding no format or edge-case detail beyond it — the baseline 3 applies.

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 uses a specific verb and resource — 'Rank countries by the price of a fuel type in a region (or worldwide)' — and states the ordering behaviour both ways. It is clearly distinguishable from siblings like compare_fuel_prices or get_fuel_prices by being a ranking rather than a lookup, though it never names those alternatives to make the distinction explicit.

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?

It gives concrete usage contexts: route planning, 'where is fuel cheapest', and 'where is fuel the most expensive' via order=most_expensive, plus the region-vs-worldwide choice. It stops short of stating when NOT to use it or which sibling to pick instead, so the routing guidance is clear but not exclusionary.

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.