Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
No arguments |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
get_player_stats | Get comprehensive cricket player statistics including batting and bowling data from Cricbuzz. Args: player_name (str): The name of the cricket player. match_format (str, optional): The match format to get stats for. Can be "Test", "ODI", or "T20". If not provided, all stats are returned. Returns: dict: A dictionary containing complete player statistics including: - Basic info (name, country, role, image) - ICC rankings for batting and bowling - Detailed batting stats (matches, runs, average, strike rate, centuries, fifties) - Detailed bowling stats (balls, runs, wickets, best figures, economy, five-wicket hauls) If match_format is specified, returns stats for that format only. |
get_cricket_schedule | Get upcoming cricket match schedule from Cricbuzz. Returns: list: A list of dictionaries, each representing a match with series name, match description, and a link to the match if available. |
get_match_details | Get detailed scorecard for a specific cricket match from a Cricbuzz URL. Args: match_url (str): The URL of the match on Cricbuzz (can be obtained from get_live_matches). Returns: dict: A dictionary containing match details including: - Match title and result. - A scorecard for each innings with batting and bowling stats. |
get_live_matches | Get live cricket matches from Cricbuzz. Returns: list: A list of dictionaries, each containing the match description and a URL. Example: [{"match": "IND vs AUS...", "url": "https://..."}] |
get_cricket_news | Get the latest cricket news from Cricbuzz. Returns: list: A list of dictionaries, each containing news details including headline, description, timestamp, category, and a direct URL to the article. |
get_icc_rankings | Fetches official ICC cricket rankings for various categories. Use this tool to answer questions about top players and teams in Test, ODI, and T20 formats. For example, you can answer questions like:
Args: category (str): The ranking category. Must be one of: "batting", "bowling", "all-rounder", or "teams". Returns: dict: A dictionary with rankings for Test, ODI, and T20 formats. Each format contains a list of players or teams with their position, name, country, and rating. |
get_live_commentary | Get recent live commentary events for a Cricbuzz match. Args: match_url (str): Cricbuzz match URL. Can be a general match page; the commentary tab will be resolved automatically. limit (int): Maximum number of recent commentary items to return. Returns: dict: {"title": str, "commentary_url": str, "events": [{"text": str}]} |
web_search | General web search for cricket-related queries. Returns links with titles and snippets. Args: query (str): Search query num_results (int): Number of results to return (max ~10 typical) site_filter (str, optional): If provided, prefixes the query with e.g. "site.com" Returns: list[dict]: [{"title": str, "url": str, "snippet": str}] |
search_live_commentary | Search for live commentary and updates for cricket matches on the web. Args: match_description (str, optional): Full match description (e.g., "Zimbabwe vs New Zealand 2nd Test") team1 (str, optional): First team name team2 (str, optional): Second team name Returns: list: Web search results for live commentary and match updates |