Skip to main content
Glama

Tankerkoenig Stations Nearby

tankerkoenig_stations_nearby
Read-onlyIdempotent

German gas station fuel prices near a location, Benzinpreise Germany, real-time from the official MTS-K feed. Find the cheapest diesel, E5, or E10 near a point in Germany with price in EUR per liter, brand, address, distance, and open status. Coordinates are required: geocode a German city or address first (e.g. via a geocoding tool), Berlin is lat 52.52, lng 13.40. Data covers Germany only. Example: tankerkoenig_stations_nearby({ latitude: 52.52, longitude: 13.40, radius_km: 5, fuel: "diesel", sort: "price" })

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",
      "sort": "price",
      "latitude": 52.52,
      "longitude": 13.4,
      "radius_km": 5
    },
    "name": "tankerkoenig_stations_nearby"
  }
}

Input Schema

NameRequiredDescriptionDefault
fuelNoFuel type: "e5" (Super 95), "e10" (Super E10), "diesel", or "all" for all three prices per station (default "all")
sortNoSort order: "distance" (default) or "price" (cheapest first). Sorting by price requires a single fuel type (e5, e10, or diesel), the API rejects sort by price when fuel is "all"
_apiKeyNoOptional: your own free Tankerkoenig API key (creativecommons.tankerkoenig.de)
latitudeYesLatitude of the search center (Germany), e.g. 52.52 for Berlin
longitudeYesLongitude of the search center (Germany), e.g. 13.40 for Berlin
open_onlyNoReturn only stations that are currently open (default false)
radius_kmNoSearch radius in kilometers (default 5, maximum 25, larger values are clamped)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / radius_km / description
      Previous value: -"Search radius in kilometers (default 5, maximum 25 — larger values are clamped)"New value: +"Search radius in kilometers (default 5, maximum 25, larger values are clamped)"
  2. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "_apiKey": "your-tankerkoenig-api-key",
      -    "fuel": "diesel",
      -    "latitude": 52.52,
      -    "longitude": 13.4,
      -    "radius_km": 5,
      -    "sort": "price"
      -  },
      -  {
      -    "_apiKey": "your-tankerkoenig-api-key",
      -    "fuel": "e5",
      -    "latitude": 48.13,
      -    "longitude": 11.58,
      -    "open_only": true,
      -    "radius_km": 10,
      -    "sort": "distance"
      -  }
      -]New value: +[
      +  {
      +    "fuel": "diesel",
      +    "latitude": 52.52,
      +    "longitude": 13.4,
      +    "radius_km": 5,
      +    "sort": "price"
      +  },
      +  {
      +    "fuel": "e5",
      +    "latitude": 48.13,
      +    "longitude": 11.58,
      +    "open_only": true,
      +    "radius_km": 10,
      +    "sort": "distance"
      +  }
      +]
  3. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-tankerkoenig-api-key",
      +    "fuel": "diesel",
      +    "latitude": 52.52,
      +    "longitude": 13.4,
      +    "radius_km": 5,
      +    "sort": "price"
      +  },
      +  {
      +    "_apiKey": "your-tankerkoenig-api-key",
      +    "fuel": "e5",
      +    "latitude": 48.13,
      +    "longitude": 11.58,
      +    "open_only": true,
      +    "radius_km": 10,
      +    "sort": "distance"
      +  }
      +]
  4. 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 readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: data comes real-time from the official MTS-K feed, prices are in EUR per liter, coverage is Germany-only, and results include open status. It does not discuss rate limits, API-key throttling behavior, or what an empty/error response looks like, so it adds value but not a rich behavioral picture.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core information is front-loaded, but the opening is padded with SEO-style keyword duplication ("German gas station fuel prices near a location, Benzinpreise Germany") and the example call largely duplicates the two examples already embedded in the input schema. Trimming those would leave a tighter, more scannable definition.

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 seven parameters, no output schema, and full schema coverage, the description fills the main remaining gaps by enumerating the returned fields (price, brand, address, distance, open status) and the data source's freshness and geographic limits. The only notable omissions are the optional _apiKey handling and rate-limit behavior, which are minor for a read-only lookup tool.

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 the schema already documents every parameter including the enum meanings, defaults, and the 25 km radius clamp. The description reinforces fuel choice and output units but adds essentially no syntax or format detail beyond the schema; the Berlin coordinate it cites is already in the latitude/longitude descriptions. 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 states a specific resource and action: finding German gas stations with real-time fuel prices (diesel, E5, E10) near a coordinate, including EUR/liter, brand, address, distance, and open status. It is clearly a proximity search rather than a price-history or detail lookup, though it never names the sibling tools (tankerkoenig_prices, tankerkoenig_station_details) that a reader might confuse it with.

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 preconditions and workflow guidance: coordinates are required, geocode a German city first, data covers Germany only, and it supplies a Berlin coordinate fallback plus a worked example call. It stops short of saying when to prefer this over the sibling price/detail tools or when-not to use it.

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.