Skip to main content
Glama
fastf1-mcp-server

fastf1-mcp-server

by Surya96t

list_events

List all Formula 1 events in a given season with round, name, country, circuit and date. Use it to discover valid event names for other FastF1 tools.

Instructions

List all events in a season.

Data source: Ergast API (via FastF1) Coverage: 1950-present

Args: year: Season year (1950-present)

Returns: Events with: round, eventName, country, circuitName, date

Example: list_events(2024) → [ {"round": 1, "eventName": "Bahrain Grand Prix", "country": "Bahrain", "circuitName": "Bahrain International Circuit", "date": "2024-03-02"}, ... ]

Note: Minimal version of get_schedule — useful for discovering valid event names to pass to other tools.

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>"
    },
    "name": "list_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.3.0
    • addedOutput schema / properties / result / anyOf
      Added value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "additionalProperties": true,
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties / result / items
      Removed value: -{
      -  "additionalProperties": true,
      -  "type": "object"
      -}
    • removedOutput schema / properties / result / type
      Removed value: -"array"
  2. Addedv0.2.0
  3. Removed
  4. First observedv0.1.0

TDQS

A4.3/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 mostly succeeds: it names the data source (Ergast API via Fast1), states coverage 1950-present, enumerates returned fields, and shows a concrete example response. It omits edge behavior that matters for a read tool with a hard date bound — e.g., what happens for a year outside 1950-present, and whether calls are cached or rate-limited.

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?

Well-structured and front-loaded: purpose first, then source, coverage, args, returns, example, and a disambiguating note. The main waste is the Returns block, which largely restates output already declared by the output schema, and the 1950-present range is stated twice (Coverage and Args).

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?

For a single-parameter read tool this covers source, temporal scope, return shape, and sibling positioning — enough to call it correctly. Since an output schema exists, the explicit Returns enumeration is redundant rather than helpful, and the missing piece is out-of-range/error behavior for the year bound.

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, and it does: "year: Season year (1950-present)" supplies an explicit valid range the bare integer schema lacks, reinforced by the Coverage line and a worked example with 2024. It still does not specify the type/format expectation beyond the implicit integer year, nor error behavior for out-of-range input.

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 first line gives a specific verb and resource ("List all events in a season"), and the closing note positions it against its sibling by calling it a "Minimal version of get_schedule." An agent can tell this apart from get_schedule without opening either schema.

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?

The note explicitly states the use case: "useful for discovering valid event names to pass to other tools," which is concrete routing guidance for a discovery step. It stops short of saying when to prefer get_schedule instead (presumably for richer schedule detail), so the alternative is implied rather than fully specified.

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