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.

Source of truth: official Spanish/EU open data. Free via MCP up to 20 calls/day; unlimited via the x402 pay-per-call endpoint https://dato402.com/api/viajes/gasolineras ($0.002 USDC).

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

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered; the description adds real operational context beyond that: freshness (updated every 30 minutes), provenance ('official government prices', 'official Spanish/EU open data'), and a rate limit with a paid fallback. It does not state the result ordering details or failure modes when no location parameter 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 sentence and the source/pricing note are front-loaded and useful, but the full Spanish translation roughly doubles the length without adding new information for an agent that already reads the English line. The pricing/paywall sentence is relevant but peripheral to invocation.

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?

For a 7-parameter read-only lookup with no output schema, the description covers source, freshness, cost, and filtering dimensions adequately. The one gap is that all parameters are optional, and the description never says what happens if no location is provided, leaving the zero-argument case undefined.

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 defaults and alternatives. The description restates the fuel-type set and the location alternatives but adds no format, default or edge-case detail beyond what the schema fields say, which is the expected baseline.

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?

States a specific resource (fuel stations in Spain), a ranking criterion (cheapest), and the three location modes (coordinates, town, postal code) plus fuel types. No sibling in the catalog touches fuel prices, so there is nothing to disambiguate against, and an agent can tell immediately what it retrieves.

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?

Gives a concrete usage context ('Road trip planning') and enumerates the alternative ways to specify location, plus a cost-based guideline: free via MCP up to 20 calls/day, otherwise the x402 pay-per-call endpoint. It stops short of explicit when-not conditions or naming any alternative tool, which keeps it below a 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