nar_jockey_stats
Analyze NAR local horse racing jockey performance by retrieving win rates, place percentages, and ride counts for specified jockeys.
Instructions
NAR地方競馬の騎手成績を分析
地方競馬の騎手名を指定して、勝率・複勝率・騎乗数などを調べられます。
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jockey_name | Yes | ||
| venue | No | ||
| year_from | No |
Implementation Reference
- src/jvlink_mcp_server/server.py:584-597 (handler)The MCP tool registration and handler function 'analyze_nar_jockey_stats' for the 'nar_jockey_stats' tool. It executes the tool logic by calling the underlying 'get_nar_jockey_stats' helper.
@mcp.tool(name="nar_jockey_stats") def analyze_nar_jockey_stats( jockey_name: str, venue: Optional[str] = None, year_from: Optional[str] = None ) -> dict: """NAR地方競馬の騎手成績を分析 地方競馬の騎手名を指定して、勝率・複勝率・騎乗数などを調べられます。 """ with DatabaseConnection() as db: return _get_nar_jockey_stats( db, jockey_name=jockey_name, venue=venue, year_from=year_from ) - The database high-level helper function 'get_nar_jockey_stats' which implements the core logic for fetching NAR jockey statistics.
def get_nar_jockey_stats( db_connection, jockey_name: str, venue: Optional[str] = None, year_from: Optional[str] = None ) -> Dict[str, Any]: """NAR地方競馬の騎手成績を取得(JRA版に委譲)""" return _jockey_stats_impl( db_connection, jockey_name=jockey_name, venue=venue, year_from=year_from, source='nar' )