Skip to main content
Glama
pab1it0

Chess.com MCP Server

get_club_profile

Retrieve detailed information about Chess.com clubs using their URL identifier to access club profiles and data.

Instructions

Get information about a club on Chess.com

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
url_idYes

Implementation Reference

  • The `@mcp.tool` decorated handler function that implements the `get_club_profile` tool. It takes a `url_id` parameter, logs the request, and fetches the club profile data from the Chess.com API endpoint `/club/{url_id}` using the shared `make_api_request` helper.
    @mcp.tool(description="Get information about a club on Chess.com") async def get_club_profile(url_id: str) -> Dict[str, Any]: """ Get information about a club on Chess.com. Args: url_id: The URL identifier of the club Returns: Club profile data """ logger.info("Fetching club profile", url_id=url_id) return await make_api_request(f"club/{url_id}")

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/pab1it0/chess-mcp'

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