sar-train-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_stationsA | List the Haramain High-Speed Railway (HHR) stations and their ids. The HHR line runs Makkah <-> Jeddah (two stations) <-> KAEC <-> Madinah.
Use these names or ids with |
| search_trainsA | Search Haramain (HHR) train schedules between two stations on a date. Args: from_station: Origin station name or id (e.g. "Makkah", "Jeddah", 1). Plain "Jeddah" resolves to Al-Sulimaniyah; use "Jeddah Airport" for KAIA. to_station: Destination station name or id (e.g. "Madinah", 5). date: Travel date in ISO format YYYY-MM-DD (e.g. "2026-06-30"). Returns a list of trains with departure/arrival datetimes, duration, number of stops, and the intermediate stations. Fares are not included (HHR does not expose pricing on the public timetable). |
| search_intercityA | Search SAR intercity trains (East + North lines) WITH fares on a date. Covers the non-Haramain network: the East line (Riyadh <-> Abqaiq, Hofuf,
Dammam) and the North line (Riyadh <-> Majmaah, Qassim, Hail, Al-Jouf,
Qurayyat). Use this instead of Args: from_station: Origin name or code (e.g. "Riyadh", "RYD", "Dammam"). to_station: Destination name or code (e.g. "Dammam", "DMM", "Hofuf"). date: Travel date, ISO format YYYY-MM-DD. Returns each train with departure/arrival time, duration, stops, and Economy + Business fares in SAR. Rendered from the public booking results page via a headless browser (~5-10s). An empty list means SAR is not selling that route on that date (the North line currently shows no bookable service; the East line runs daily). |
| list_intercity_stationsA | List SAR intercity stations (East + North lines) and their codes. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool targets a distinct network and operation: two list stations (intercity vs HHR) and two search trains (intercity with fares vs HHR without fares). No overlap or ambiguity.
The naming pattern is mixed: 'list_intercity_stations' vs 'list_stations' and 'search_intercity' vs 'search_trains' use different qualifiers and resource names. While readable, the inconsistency could confuse an agent.
Four tools cover the core needs for two railway networks: station listings and train searches. No excessive or missing tools for the stated purpose.
The tool set covers listing stations and searching schedules for both networks. The only notable gap is HHR fares, but this is a data-source limitation, not an oversight. No dead ends.