Skip to main content
Glama

f1_qualifying_analysis

Read-onlyIdempotent

Analyze an F1 qualifying session to get each driver's best lap time, gap to pole, and a projected starting grid based on session laps.

Instructions

Analyse a qualifying session: best lap per driver, gap to pole, projected grid.

Args: session_key: OpenF1 session identifier for a Qualifying session.

Returns: data.grid: [{position, driver_number, full_name, team_name, best_lap_gap_s}]. data.pole_time_s: pole lap duration in seconds. data.drivers_analysed: count of drivers with valid laps. meta.estimated: true — grid derived from session laps, not official timing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_keyYesOpenF1 session identifier for a Qualifying session.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
metaNo
errorNo
Behavior4/5

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

Annotations already indicate readOnly, openWorld, and idempotent behavior. The description adds valuable context: the 'meta.estimated: true' field reveals that the grid is derived from session laps and not official timing, which is critical for understanding result reliability.

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 highly concise and well-structured: a one-line purpose, followed by Args and Returns sections. Every sentence provides clear information without redundancy or fluff.

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

Completeness5/5

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

Given that the tool has an output schema, the description provides a clear summary of return fields (grid, pole_time_s, drivers_analysed, meta) with sufficient context about meta.estimated. It covers the key aspects needed for an agent to understand the tool's functionality.

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 coverage is 100%, and the schema description for session_key ('OpenF1 session identifier for a Qualifying session.') matches the description's Args section. The description does not add new semantic meaning beyond the schema, so baseline 3 applies.

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 action ('Analyse a qualifying session') and specifies the outputs: best lap per driver, gap to pole, projected grid. It distinguishes itself from siblings like f1_get_lap_times or f1_get_race_results by focusing specifically on qualifying analysis.

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?

The description implies usage for qualifying sessions by requiring a qualifying session_key and noting that the grid is derived from session laps. However, it does not explicitly state when to use this tool versus alternatives or provide any exclusion criteria.

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/Ninjabeam20/SportIQ-MCP'

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