Skip to main content
Glama

Detalle del servicio de bus

detalle_servicio

Fetches seat map, availability, prices, and boarding/alighting points with schedules and addresses for a specific bus service identified by route, operator, and city IDs.

Instructions

Devuelve el detalle de un servicio de bus concreto: mapa de asientos (número, tipo, precio, disponibilidad, piso) y puntos de embarque y descenso con horarios y direcciones. Requiere routeId, operatorId y los IDs de ciudad que entrega 'buscar_buses'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fechaYesFecha de viaje ISO yyyy-MM-dd (la misma de la búsqueda). Debe ser hoy o futura.
routeIdYesrouteId del bus, obtenido de 'buscar_buses'.
origenIdYesID de la ciudad de origen (el mismo usado en la búsqueda).
destinoIdYesID de la ciudad de destino.
operatorIdYesoperatorId del bus, obtenido de 'buscar_buses'.
max_asientosNoLímite de asientos a listar (por defecto 60).
solo_disponiblesNoSi es true, lista solo asientos disponibles (por defecto true).
Behavior3/5

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

No annotations provided, so description carries full burden. It discloses the return content (seat map, boarding points) but does not mention error handling, side effects, or data freshness. For a read operation, it is adequate but could be more forthcoming.

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 sentences: first explains purpose, second covers prerequisites. No redundant information, front-loaded with purpose. 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?

Given 7 parameters, 5 required, and no output schema, the description covers return structure (seat map fields, boarding points with times/addresses) and prerequisites. Could mention error scenarios or pagination, but overall complete enough for an action.

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% (baseline 3). The description adds value beyond schemas by explaining how to obtain IDs ('obtenido de 'buscar_buses') and constraints on 'fecha' (must be same as search, today or future). Defaults for 'max_asientos' and 'solo_disponibles' are also clarified.

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 clearly states the verb 'Devuelve' and the resource 'detalle de un servicio de bus concreto', specifying that it returns seat map details and boarding/alighting points. This distinguishes it from sibling tools like 'buscar_buses' which is for searching routes.

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?

Explicitly states prerequisites: 'Requiere routeId, operatorId y los IDs de ciudad que entrega 'buscar_buses'. This tells the agent when to use this tool (after searching buses) and implies it is not for initial search. No explicit when-not-to-use, but clear enough.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/paulxcz/redbus-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server