get_alerts
ChatGPTUse this when the user asks about disruptions, cancellations, engineering works or travel advice — for one train, one station, or a whole country. Filter by trainId or stationId from the other tools, or leave both out for every alert in the country. Returns each alert's severity, the affected train or stations, its text and a link to the affected page on trainsonmap.com.
get_station_board
ChatGPTUse this when the user asks what is leaving a specific station, when the next train is, or whether a departure is delayed. Pass a stationId from search_stations, or a station name as search to resolve the station in this one call. Returns the station's upcoming departures with their expected time, delay in minutes and platform, and a link to the station's page on trainsonmap.com.
get_train
ChatGPTUse this when the user asks where a specific train is, whether it is late, or which stops it has left. Pass a trainId from list_trains, or a train number, line or destination as search to resolve the train in this one call. Returns the train's current position, every stop with its scheduled time, expected time and platform, and a link to its page on trainsonmap.com.
get_train_history
ChatGPTUse this when the user asks how often a train is delayed, how punctual or reliable that service has been over past weeks, or what its average delay is. Returns how many runs were recorded for that train, how many were on time, the average delay and cancellations, plus a per-day breakdown. History only covers the days this market has already captured, so read the recorded dates before quoting a share, and read the tool's error when a train has no recorded runs.
list_countries
ChatGPTUse this first when the user has not named a country, or when another tool needs a valid country slug. Returns each country's slug, timezone, refresh cadence and upstream data licence.
list_trains
ChatGPTUse this to find trains currently running in a country, optionally filtered by a name or number the user gave. Matching is partial, so read the returned ids before quoting one. Returns each train's line, route, current position and a link to its live map page.
search_stations
ChatGPTUse this to turn a station name the user mentions into a station id for get_station_board. Searches stations in one country by name and links each match to its page on trainsonmap.com.
get_alerts
ClaudeUse this when the user asks about disruptions, cancellations, engineering works or travel advice — for one train, one station, or a whole country. Filter by trainId or stationId from the other tools, or leave both out for every alert in the country. Returns each alert's severity, the affected train or stations, its text and a link to the affected page on trainsonmap.com.
get_station_board
ClaudeUse this when the user asks what is leaving a specific station, when the next train is, or whether a departure is delayed. Pass a stationId from search_stations, or a station name as search to resolve the station in this one call. Returns the station's upcoming departures with their expected time, delay in minutes and platform, and a link to the station's page on trainsonmap.com.
get_train
ClaudeUse this when the user asks where a specific train is, whether it is late, or which stops it has left. Pass a trainId from list_trains, or a train number, line or destination as search to resolve the train in this one call. Returns the train's current position, every stop with its scheduled time, expected time and platform, and a link to its page on trainsonmap.com.
get_train_history
ClaudeUse this when the user asks how often a train is delayed, how punctual or reliable that service has been over past weeks, or what its average delay is. Returns how many runs were recorded for that train, how many were on time, the average delay and cancellations, plus a per-day breakdown. History only covers the days this market has already captured, so read the recorded dates before quoting a share, and read the tool's error when a train has no recorded runs.
list_countries
ClaudeUse this first when the user has not named a country, or when another tool needs a valid country slug. Returns each country's slug, timezone, refresh cadence and upstream data licence.
list_trains
ClaudeUse this to find trains currently running in a country, optionally filtered by a name or number the user gave. Matching is partial, so read the returned ids before quoting one. Returns each train's line, route, current position and a link to its live map page.
search_stations
ClaudeUse this to turn a station name the user mentions into a station id for get_station_board. Searches stations in one country by name and links each match to its page on trainsonmap.com.