Skip to main content
Glama
YuchengMaUTK

Unofficial WCA MCP Server

by YuchengMaUTK

get_championship_details

Retrieve comprehensive details for any WCA championship including venue information, events, results, competitors, and regional significance using the championship ID.

Instructions

Get detailed information about a specific championship by its ID.

Returns comprehensive information about a WCA championship including venue details, events, results, competitors, and championship-specific information like regional significance.

Args: championship_id: Championship ID (e.g., "WC2023" for World Championship 2023, "Euro2022" for European Championship 2022)

Returns: Detailed championship information including all competition data plus championship-specific details

Example: get_championship_details("WC2023") - World Championship 2023 details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
championship_idYes

Implementation Reference

  • The primary handler function for the 'get_championship_details' MCP tool. It is decorated with @mcp.tool() for automatic registration and implements the core logic by calling WCAAPIClient.get_championship() to fetch and return the data.
    @mcp.tool() async def get_championship_details(championship_id: str) -> Dict[str, Any]: """Get detailed information about a specific championship by its ID. Returns comprehensive information about a WCA championship including venue details, events, results, competitors, and championship-specific information like regional significance. Args: championship_id: Championship ID (e.g., "WC2023" for World Championship 2023, "Euro2022" for European Championship 2022) Returns: Detailed championship information including all competition data plus championship-specific details Example: get_championship_details("WC2023") - World Championship 2023 details """ try: async with WCAAPIClient() as client: championship_data = await client.get_championship(championship_id) return championship_data except APIError as e: raise Exception(f"Failed to get championship {championship_id}: {e}") except Exception as e: raise Exception(f"Unexpected error getting championship {championship_id}: {e}")
  • Supporting helper method in WCAAPIClient that performs the actual API request to retrieve championship details from the WCA static API endpoint.
    async def get_championship(self, championship_id: str) -> Dict[str, Any]: """Get a specific championship by ID. Args: championship_id: Championship ID Returns: Championship data """ return await self._make_request(f"championships/{championship_id}.json")

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/YuchengMaUTK/unofficial-wca-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server