transport-gzm
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | DEBUG / INFO / WARNING / ERROR | INFO |
| GZM_CACHE_TTL | No | In-process feed cache TTL in seconds | 10 |
| GZM_MAX_TRIPS | No | Default cap for trip_updates() | 200 |
| GZM_MAX_ALERTS | No | Default cap for alerts() | 100 |
| GZM_USER_AGENT | No | Outgoing UA | transport-gzm-mcp/0.1 (+https://github.com/Wiktor102/transport-gzm) |
| GZM_HTTP_TIMEOUT | No | HTTP timeout in seconds | 10 |
| GZM_MAX_VEHICLES | No | Default cap for vehicles() | 200 |
| GZM_FEED_BASE_URL | No | Override the base URL | https://gtfsrt.transportgzm.pl:5443/gtfsrt/gzm |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| healthA | Check whether the GZM live transit feed is reachable and report how old it is. Call this first if a query seems to return empty results — it can distinguish 'no vehicles right now' from 'upstream is down'. |
| feed_summaryA | Get the current counts of vehicles, trip updates and alerts in the live feed. Cheap; does not return full payloads. |
| vehiclesA | List live vehicle positions (buses, trams, trains) currently running. Use this when the user asks 'what's running', 'where is line X', or 'find a bus to Y'. Returns up to |
| vehicle_by_idA | Get a single vehicle's current position by its vehicle id or label (e.g. fleet number painted on the bus, or the entity id from a previous vehicles() call). |
| trip_updatesA | List live trip updates: scheduled vs predicted arrival times and any stop-skips. Use this for 'is line 6 delayed', 'what time does the next bus arrive', or 'is stop X skipped'. |
| next_arrivalsA | Get upcoming arrivals at a specific stop, across all routes, sorted by predicted arrival time. Equivalent to a digital departure board. Returns the 'minutes_from_now' field already computed for you. |
| alertsA | List active service alerts (planned works, delays, detours, stop closures). Use this for 'is the tram line broken?', 'any works today?', 'why is my bus late?'. |
| alert_by_idA | Get a single alert by entity id (e.g. from a previous alerts() result). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Wiktor102/transport-gzm'
If you have feedback or need assistance with the MCP directory API, please join our Discord server