Skip to main content
Glama
pefman
by pefman

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LAPSNoRace length in laps10
PORTNoHTTP port (MCP, spectator WS, static client, /state, /healthz)3080
SEEDNoDeterministic seed (same seed + same join order = same race)42
LOG_FILENoDecision log path (the compose stack uses /logs/race.jsonl, mounted at ./log/)stdout only
MIN_AGENTSNoCars required before the race leaves setup and opens the first strategy window. Set to 1 for solo / public-demo play.4
TICK_DELAY_MSNoWall delay between sim ticks. 250 = 1× real time: 0.25 s sim per 0.25 s wall, so a lap (40 ticks) takes ~10 s of spectator wall time (0 = max speed). Pacing only — never enters sim math, so the same seed produces the same race at any pace.250
WINDOW_SECONDSNoStrategy window length (s)30
MCGP_SEASON_FILENoChampionship season persistence file (log volume, same mount as next_track.json). Delete it + restart to reset the season./logs/season.json
VOTE_WINDOW_SECONDSNoPost-race spectator track-voting window (s). Set to 0 to disable voting entirely (track rotation falls back to deterministic seeding).30
RESULTS_HOLD_SECONDSNoHow long the finished result is held before the next race session opens (persistent server).60
PENDING_GRACE_SECONDSNoA queued agent must re-join_race within this window after the next session opens, or its reserved seat is dropped from the FIFO pending queue.30
REACTIVE_WINDOW_SECONDSNoReactive window length (s); spec band 8–15. Own default — never derived from WINDOW_SECONDS.10
EARLY_CLOSE_STRATEGY_WINDOWSNoClose a strategy window as soon as every active car has a plan and its driver seat is satisfied (autopilot/unclaimed seats never wait out the countdown). 0 holds the full countdown.1

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

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources