Skip to main content
Glama

mcp-server

¿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?

Annotations already provide readOnlyHint and openWorldHint. The description adds meaningful behavioral context by explaining the ETA source priority (official real-time data, falling back to the own estimation engine) and describing the computed outputs. There is no contradiction with the annotations; the real-time nature even helps justify why idempotentHint is false.

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?

The description is two dense sentences with no filler. The first sentence defines the task and the calculation logic; the second states the outputs. Key information is front-loaded and every part earns its place.

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 takes on the burden of explaining return values, and it does so by naming the four decision outcomes, the margin, and the next reachable step. However, it leaves 'siguiente paso alcanzable' somewhat ambiguous and does not describe failure behavior for missing ETA or invalid stops, though UNKNOWN partially covers that.

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 the baseline applies: the schema already documents each parameter with ranges, defaults, and purpose. The description provides a useful global context by linking lat/lng and walk_speed_ms to the walking-time calculation, but it does not add much detail beyond what the schema already conveys.

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 names a specific action ('Decide si el usuario llega a tiempo a un autobús'), a concrete resource (a bus stop in Alicante), and the core method (comparing vehicle ETA with walking time). It also lists the decision outputs (CATCH, TIGHT, MISS, UNKNOWN), which clearly distinguishes it from siblings such as next_departures or find_transit_stop.

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?

The triggering scenario is explicit: use this tool when the user needs to know whether they can reach a bus on time at an Alicante stop. However, it does not discuss alternatives or when not to use it, such as when the user only wants departure times (next_departures), so it stops short of full exclusion guidance.

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

Several tools overlap in purpose: find_transit_stop and resolve_entity both resolve stops, while get_current_state, next_departures, favorite_stop, parking_availability, and beach_conditions all provide state/arrival information in different forms. The detailed descriptions help, but an agent could easily select the wrong tool when asked for simple arrival or status information.

Naming Consistency3/5

All names use snake_case and are readable, but the pattern is mixed: some are verb-led (find_place, get_current_state, resolve_entity), some are noun phrases (beach_conditions, fuel_prices, flight_status), and others are quirky (whats_on, catch_vehicle_decision). This is not chaotic, but it lacks a strong consistent convention.

Tool Count4/5

With 16 tools, the server is just above the ideal 3-15 range, but the broad Alicante information domain justifies the count. Each tool covers a distinct vertical or query path, and the set feels reasonably scoped rather than bloated.

Completeness4/5

The tool surface covers the main Alicante information domains well: transit, beaches, parking, food, places, flights, fuel, weather, and events, plus discovery/resolution helpers. There are minor gaps such as no direct traffic or bike-sharing tool, but agents can work around them via find_place or search_alicante.

Resources