Skip to main content
Glama
OpenF1 MCP Server

OpenF1 MCP Server

by ragulhari

Pit lane

get_pit
Read-onlyIdempotent

Retrieves Formula 1 pit lane passages, including lap number, pit lane time and stationary stop time from the 2024 US GP onward, to analyze pit stops by driver or session.

Instructions

Pit lane passages: lap, time in pit lane (lane_duration) and stationary stop time (stop_duration, from the 2024 US GP onwards).

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of records to return (default 200, max 1000). A summary is added when the result is larger.
fieldsNoReturn only these attributes. Use this to make large results smaller.
date_toNoEnd of the time range (UTC, ISO 8601). Filters on "date" <= value.
filtersNoExtra comparison filters, e.g. [{"field":"lap_duration","op":"<","value":90}]. Allowed fields: date, driver_number, lane_duration, lap_number, meeting_key, pit_duration, session_key, stop_duration. Array fields cannot be filtered.
date_fromNoStart of the time range (UTC, ISO 8601), e.g. "2025-11-09T17:05:00Z". Filters on "date" >= value.
lap_numberNoLap number (starts at 1).
meeting_keyNoMeeting (Grand Prix weekend) identifier. Use "latest" for the current or most recent meeting.
session_keyNoSession identifier. Use "latest" for the current or most recent session.
driver_numberNoDriver number(s) for the season, e.g. 1, 44, 81. Give a list to get more than one driver.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior, so the safety profile is covered. The description adds useful context by distinguishing lane_duration from stationary stop_duration and noting stop_duration availability from the 2024 US GP onwards, but it does not discuss pagination or full return behavior.

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 a single front-loaded sentence with no wasted wording. It states the resource, the key returned measurements, and the important stop_duration availability caveat.

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?

The input schema is fully documented and annotations carry the safety profile, so the description mainly needs to identify the resource and return content. It lists the core pit lane fields and the stop_duration caveat, though it does not fully explain every returned attribute or provide sibling-routing guidance.

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

Parameters3/5

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

Schema description coverage is 100%, so all nine parameters are already documented in the input schema. The description names lane_duration and stop_duration and their availability, which helps interpret filterable fields, but it adds no top-level parameter syntax or usage beyond the schema.

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

Purpose4/5

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

The description names the specific resource (pit lane passages) and key measurements (lap, lane_duration, stop_duration), which clearly distinguishes it from general lap and stint endpoints. It does not explicitly frame the operation as retrieval or name a sibling alternative, keeping it short of a 5.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to choose this tool over get_laps, get_stints, or other siblings, nor any stated prerequisites. The only contextual note is that stop_duration is available from the 2024 US GP onwards, which is a data-availability caveat rather than tool-selection guidance.

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