Skip to main content
Glama

¿Me da tiempo a coger el bus?

catch_vehicle_decision
Read-only

Decide si el usuario llega a tiempo a un autobús en una parada de Alicante cruzando el ETA del vehículo (tiempo real de la fuente oficial o, en su defecto, la estimación del motor propio) con el tiempo a pie desde sus coordenadas. Devuelve decision CATCH, TIGHT, MISS o UNKNOWN, el margen en segundos y el siguiente paso alcanzable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latYesLatitud actual del usuario.
lngYesLongitud actual del usuario.
lineNoLínea concreta de bus.
stopYesCódigo oficial de parada o su nombre. Resuélvelo con find_transit_stop.
walk_speed_msNoVelocidad de marcha en m/s. Por defecto 1.35.
buffer_secondsNoColchón de seguridad en segundos. Por defecto 30.

TDQS

A4.2/5.0
Behavior4/5

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

The description discloses the decision logic and data-source fallback: it uses the official real-time ETA or, failing that, the engine's own estimate, and compares it with walking time from the user's coordinates. It also names the output categories (CATCH, TIGHT, MISS, UNKNOWN), margin, and next step, adding significant value beyond the readOnly/openWorld annotations. There is no contradiction with annotations.

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 dense sentences carry the purpose, method, data-source fallback, and output contract with no filler. The most important action and decision outcome are front-loaded, and every clause contributes to agent understanding.

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 no output schema, the description responsibly enumerates the main return values: decision, margin in seconds, and next reachable step. It could add exact response field names and edge-case behavior, but for a tool with six well-documented parameters and clear logic, it is largely complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3, but the description adds semantic context by explaining how lat/lng drive walking time and how the ETA interacts with the stop and line. It clarifies the relationship among parameters rather than merely restating their schema descriptions.

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 description uses a specific verb ('Decide si el usuario llega a tiempo a un autobús'), identifies the resource (a bus stop in Alicante), and explains the core comparison between vehicle ETA and walking time. This functionally distinguishes it from siblings like next_departures and find_transit_stop, which list or resolve stops rather than produce a catch/no-catch decision.

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?

The use case is implied by the title ('¿Me da tiempo a coger el bus?') and the opening verb, and the schema references find_transit_stop for resolving stops. However, the description does not explicitly state when to prefer this tool over next_departures or other sibling tools, nor does it mention any exclusions or fallback conditions.

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.

TDQS

A3.7/5.0
Disambiguation3/5

Most tools map cleanly to distinct domains (beach, fuel, weather, events, flights), but several transit tools overlap: find_transit_stop, favorite_stop, next_departures, get_current_state, and resolve_entity all deal with finding stops/stations and/or retrieving arrivals. Descriptions provide flow hints, so an agent can often disambiguate, but the boundaries are not crisp.

Naming Consistency3/5

Names mix verb-led patterns (find_*, resolve_entity, get_current_state) with noun-led patterns (beach_conditions, fuel_prices, parking_availability) and oddities like favorite_stop and whats_on. The style is readable and mostly snake_case, but there is no consistent verb_noun convention.

Tool Count3/5

16 tools is at the heavy end, and the travel-info surface could be consolidated (e.g., favorite_stop vs next_departures vs get_current_state). That said, Alicante's broad scope—transit, parking, beaches, food, weather, fuel, flights, events—makes the count defensible.

Completeness4/5

The set gives agents discovery (search_alicante, discover_capabilities), entity resolution (resolve_entity), and live/catalog state across transport, parking, beaches, weather, fuel, food, POIs, and events. Minor gaps exist (no general route planning, no editing/persistence beyond 'favorite'), but core informational workflows are well covered.

Resources