get_rider_one_day_races
Retrieve detailed one-day race results for a specific cyclist, including positions, times, and categories. Filter results by year for targeted insights. Requires the rider's ID for accurate data access.
Instructions
Get a rider's results in one-day races, optionally filtered by year. This tool retrieves detailed information about a rider's performance in one-day races (classics and one-day events). It provides comprehensive data about positions, times, and race categories. Results can be filtered by a specific year.
Note: If you don't know the rider's ID, use the search_rider tool first to find it by name.
Example usage:
- Get one-day race results for Mathieu van der Poel (ID: 16672)
- Get 2023 one-day race results for Wout van Aert (ID: 16948)
Returns a formatted string with:
- Results in one-day races organized by year
- Position and time for each race
- Race category and details
- Chronological organization
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rider_id | Yes | ||
| year | No |
Implementation Reference
- The core logic for retrieving a rider's one-day races results using the Rider class method. This is likely the implementation used by the MCP tool 'get_rider_one_day_races'.def one_day_races(self): """ Get the rider's results at major one-day races. Returns ------- RiderEndpoint """ return self._get_endpoint(stats=1, k=2)