Skip to main content
Glama

Pitstop

compare_driver_telemetry

Analyze racing performance by comparing telemetry data between two drivers to identify differences in racing lines, braking points, and driving styles.

Instructions

Compare telemetry data between two drivers.

Retrieves and returns telemetry data for two drivers side-by-side, enabling detailed performance comparison. Useful for analyzing racing lines, braking points, and overall driving style differences.

Args: year: The season year (2018 onwards) gp: The Grand Prix name or round number session: Session type - 'FP1', 'FP2', 'FP3', 'Q', 'S', 'R' driver1: First driver identifier (3-letter code or number) driver2: Second driver identifier (3-letter code or number) lap1: Lap number for driver1 (uses fastest lap if None) lap2: Lap number for driver2 (uses fastest lap if None)

Returns: TelemetryComparisonResponse: Telemetry data for both drivers in JSON-serializable format

Examples: >>> # Compare fastest laps between Verstappen and Hamilton >>> comparison = compare_driver_telemetry(2024, "Monza", "Q", "VER", "HAM")

>>> # Compare specific laps >>> comparison = compare_driver_telemetry(2024, "Monza", "R", "VER", "HAM", lap1=15, lap2=15)

Input Schema

NameRequiredDescriptionDefault
driver1Yes
driver2Yes
gpYes
lap1No
lap2No
sessionYes
yearYes

Input Schema (JSON Schema)

{ "properties": { "driver1": { "anyOf": [ { "type": "string" }, { "type": "integer" } ], "title": "Driver1" }, "driver2": { "anyOf": [ { "type": "string" }, { "type": "integer" } ], "title": "Driver2" }, "gp": { "anyOf": [ { "type": "string" }, { "type": "integer" } ], "title": "Gp" }, "lap1": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Lap1" }, "lap2": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Lap2" }, "session": { "title": "Session", "type": "string" }, "year": { "title": "Year", "type": "integer" } }, "required": [ "year", "gp", "session", "driver1", "driver2" ], "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