Skip to main content
Glama

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.1/5.0
Behavior5/5

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

The annotations already mark this as read-only and open-world, and the description adds important behavioral detail: bus-stop arrivals are fetched on demand from the official source, and on LIVE failure the agent must use only estimated_eta and label it ESTIMATED, never serving stale cached arrivals. This is consistent with idempotentHint=false.

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

Conciseness4/5

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

The definition is dense but each sentence carries functional content: scope, prerequisite, special source handling, and failure policy. It is front-loaded with the main purpose, though the long final sentence mixes condition and prohibition and is a bit heavier than necessary.

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 tool with no output schema, the description gives useful invocation guidance but leaves gaps: it doesn't define the response shape for the different entity types, clarify whether the LIVE/estimated fallback applies to non-bus-stop entities, or disambiguate against overlapping siblings like parking_availability, next_departures, and beach_conditions.

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?

The single entity_id parameter is already fully documented in the schema, so the baseline is met. The description adds extra semantic detail by highlighting the bus-stop:<code> variant and underlining that the ID must come from resolve_entity. It does not, however, document return fields beyond the estimated_eta mention.

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?

The description clearly states the tool returns the current state of an already-identified entity and enumerates concrete examples: parking spaces, bus arrivals, tram departures, and beach flag. It lacks explicit sibling differentiation, since parking_availability, next_departures, and beach_conditions overlap with these cases, so an agent must infer which entry point to choose.

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 description gives a concrete precondition: requires an entity_id returned by resolve_entity. It also specifies special handling for bus-stop IDs and a fallback rule. However, it does not state when to prefer get_current_state over the specialized sibling tools or when not to use it.

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