Skip to main content
Glama

get_overtakes

Retrieves cleaned position-changing passes in an F1 race, showing who passed whom, on which lap, and for which position; filter by driver to see their passes.

Instructions

Position-changing passes in a race (OpenF1, 2023+), cleaned of pit-stop reshuffles and flicker: who passed whom, on which lap, for which position, plus who made and suffered the most. This is an estimate, not an official overtake count. Pass driver ('Max', 'NOR') to see only passes involving them.

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": {
      "year": "<year>",
      "country": "<country>"
    },
    "name": "get_overtakes"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYes
driverNo
countryYes
session_nameNoRace

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does meaningful work: it discloses the data provenance and version floor, the cleaning heuristic applied (pit-stop reshuffles and flicker removed), and explicitly warns the count is an estimate, not an official figure. It does not cover return shape or pagination limits, which is the main remaining gap for an unannotated tool.

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?

Dense and front-loaded: the core identification comes first, then the caveat, then the parameter hint. No filler sentences, though the first sentence is long enough that the 'estimate, not official' caveat could be easier to spot if surfaced earlier.

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

Completeness3/5

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

Covers provenance, cleaning methodology, estimate caveat, and one of four parameters, which is solid for a read-only query tool with no output schema. It falls short on the country argument format and on session_name values beyond the default, gaps that directly risk a failed or wrong call.

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 0%, so the description must compensate. It does for driver, giving value examples ('Max', 'NOR') and clarifying the filtering semantics; the year bound is partly covered by '2023+'. Country (likely the trickiest, full name vs code) and session_name (default 'Race') get no such treatment, leaving half the parameters ambiguous.

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 resource ('position-changing passes in a race'), the data source and version bound (OpenF1, 2023+), and the exact output content (who passed whom, on which lap, for which position, plus aggregates). It also implicitly separates itself from get_pit_stops by declaring pit-stop reshuffles are removed, so an agent can tell what this tool is and is not.

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

Usage Guidelines4/5

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

Gives a concrete usage pattern for the optional parameter: "Pass driver ('Max', 'NOR') to see only passes involving them," which tells the agent both how to filter and that the filter matches passes made and suffered. The "2023+ / OpenF1" bound plus the pit-stop cleaning note implicitly says when this data will be empty or misleading, but no sibling alternative is named for lap-by-lap or gap questions.

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