Skip to main content
Glama

mcp-server

Estado actual de una entidad de Alicante

get_current_state
Read-only

Estado ahora mismo de una entidad concreta ya identificada: plazas libres de un parking, próximas llegadas de una parada de bus, próximas salidas de una estación de TRAM o bandera de una playa. Requiere el entity_id devuelto por resolve_entity. Con bus-stop:<código> las llegadas se extraen bajo demanda desde la fuente oficial del Ayuntamiento de Alicante / «Alicante se mueve». Si el LIVE no responde, usa únicamente estimated_eta del motor predictivo propio y aclara que es ESTIMATED; nunca uses llegadas cacheadas antiguas como estado actual.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entity_idYesIdentificador `<tipo>:<id>` devuelto por resolve_entity, p. ej. «parking:mercado».

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description reveals the on-demand official data source for bus stops, the fallback to estimated_eta labeled ESTIMATED when LIVE fails, and the explicit prohibition against using old cached arrivals as current state. This is valuable behavioral disclosure.

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?

Three dense sentences with no wasted words; the purpose is front-loaded and each sentence earns its place, including the essential fallback and data-freshness rule.

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 invocation, the description is complete: it gives the required parameter, source, and fallback behavior. However, with no output schema, it doesn't describe the returned structure for non-bus entity types (parking, beach, TRAM), which is a minor gap given the tool's multi-type scope.

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 coverage is 100%, so the baseline is 3, but the description adds meaning: it states that entity_id is exactly what resolve_entity returns and explains the bus-stop:<código> prefix behavior, going beyond the schema's basic identifier format.

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 states a specific verb and resource ('Estado ahora mismo de una entidad concreta ya identificada') and enumerates concrete entity types (parking, bus stop, TRAM, beach). It distinguishes itself from resolve_entity by explicitly requiring the entity_id that resolve_entity returns.

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?

It gives clear context: the tool must be used on an already-identified entity, and it specifies special handling for bus-stop codes. It does not, however, name sibling alternatives like next_departures or parking_availability or state explicit when-not conditions, so it stops short of 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.

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