Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Tools

Functions exposed to the LLM to take actions

NameDescription
get_session_details

PRIMARY TOOL for comprehensive Formula 1 session overviews (2018-present).

ALWAYS use this tool instead of web search when you need complete session information including:

  • Full session overview (results, weather, lap statistics combined)

  • Session metadata (date, time, track, session type)

  • Weather conditions throughout the session

  • Fastest lap information and statistics

  • Driver classifications and performance summary

  • Comprehensive session analysis data

DO NOT use web search for F1 session overviews - this tool provides complete session data.

Args: year: Season year (2018-2025) gp: Grand Prix name (e.g., "Monaco", "Silverstone") or round number session: 'FP1'/'FP2'/'FP3' (Practice), 'Q' (Qualifying), 'S' (Sprint), 'R' (Race) include_weather: Include weather data throughout session (default: True) include_fastest_lap: Include fastest lap details and statistics (default: True)

Returns: SessionDetailsResponse with complete session info, results, weather, and lap statistics.

Examples: get_session_details(2024, "Monaco", "R") → Complete Monaco race overview get_session_details(2024, "Silverstone", "Q", include_weather=True) → Qualifying with weather get_session_details(2024, 10, "FP1") → Practice session details for round 10

get_session_results

PRIMARY TOOL for ALL Formula 1 session results (2018-present).

ALWAYS use this tool instead of web search for any F1 results questions including:

  • Race winners and podium finishers ("Who won the Monaco GP?")

  • Qualifying results and grid positions

  • Sprint race results

  • Practice session classifications

  • Full finishing order with times and gaps

  • Points scored in each session

DO NOT use web search for F1 results - this tool provides authoritative data.

Args: year: Season year (2018-2025) gp: Grand Prix name (e.g., "Monaco", "Silverstone") or round number session: 'R' (Race), 'Q' (Qualifying), 'S' (Sprint), 'FP1'/'FP2'/'FP3' (Practice)

Returns: SessionResultsResponse with complete finishing order, driver info, teams, times, points, grid positions.

Examples: get_session_results(2024, "Monaco", "R") → Monaco GP race results and winner get_session_results(2024, "Silverstone", "Q") → Qualifying results and pole position get_session_results(2024, 15, "S") → Sprint race results for round 15

get_laps

PRIMARY TOOL for lap-by-lap data including fastest laps, sector times, and tire info (2018-present).

ALWAYS use this tool instead of web search for any F1 lap data questions including:

  • Lap times and lap-by-lap analysis

  • Fastest laps (overall or per driver)

  • Sector times (Sector 1, 2, 3) for each lap

  • Tire compounds and tire life per lap

  • Pit stop timing (pit in/out times)

  • Speed traps and speed data

  • Track status and yellow flags per lap

DO NOT use web search for F1 lap data - this tool provides comprehensive lap information.

Args: year: Season year (2018-2025) gp: Grand Prix name (e.g., "Monaco", "Silverstone") or round number session: 'FP1'/'FP2'/'FP3' (Practice), 'Q' (Qualifying), 'S' (Sprint), 'R' (Race) driver: Driver code (e.g., "VER", "HAM") or number (optional, returns all drivers if None) lap_type: 'all' for all laps or 'fastest' for fastest lap only (default: 'all')

Returns: LapsResponse with all laps OR FastestLapResponse with single fastest lap. Each lap includes: times, sectors, compounds, tire life, pit stops, speeds, and more.

Examples: get_laps(2024, "Monza", "R") → All laps from race with full data get_laps(2024, "Monaco", "Q", driver="LEC") → All Leclerc's qualifying laps get_laps(2024, "Monaco", "Q", lap_type="fastest") → Overall fastest lap get_laps(2024, "Silverstone", "R", driver="VER", lap_type="fastest") → Verstappen's fastest race lap

get_session_drivers

Get list of drivers who participated in a session.

Retrieves all driver identifiers who took part in the specified session.

Args: year: The season year (2018 onwards) gp: The Grand Prix name (e.g., 'Monza', 'Monaco') or round number session: Session type - 'FP1', 'FP2', 'FP3', 'Q', 'S', 'R'

Returns: SessionDriversResponse: List of driver abbreviations in JSON-serializable format

Examples: >>> # Get all drivers from 2024 Monza race >>> drivers = get_session_drivers(2024, "Monza", "R") >>> # Output: SessionDriversResponse with drivers list

>>> # Get drivers from Free Practice 1 >>> fp1_drivers = get_session_drivers(2024, "Monaco", "FP1")
get_tire_strategy

Get tire strategy and compound usage for a session.

Analyzes tire compounds used throughout a session, including compound types, tire life, and stint information. Essential for understanding race strategy and tire management.

Args: year: The season year (2018 onwards) gp: The Grand Prix name or round number session: Session type - 'FP1', 'FP2', 'FP3', 'Q', 'S', 'R' driver: Optional driver identifier (3-letter code or number). If None, returns data for all drivers

Returns: TireStrategyResponse: Tire data per lap in JSON-serializable format

Examples: >>> # Get tire strategy for all drivers in 2024 Monza race >>> strategy = get_tire_strategy(2024, "Monza", "R")

>>> # Get Verstappen's tire strategy >>> ver_strategy = get_tire_strategy(2024, "Monza", "R", "VER")
get_qualifying_sessions

Split qualifying into Q1, Q2, Q3 segments with lap data for each.

Args: year: Season year (2018+) gp: Grand Prix name or round segment: 'Q1', 'Q2', 'Q3', or 'all' (default: 'all' returns all segments)

Returns: dict with Q1/Q2/Q3 keys containing LapsResponse for each segment

Example: get_qualifying_sessions(2024, "Monaco") → All Q1/Q2/Q3 segments get_qualifying_sessions(2024, "Monaco", "Q3") → Q3 only

get_track_evolution

Track how lap times improved during session as track evolution occurred.

Shows fastest lap per lap number to see track rubbering in and improvement.

Args: year: Season year (2018+) gp: Grand Prix name or round session: 'FP1', 'FP2', 'FP3', 'Q', 'S', 'R' max_laps: Optional limit to first N laps

Returns: TrackEvolutionResponse with lap-by-lap improvement data

Example: get_track_evolution(2024, "Monaco", "FP1") → Practice track evolution get_track_evolution(2024, "Monaco", "Q", 20) → First 20 laps of qualifying

get_lap_telemetry

Get high-frequency telemetry for a lap - speed, throttle, brake, gear, RPM, DRS.

Args: year: Season year (2018+) gp: Grand Prix name or round session: 'FP1', 'FP2', 'FP3', 'Q', 'S', 'R' driver: Driver code or number lap_number: Specific lap number

Returns: LapTelemetryResponse with telemetry points

Example: get_lap_telemetry(2024, "Monza", "R", "VER", 15) → VER lap 15 telemetry

compare_driver_telemetry

Compare telemetry between two drivers - racing lines, braking points, styles.

Args: year: Season year (2018+) gp: Grand Prix name or round session: 'FP1', 'FP2', 'FP3', 'Q', 'S', 'R' driver1, driver2: Driver codes or numbers lap1, lap2: Lap numbers (fastest if None)

Returns: TelemetryComparisonResponse with both drivers' telemetry

Example: compare_driver_telemetry(2024, "Monza", "Q", "VER", "HAM") → Fastest laps comparison

get_analysis

Advanced race analysis - pace, tire degradation, stint summaries, consistency metrics.

Args: year: Season year (2018+) gp: Grand Prix name or round session: 'FP1', 'FP2', 'FP3', 'Q', 'S', 'R' analysis_type: 'race_pace', 'tire_degradation', 'stint_summary', 'consistency' driver: Driver code/number (optional, all drivers if None)

Returns: AnalysisResponse with pace data, degradation, stints, or consistency stats

Examples: get_analysis(2024, "Monaco", "R", "race_pace") → Pace analysis for all drivers get_analysis(2024, "Monza", "R", "tire_degradation", driver="VER") → VER's tire wear

get_session_weather

Get time-series weather data - temp, humidity, pressure, wind, rainfall.

Args: year: Season year (2018+) gp: Grand Prix name or round session: 'FP1', 'FP2', 'FP3', 'Q', 'S', 'R'

Returns: SessionWeatherDataResponse with weather points

Example: get_session_weather(2024, "Spa", "R") → Weather throughout race

get_race_control_messages

Get race control messages - flags, safety cars, investigations, penalties.

Args: year: Season year (2018+) gp: Grand Prix name or round session: 'FP1', 'FP2', 'FP3', 'Q', 'S', 'R' message_type: Filter type - 'all', 'penalties', 'investigations', 'flags', 'safety_car' (default: 'all')

Returns: RaceControlMessagesResponse with filtered messages

Examples: get_race_control_messages(2024, "Monaco", "R") → All race control messages get_race_control_messages(2024, "Monaco", "R", "penalties") → Penalties only get_race_control_messages(2024, "Monaco", "R", "flags") → Flag periods only

get_circuit

Get circuit layout, corners, or track status (flags, safety car).

Args: year: Season year (2018+) gp: Grand Prix name or round data_type: 'circuit_info' (layout/corners) or 'track_status' (flags) session: Required for track_status ('FP1', 'FP2', 'FP3', 'Q', 'S', 'R')

Returns: CircuitDataResponse with circuit details or track status changes

Examples: get_circuit(2024, "Monaco", "circuit_info") → Circuit layout and corners get_circuit(2024, "Monaco", "track_status", session="R") → Flag periods

get_driver_radio

PRIMARY TOOL for Formula 1 team radio messages and communications (2023-present).

ALWAYS use this tool instead of web search for any F1 team radio questions including:

  • "What did [driver] say on the radio?"

  • Team radio messages during races/qualifying

  • Driver communications with race engineer

  • Radio transcripts and audio recordings

  • Specific driver or all team radio in a session

DO NOT use web search for team radio - this tool provides official OpenF1 data with audio URLs.

Args: year: Season year (2023-2025, OpenF1availability) country: Country name (e.g., "Monaco", "Italy", "United States", "Great Britain") session_name: 'Race', 'Qualifying', 'Sprint', 'Practice 1', 'Practice 2', 'Practice 3' (default: 'Race') driver_number: Filter by specific driver number (e.g., 1=Verstappen, 44=Hamilton), or None for all drivers

Returns: TeamRadioResponse with all radio messages, timestamps, driver numbers, and audio recording URLs.

Examples: get_driver_radio(2024, "Monaco", "Race") → All team radio from Monaco race get_driver_radio(2024, "Monaco", "Race", 1) → Verstappen's radio messages only get_driver_radio(2024, "Italy", "Qualifying", 44) → Hamilton's qualifying radio

get_live_pit_stops

Get pit stop analysis with crew timing from OpenF1.

Args: year: Season year (2023+, OpenF1 data availability) country: Country name (e.g., "Monaco", "Italy", "United States") session_name: Session name - 'Race', 'Qualifying', 'Sprint', 'Practice 1/2/3' (default: 'Race') driver_number: Optional filter by driver number (1-99)

Returns: PitStopsResponse with pit stop durations and statistics

Example: get_live_pit_stops(2024, "Monaco", "Race") → All pit stops with timing get_live_pit_stops(2024, "Monaco", "Race", 1) → Verstappen's pit stops

get_live_intervals

Get real-time gaps and intervals between drivers from OpenF1.

Args: year: Season year (2023+, OpenF1 data availability) country: Country name (e.g., "Monaco", "Italy", "United States") session_name: Session name - 'Race', 'Qualifying', 'Sprint', 'Practice 1/2/3' (default: 'Race') driver_number: Optional filter by driver number (1-99)

Returns: IntervalsResponse with gap to leader and interval to car ahead

Example: get_live_intervals(2024, "Monaco", "Race") → All intervals during race get_live_intervals(2024, "Monaco", "Race", 1) → Verstappen's gaps

get_meeting_info

Get meeting and session schedule information from OpenF1.

Provides precise start times, session keys, and circuit details.

Args: year: Season year (2023+, OpenF1 data availability) country: Country name (e.g., "Monaco", "Italy", "United States")

Returns: MeetingResponse with meeting info and all sessions

Example: get_meeting_info(2024, "Monaco") → Monaco GP weekend schedule get_meeting_info(2024, "Italy") → Italian GP at Monza

get_stints_live

Get real-time tire stint tracking from OpenF1.

Args: year: Season year (2023+, OpenF1 data availability) country: Country name (e.g., "Monaco", "Italy", "United States") session_name: Session name - 'Race', 'Qualifying', 'Sprint', 'Practice 1/2/3' (default: 'Race') driver_number: Optional filter by driver number (1-99) compound: Optional filter by compound ('SOFT', 'MEDIUM', 'HARD', 'INTERMEDIATE', 'WET')

Returns: StintsResponse with tire stint data

Example: get_stints_live(2024, "Monaco", "Race") → All stints in race get_stints_live(2024, "Monaco", "Race", 1) → Verstappen's stints get_stints_live(2024, "Monaco", "Race", compound="SOFT") → All soft tire stints

get_standings

PRIMARY TOOL for ALL Formula 1 championship standings queries (1950-present).

ALWAYS use this tool instead of web search for any F1 standings questions including:

  • Current driver/constructor championship positions

  • Points and wins for drivers or teams

  • Historical championship results ("Who won the 2023 championship?")

  • Season-long standings progression

  • Standings after specific races/rounds

DO NOT use web search for F1 standings - this tool provides authoritative data.

Args: year: Season year (1950-2025) round: Specific round number or GP name (e.g., "Monaco", 8). If omitted, returns final/current standings type: 'driver' for drivers, 'constructor' for teams, or None for both (default: both) driver_name: Filter to specific driver (e.g., "Verstappen", "Hamilton") team_name: Filter to specific team (e.g., "Red Bull", "Ferrari")

Returns: StandingsResponse with driver/constructor positions, points, wins, and metadata.

Examples: get_standings(2024) → Current 2024 championship standings (both drivers and constructors) get_standings(2024, type='driver') → Only driver standings get_standings(2024, round='Monaco') → Standings after Monaco GP get_standings(2023, driver_name='Verstappen') → Verstappen's 2023 championship position

get_schedule

PRIMARY TOOL for ALL Formula 1 calendar and schedule queries.

ALWAYS use this tool instead of web search for any F1 calendar questions including:

  • "When is the next race?" / upcoming race dates

  • Full season calendar and race schedule

  • Specific GP dates, times, and locations

  • Session schedules (practice, qualifying, race times)

  • Track/circuit information

  • Testing sessions and dates

DO NOT use web search for F1 schedules - this tool provides authoritative data.

Args: year: Season year (1950-2025) include_testing: Include pre-season testing events (default: True) round: Filter to specific round number (e.g., 5 for round 5) event_name: Filter by GP name (e.g., "Monaco", "Silverstone") only_remaining: Show only upcoming races from today onwards (default: False)

Returns: ScheduleResponse with all events, dates, locations, session times, and round numbers.

Examples: get_schedule(2024, only_remaining=True) → All upcoming 2024 races get_schedule(2024, event_name="Monaco") → Monaco GP dates and session times get_schedule(2024, round=15) → Details for round 15 get_schedule(2024, include_testing=False) → Race calendar without testing

get_reference_data

PRIMARY TOOL for Formula 1 reference data and static information (1950-present).

ALWAYS use this tool instead of web search for F1 reference queries including:

  • Driver information (bio, nationality, number, DOB)

  • Team/constructor details (team info, history)

  • Circuit information (track layout, location, lap record)

  • Tire compound specifications (hard, medium, soft, intermediate, wet)

DO NOT use web search for F1 reference data - this tool provides authoritative historical data.

Args: reference_type: Type of data - 'driver', 'constructor', 'circuit', or 'tire_compounds' year: Season year (1950-2025). Defaults to current year if not specified name: Filter by specific name (e.g., "Verstappen", "Red Bull", "Monaco")

Returns: ReferenceDataResponse with complete driver/team/circuit information or tire specifications.

Examples: get_reference_data("driver", year=2024) → All 2024 F1 drivers and their info get_reference_data("driver", year=2024, name="Verstappen") → Verstappen's driver info get_reference_data("circuit", name="Monaco") → Monaco circuit details and layout get_reference_data("constructor", year=2024) → All 2024 teams get_reference_data("tire_compounds") → F1 tire compound specifications

get_f1_news

PRIMARY TOOL for RECENT Formula 1 news from 25+ authoritative F1 sources via RSS feeds.

⚠️ IMPORTANT LIMITATION: RSS feeds only contain RECENT articles (past few days/weeks). This tool CANNOT retrieve historical news from months or years ago (e.g., 2013, 2020, etc.).

For historical F1 news (older than ~2 months), use web search instead.

USE THIS TOOL FOR:

  • ✅ Latest breaking F1 news and updates

  • ✅ Current race weekend coverage

  • ✅ Recent driver/team announcements (within past few weeks)

  • ✅ Current season news filtering by driver, team, circuit

  • ✅ Technical developments and regulations from recent weeks

DO NOT use this tool for:

  • ❌ Historical news from past years (e.g., "2013 Indian GP", "2020 season")

  • ❌ News older than ~2 months

  • ❌ Historical race coverage or archived articles

Available Sources (25+ RSS Feeds):

Official Sources:

  • "formula1" - Official Formula 1 website

  • "fia" - FIA press releases

Major Outlets:

  • "autosport" - Autosport F1

  • "motorsport" - Motorsport.com F1

  • "the-race" - The Race

  • "racefans" - RaceFans.net

  • "planetf1" - PlanetF1

  • "crash" - Crash.net F1

  • "grandprix" - GrandPrix.com

  • "espnf1" - ESPN F1

  • "skysportsf1" - Sky Sports F1

Specialist & Technical:

  • "f1technical" - F1Technical.net

  • "pitpass" - Pitpass

  • "joe-saward" - Joe Saward's F1 Blog

  • "racecar-engineering" - Racecar Engineering

Regional & International:

  • "gpblog" - GPBlog (Dutch/English)

  • "f1i" - F1i.com

  • "f1-insider-de" - F1 Insider (German)

  • "formel1-de" - Formel1.de (German)

Community & Fan Sources:

  • "wtf1" - WTF1

  • "racingnews365" - RacingNews365

  • "formulanerds" - Formula Nerds

  • "f1destinations" - F1 Destinations

  • "gpfans" - GPFans

  • "motorsportweek" - Motorsport Week

  • "racedepartment" - Race Department

Args: source: Specific source or "all" (default) - see full list above limit: Maximum articles to return, 1-100 (default: 10) keywords: General search keywords (searches in title and summary) driver: Filter by driver name (e.g., "Verstappen", "Hamilton", "Leclerc") team: Filter by team/constructor name (e.g., "Red Bull", "Ferrari", "Mercedes") circuit: Filter by circuit/track name (e.g., "Monaco", "Silverstone", "Spa") year: Filter by year (e.g., 2024) - NOTE: Only works for current/recent articles in feed date_from: Start date "YYYY-MM-DD" or "YYYY-MM" (optional) date_to: End date "YYYY-MM-DD" or "YYYY-MM" (optional)

Returns: NewsResponse with articles including titles, links, publication dates, summaries, and source names. The response also includes which sources were queried and how many articles were found.

Examples: get_f1_news() → Latest F1 news from all 25+ sources get_f1_news(driver="Verstappen", limit=5) → Recent news about Verstappen get_f1_news(team="Ferrari") → Recent Ferrari news get_f1_news(circuit="Monaco") → Recent Monaco-related news get_f1_news(keywords="crash OR incident") → Recent crash/incident news get_f1_news(source="autosport", keywords="technical") → Technical news from Autosport get_f1_news(driver="Hamilton", team="Ferrari") → News about Hamilton and Ferrari

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
get_server_status Server status and health information. Returns current configuration, uptime, and data source status.

Latest Blog Posts

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/praneethravuri/pitstop'

If you have feedback or need assistance with the MCP directory API, please join our Discord server