Skip to main content
Glama

get_cycles

Identify cryptocurrency market cycle tops using Pi Cycle and Puell Multiple indicators to analyze Bitcoin's four-year cycle patterns.

Instructions

Does the Bitcoin Four-Year Cycle Exist? Discover the cryptocurrency market cycle indicator that helps you identify the top of the cryptocurrency bull market. This is a collection of publicly available signals including Pi Cycle and Puell Multiple data. Return fields: (puellMultiple Puell: multiple status / piCycleTop: Pi cycle top status / likelihood: cryptocurrency market cycle top indicator)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The primary handler function for the 'get_cycles' tool. It fetches cryptocurrency market cycle indicators (Puell Multiple, Pi Cycle Top, likelihood) from the external API endpoint.
    async def get_cycles() -> dict[str, Any]: """ Get Simple indicators data including Puell Multiple Status, Pi Cycle Top Status, and Crypto Market Cycle Top Indicator. :return: Simple indicators data with puellMultiple, piCycleTop, and likelihood fields """ url = 'https://mcp.desk3.io/v1/market/cycles' try: return request_api('get', url) except Exception as e: raise RuntimeError(f"Failed to fetch cycles data: {e}")
  • The JSON schema definition for the 'get_cycles' tool input, which requires no parameters.
    inputSchema={ "type": "object", "properties": {}, "required": [], },
  • Registration of the 'get_cycles' tool in the MCP server's list_tools handler, including name, description, and schema.
    types.Tool( name="get_cycles", description="Does the Bitcoin Four-Year Cycle Exist? Discover the cryptocurrency market cycle indicator that helps you identify the top of the cryptocurrency bull market. This is a collection of publicly available signals including Pi Cycle and Puell Multiple data. Return fields: (puellMultiple Puell: multiple status / piCycleTop: Pi cycle top status / likelihood: cryptocurrency market cycle top indicator) ", inputSchema={ "type": "object", "properties": {}, "required": [], }, ),
  • The MCP tool call dispatcher case that invokes the get_cycles handler and formats the response as TextContent.
    case "get_cycles": try: data = await get_cycles() return [ types.TextContent( type="text", text=json.dumps(data, indent=2), ) ] except Exception as e: raise RuntimeError(f"Failed to fetch cycles data: {e}")

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/desk3/cryptocurrency-mcp-server'

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