Skip to main content
Glama

Pitstop

get_tire_strategy

Analyze tire compounds, life, and stint data for F1 sessions to understand race strategy and tire management decisions.

Instructions

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

Input Schema

NameRequiredDescriptionDefault
driverNo
gpYes
sessionYes
yearYes

Input Schema (JSON Schema)

{ "properties": { "driver": { "anyOf": [ { "type": "integer" }, { "type": "string" }, { "type": "null" } ], "default": null, "title": "Driver" }, "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