Skip to main content
Glama

get_historical_lap_times

Retrieve every lap a chosen driver completed in a historical Formula 1 race, including lap number, position, time, and fastest and median laps. Use it for seasons before 2023, where newer lap data is unavailable.

Instructions

Every lap one driver did in a race from 1996 to 2022 and beyond (Jolpica-F1): lap number, position and time, with the fastest and median lap. Use it for seasons before 2023, where get_driver_lap_times (OpenF1) has no data. round = number, 'last' or a race name like 'Monza'; driver = name, nickname, code or number.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "season": "<season>",
      "round": "<round>",
      "driver": "<driver>"
    },
    "name": "get_historical_lap_times"
  }
}

Input Schema

NameRequiredDescriptionDefault
roundYes
driverYes
seasonYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does reasonably well: it discloses the upstream source (Jolpica-F1), the temporal coverage (1996 to 2022 and beyond), and the shape of the result including derived fastest/median lap. It does not cover permissions, rate limits, or what happens when a driver/round has no recorded laps, which keeps it short of a 5.

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

Conciseness4/5

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

Three compact sentences with no filler: purpose and payload first, then the routing rule, then parameter formats. The line-wrapped formatting slightly obscures the structure, but the information order is front-loaded and every clause earns its place.

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 no output schema, no annotations, and three required parameters with zero schema descriptions, the description supplies the return fields, the source, and the argument formats, which is most of what an agent needs. The loose 'and beyond' upper bound and the absence of any error/empty-result guidance are the only omissions.

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 coverage is 0%, so the description must compensate, and it largely does: round accepts a number, the literal 'last', or a race name like 'Monza', and driver accepts a name, nickname, code, or number. The season parameter is only implied by the 1996–2022 range rather than stated as a required integer, which is the remaining gap.

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?

States a specific verb+resource ('every lap one driver did in a race') scoped to a named data source (Jolpica-F1) and enumerates what comes back (lap number, position, time, fastest and median lap). It explicitly distinguishes itself from the sibling get_driver_lap_times (OpenF1) by data coverage.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use rule tied to the alternative: 'Use it for seasons before 2023, where get_driver_lap_times (OpenF1) has no data.' The inverse (use the OpenF1 tool for 2023+) is clearly implied by the same sentence, so an agent does not have to guess.

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