Skip to main content
Glama

Gasolineras baratas cerca de un punto

find_nearest_stations

Locate fuel stations within a radius around coordinates, ranked by selected fuel price with distance in kilometers for quick comparison.

Instructions

Dadas unas coordenadas (latitud/longitud), devuelve las gasolineras dentro de un radio, ordenadas por precio del combustible indicado. Incluye la distancia en km.

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": {
      "latitude": "<latitude>",
      "longitude": "<longitude>",
      "fuel": "<fuel>"
    },
    "name": "find_nearest_stations"
  }
}

Input Schema

NameRequiredDescriptionDefault
fuelYesTipo de combustible: gasolina95, gasolina98, diesel, diesel_premium o glp.
limitNoCuántas devolver (por defecto 10).
latitudeYesLatitud en grados decimales (p.ej. 40.4168).
provinceNoOpcional pero recomendado: acota la búsqueda a una provincia y la hace más rápida.
longitudeYesLongitud en grados decimales (p.ej. -3.7038).
radius_kmNoRadio de búsqueda en km (por defecto 10).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations at all, the description carries the full burden. It does disclose two useful behaviors beyond the schema — results are sorted by the selected fuel price and each result carries a km distance — but says nothing about read-only nature, data source/latency, empty-result behavior, or how results are truncated.

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?

Two compact sentences, front-loaded with the input requirement and followed by the output guarantee. Nothing is redundant and no sentence could be removed without losing information.

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 read-only geo search with full schema coverage and no output schema, the description covers inputs, ordering and the distance field well enough to call it correctly. It could still note the default ordering fallback or what a station record contains, but the remaining gaps are minor.

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%, so fuel, radius, limit and province are already documented in the schema; the description only ties fuel to the sort order and radius to the geographic filter. Baseline 3 is appropriate since the schema does the heavy lifting.

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 ("devuelve las gasolineras") plus the operative constraints: coordinates, radius, ordering by the indicated fuel price, and included distance. That is enough to distinguish it from get_station and list_provinces, but it never explicitly contrasts with the sibling find_cheapest_stations, which is the closest overlap.

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 by the required inputs ("Dadas unas coordenadas"): an agent can infer it is the geo-radius lookup, but there is no explicit when-to-use versus find_cheapest_stations or get_station, and no note on prerequisites or failure conditions.

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