Skip to main content
Glama

Pitstop

get_session_drivers

Retrieve all driver identifiers who participated in a specific Formula 1 session by providing the year, Grand Prix, and session type.

Instructions

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")

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