Skip to main content
Glama

Gasolineras más baratas por zona

find_cheapest_stations

Find low-priced fuel stations in a Spanish province or municipality for a specified fuel type, sorted from lowest to highest price.

Instructions

Devuelve las gasolineras más baratas de una provincia (y opcionalmente un municipio) para un combustible dado, ordenadas de más barata a más cara.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "province": "<province>",
      "fuel": "<fuel>"
    },
    "name": "find_cheapest_stations"
  }
}

Input Schema

NameRequiredDescriptionDefault
fuelYesTipo de combustible: gasolina95, gasolina98, diesel, diesel_premium o glp.
limitNoCuántas estaciones devolver (por defecto 10).
provinceYesProvincia por nombre ("Madrid") o ID de 2 dígitos ("28").
municipalityNoOpcional. Filtra por municipio (p.ej. "Alcalá de Henares").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses the sort order (de más barata a más cara) and that municipality is optional, but says nothing about the default page size, truncation beyond the limit, or result composition.

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

Conciseness5/5

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

A single front-loaded sentence that packs purpose, geographic scope, the optional municipality, the fuel dimension and the ordering, with no filler.

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?

For a simple read-only list tool this covers the essentials, but with no annotations and no output schema the agent still lacks return-shape and pagination context. It is adequate, not complete.

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 fuel values, province name-or-ID formats, municipality and limit default are already documented. The description only restates the optionality of municipality and the fuel scoping, adding no syntax or constraint detail beyond the schema.

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 a specific verb and resource (devolver las gasolineras más baratas) plus the scope (provincia, opcionalmente municipio, para un combustible dado) and the ordering. It implicitly contrasts with find_nearest_stations ('más baratas' vs nearest), though it never names the sibling explicitly.

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?

Usage is only implied: 'cheapest in a province/municipality for a given fuel'. There is no explicit when-to-use vs find_nearest_stations or get_station, and no stated exclusions or preconditions such as needing a valid province ID from list_provinces.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.