nar_favorite_performance
Analyze win rates by betting popularity for Japanese regional horse racing venues like Oi, Funabashi, and Nagoya to identify betting patterns and performance trends.
Instructions
NAR地方競馬の人気別成績を分析
大井、船橋、川崎、浦和、名古屋、園田など地方競馬場の人気別勝率を調べられます。
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ninki | No | ||
| venue | No | ||
| year_from | No | ||
| distance | No |
Implementation Reference
- src/jvlink_mcp_server/server.py:566-581 (handler)The MCP tool definition for "nar_favorite_performance". It wraps the database logic into an MCP-compatible tool handler.
@mcp.tool(name="nar_favorite_performance") def analyze_nar_favorite_performance( ninki: int = 1, venue: Optional[str] = None, year_from: Optional[str] = None, distance: Optional[int] = None ) -> dict: """NAR地方競馬の人気別成績を分析 大井、船橋、川崎、浦和、名古屋、園田など地方競馬場の人気別勝率を調べられます。 """ with DatabaseConnection() as db: return _get_nar_favorite_performance( db, venue=venue, ninki=ninki, year_from=year_from, distance=distance ) - The database logic handler for NAR favorite performance, which delegates to a shared implementation function with 'nar' source identifier.
def get_nar_favorite_performance( db_connection, venue: Optional[str] = None, ninki: int = 1, year_from: Optional[str] = None, distance: Optional[int] = None ) -> Dict[str, Any]: """NAR地方競馬の人気別成績を取得(JRA版に委譲)""" return _favorite_performance_impl( db_connection, venue=venue, ninki=ninki, year_from=year_from, distance=distance, source='nar' )