Skip to main content
Glama

Pitstop

get_session_details

Retrieve comprehensive Formula 1 session details including results, weather conditions, fastest lap data, and statistics for any Grand Prix session from 2018 onwards.

Instructions

Get comprehensive details of a specific F1 session.

Provides complete session information including results, weather conditions, fastest lap, and session statistics for any F1 session from 2018 onwards.

Args: year: The season year (2018 onwards) gp: The Grand Prix name (e.g., 'Monza', 'Monaco') or round number session: Session type - 'FP1' (Free Practice 1), 'FP2' (Free Practice 2), 'FP3' (Free Practice 3), 'Q' (Qualifying), 'S' (Sprint), 'R' (Race) include_weather: Whether to include weather data (default: True) include_fastest_lap: Whether to include fastest lap information (default: True)

Returns: SessionDetailsResponse: Complete session details including: - Session information (name, location, date, circuit) - Driver results/classification with positions, times, and teams - Weather conditions (temperature, humidity, wind, rainfall) - Fastest lap information (driver, time, compound) - Session statistics (total laps, duration)

Examples: >>> # Get Free Practice 1 details from 2019 Monza GP >>> get_session_details(2019, "Monza", "FP1")

>>> # Get Race results from 2024 Monaco GP >>> get_session_details(2024, "Monaco", "R") >>> # Get Qualifying results without weather data >>> get_session_details(2023, "Silverstone", "Q", include_weather=False)

Input Schema

NameRequiredDescriptionDefault
gpYes
include_fastest_lapNo
include_weatherNo
sessionYes
yearYes

Input Schema (JSON Schema)

{ "properties": { "gp": { "anyOf": [ { "type": "string" }, { "type": "integer" } ], "title": "Gp" }, "include_fastest_lap": { "default": true, "title": "Include Fastest Lap", "type": "boolean" }, "include_weather": { "default": true, "title": "Include Weather", "type": "boolean" }, "session": { "title": "Session", "type": "string" }, "year": { "title": "Year", "type": "integer" } }, "required": [ "year", "gp", "session" ], "type": "object" }

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