Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoBind address ('0.0.0.0' in the image).127.0.0.1
PORTNoListen port.8830
SNCF_API_URLNoSNCF API coverage URL.https://api.sncf.com/v1/coverage/sncf
MCP_AUTH_TOKENNoOptional. If set, requests need 'Authorization: Bearer <token>'.
SNCF_API_TOKENYesRequired SNCF API key.

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": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
find_stationA

Find train stations by name. Returns station ids to use in the other tools.

departuresA

Next departures from a station (id from find_station). Delay, cancellation and skipped stop come from the SNCF GTFS-RT realtime feed (transport.data.gouv.fr, open licence); a train absent from it runs as planned (realtime false). Platform only when the SNCF API provides it. realtime_unavailable is set when the feed is down (planned times only). from_datetime is ISO 8601, Paris time if no offset; defaults to now.

journeysA

Journeys between two stations (ids from find_station), departing after from_datetime (ISO 8601, Paris time if no offset; defaults to now). Leg delays, cancellations and skipped stops come from the SNCF GTFS-RT realtime feed (transport.data.gouv.fr, open licence); realtime_unavailable is set when it is down.

disruptionsA

Current and upcoming disruptions for a station (id from find_station) or a line id (station_id wins when both are given); without arguments, network-wide. Built from the SNCF GTFS-RT service alerts feed (transport.data.gouv.fr, open licence), with the SNCF API as fallback when the feed has nothing. Empty list when there are none; if the feed is down and the API has nothing, a single item with a warning.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 4 tools

Disambiguation4/5

Each tool has a distinct job: find_station resolves ids, departures gives a station's departure board, journeys plans station-to-station trips, and disruptions reports alerts. Departures and journeys both surface realtime train status, so an agent could occasionally hesitate, but the one-station vs two-station framing and the id dependency make the boundary clear.

Naming Consistency3/5

find_station follows a verb_noun pattern while departures, disruptions and journeys are bare nouns, so the set mixes conventions. Names are still readable and each maps obviously to its concept, but there is no predictable pattern to infer a new tool's name from.

Tool Count4/5

Four tools is lean for a transit server but every one earns its place in the core workflow (resolve station → departures/disruptions/journeys). It is on the thin side — no arrivals board or station detail tool — but not unjustifiably so.

Completeness3/5

The core loop of finding stations, checking departures, planning journeys and viewing disruptions is covered, with a sensible id handoff between tools. However, there is no arrivals board, no station/line detail lookup, and no train-level trip inspection, leaving notable gaps for agents needing arrival data or richer line information.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues