Skip to main content
Glama
a-rank

Estonian Transport MCP

by a-rank

get_trip_stops

Retrieves every stop and its arrival/departure times for a given trip ID, letting you trace a bus, tram, or train along its full route. Use trip IDs from get_departures results.

Instructions

Get the full schedule of a specific trip — all stops with arrival/departure times.

Use this to trace a bus/tram/train along its route and see when it arrives at each stop. Trip IDs can be found in get_departures output.

Args: trip_id: GTFS trip ID (e.g. '1:155_20250329_1_1'). Found in get_departures results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
trip_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. The verb 'Get' and the stated return content imply a read-only retrieval, and the description says it returns all stops with arrival/departure times. However, it does not explicitly cover read-only safety, error behavior, timezone semantics, or data freshness.

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 description is front-loaded with the core action and is appropriately sized for a one-parameter retrieval tool. The trip ID source is repeated in both the usage line and the Args section, which is a minor redundancy but does not harm clarity.

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?

An output schema exists, so return-value details need not be fully specified. The description still usefully states that the result contains all stops with arrival/departure times and documents the only parameter's source. It is nearly complete, with only minor gaps around edge cases and error behavior.

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

Parameters5/5

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

The schema has one required parameter with 0% description coverage, so the description must compensate. It does so fully by naming the trip_id parameter, explaining it is a GTFS trip ID, providing an example format, and telling the agent where to find valid values in get_departures results.

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?

States a specific verb and resource: getting the full schedule of a specific trip, including all stops and arrival/departure times. This distinguishes it from general stop or departure tools, though it does not explicitly contrast with siblings like get_route or get_departures beyond noting where trip IDs originate.

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?

Clearly says to use this tool to trace a vehicle along its route and see arrival times at each stop, and explains that trip IDs are found in get_departures output. It gives clear context but does not explicitly state when not to use it or contrast it with other route-planning siblings.

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