Skip to main content
Glama
Surya96t

fastf1-mcp-server

get_speed_trap_data

Retrieve speed trap and top-speed data for all drivers in a Formula 1 session, providing measurements for speed traps, finish lines, and sector intermediates from 2018 onward.

Instructions

Get speed trap and top-speed data for all drivers in a session.

Data source: FastF1 Live Timing (session results) Coverage: 2018-present

Args: year: Season year (2018+) event: Race name or round number session: Session type (R, Q, S, FP1, FP2, FP3)

Returns: Drivers sorted by speed trap speed (descending): driver, speedTrap, speedFL, speedI1, speedI2

Example: get_speed_trap_data(2024, "Monaco", "Q") → [ {"driver": "VER", "speedTrap": 298.5, "speedFL": 187.2, ...}, ... ]

Note: SpeedST = official speed trap measurement. SpeedFL = speed at the finish line. SpeedI1/I2 = sector intermediate speed measurements. Values are in km/h.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearYes
eventYes
sessionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden. It discloses the data source and coverage, which are useful behavioral traits, but lacks details on error handling, rate limits, or authentication needs. The description does not contradict any annotations, as none are given, and it adds some context beyond basic functionality.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured and front-loaded with the core purpose, followed by sections for data source, parameters, returns, example, and notes. Each sentence adds value without redundancy, making it efficient and easy to parse for an AI agent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity, no annotations, and an output schema (implied by the returns section), the description is largely complete. It covers purpose, parameters, return format, and data nuances, but could improve by addressing potential errors or usage constraints relative to siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It effectively explains all three parameters (year, event, session) with examples and constraints (e.g., year 2018+, session types like R, Q), adding meaningful semantics beyond the bare schema. However, it does not fully detail event formats (string vs. integer) beyond the example.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with specific verbs ('Get speed trap and top-speed data') and resources ('for all drivers in a session'), distinguishing it from siblings like get_fastest_laps or get_sector_times by focusing on speed trap metrics. It also specifies the data source (FastF1 Live Timing) and coverage period (2018-present), adding further clarity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied through the description of data coverage and parameters, but there is no explicit guidance on when to use this tool versus alternatives like get_fastest_laps or get_sector_times. The example provides context for parameter usage, but no when-not or alternative tool recommendations are included.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

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/Surya96t/fastf1-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server