Skip to main content
Glama

Pitstop

get_session_weather

Retrieve detailed weather data recorded during Formula 1 sessions to analyze how temperature, humidity, wind, and rainfall conditions affect race performance and strategy decisions.

Instructions

Get weather data throughout a session.

Retrieves time-series weather information recorded during a session, including temperature, humidity, pressure, wind, and rainfall data. Essential for understanding session conditions and their impact on performance.

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: SessionWeatherDataResponse: Weather data throughout session in JSON-serializable format

Examples: >>> # Get weather data from 2024 Spa race >>> weather = get_session_weather(2024, "Spa", "R")

>>> # Check weather conditions during qualifying >>> quali_weather = get_session_weather(2024, "Silverstone", "Q")

Input Schema

NameRequiredDescriptionDefault
gpYes
sessionYes
yearYes

Input Schema (JSON Schema)

{ "properties": { "gp": { "anyOf": [ { "type": "string" }, { "type": "integer" } ], "title": "Gp" }, "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