Skip to main content
Glama

dato402 - Spain & EU data

Cheapest fuel stations in Spain near coordinates, in a town

spain_fuel_prices_nearby
Read-onlyIdempotent

Cheapest fuel stations in Spain near coordinates, in a town or postal code, by fuel type (petrol 95/98, diesel, LPG, CNG, AdBlue). Official government prices updated every 30 minutes. Road trip planning.

ES: Gasolineras más baratas de España cerca de unas coordenadas, en un municipio o código postal, por tipo de combustible (gasolina 95/98, diésel, GLP, GNC, AdBlue...). Precios oficiales del Ministerio, actualizados cada media hora.

Free tool (no API key, no payment). Official Spanish/EU open data.

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": "spain_fuel_prices_nearby"
  }
}

Input Schema

NameRequiredDescriptionDefault
cpNoCódigo postal (alternativa)
latNoLatitud (con lon)
lonNoLongitud (con lat)
limiteNoResultados (1-50, por defecto 10)
radio_kmNoRadio en km (1-50, por defecto 10)
municipioNoMunicipio (alternativa a lat/lon)
combustibleNogasolina95 (defecto), gasolina98, diesel, diesel_premium, glp, gnc, adblue...

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely new behavioral facts: prices are official Ministry data refreshed every 30 minutes, and the service is free with no API key or payment — both directly relevant to trusting and reusing results. It does not describe the response shape or what happens when no locator is supplied.

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 English section is front-loaded and efficient, leading with the resource and scope. However, the entire text is then repeated verbatim in Spanish, roughly doubling length for no informational gain to an agent that already read the first paragraph.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The definition covers source, freshness, cost, geography and fuel types, and the annotations plus 100%-covered schema carry the rest. The notable gap is that zero parameters are required, yet the description never states the behavior when no lat/lon, municipio, or cp is given (nationwide listing vs. error), which is exactly the ambiguity an agent is likely to hit.

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%, with each of the 7 parameters documented in Spanish, so the baseline is 3. The description restates the fuel-type list and the coordinate-vs-town-vs-postal-code choice but adds no syntax, default, or precedence rules beyond what the schema already says (notably it does not clarify which locator wins if several are supplied, nor that numeric fields are typed as strings).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The title and opening sentence name a specific resource (cheapest fuel stations), a specific geography (Spain), and the three accepted locators (coordinates, municipio, postal code), plus a fuel-type dimension. An agent can immediately tell this apart from siblings like spain_geocode_address or spain_weather_forecast.

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?

"Road trip planning" plus the coordinates/town/postal-code alternatives give a clear picture of when to reach for this tool, and the 'free, no API key' note removes a common adoption question. It stops short of explicit exclusions or naming a sibling to use instead (e.g. geocoding first if you only have an address), so it lands at 4 rather than 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.

Resources