Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AMTRAK_CACHENoSet to `0` to disable the memory cacheenabled
AMTRAK_CHROMENoChrome or Chromium binary. Used only when the browser is onusual Chrome paths
AMTRAK_BROWSERNoSet to `0` or `false` to skip the local Chrome read of `www.amtrak.com`on when Chrome exists
AMTRAK_MIN_INTERVAL_MSNoMinimum gap between Amtrak requests500

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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_train_statusA

Journey for one Amtrak train: every stop in order with scheduled, estimated, and actual times in the station's local zone, delay minutes, track when posted, whether the stop is completed, and where the train is now (last stop, next stop, and map position). Pass the train number and an optional origin service date.

get_train_positionsA

Live Amtrak train positions from the map feed. Filter with a route name (for example Northeast or Acela) and a bounding box (north, south, east, west). Each row includes latitude, longitude, compass heading, and speed in mph.

get_station_boardA

Departures and arrivals at one Amtrak station, with tracks when the status document is readable. Pass a station code or name. An ambiguous name returns candidates and does not pick one. serviceDate is the local calendar date at the station.

get_alertsA

Operational comments from the live fleet and, when the notices page is readable, titles from Amtrak's public alerts list. Filter by station, route, or train number. A blocked notices page does not fail the tool.

lookup_stationA

Look up an Amtrak station by code (BOS, PVD, KIN, NYP) or by name. Returns code, name, city, facility, aliases, coordinates, and time zone when a live train has named the zone. An ambiguous name returns the candidates.

lookup_routeA

Look up an Amtrak route by name, such as Acela, Northeast Regional, or Lake Shore. Returns the map name and the train numbers currently on that route.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 6 tools

Disambiguation5/5

Each tool targets a clearly distinct resource or action: station departures board, single-train journey status, fleet-wide map positions, alerts, station reference lookup, and route reference lookup. The get_ vs lookup_ split is meaningful (live feeds vs reference data) and the descriptions reinforce the boundaries, so an agent can pick correctly.

Naming Consistency5/5

All six tools use a consistent snake_case verb_noun pattern with two clearly principled verb families (get_ for live data, lookup_ for reference data). No casing or style mixing.

Tool Count5/5

Six tools is well-scoped for a read-only Amtrak real-time data server; every tool covers a distinct facet (board, train, positions, alerts, station, route) and none feels redundant or padding.

Completeness4/5

The real-time surface is well covered, but there is no itinerary/trip-planning or schedule search between two stations, and no way to enumerate all stations or all routes (only name-based lookup). These are modest gaps an agent can partly work around via the station board.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues