get_cycle_indicators
Analyze cryptocurrency market cycles with Bitcoin Ahr999 Index, Pi Cycle Top Indicator, Puell Multiple, and Bitcoin Rainbow Chart to identify potential market tops and trends.
Instructions
Get crypto market cycle top indicators with fields (Indicator/Current/24h%/ReferencePrice/Triggered). Provides comprehensive market cycle analysis including Bitcoin Ahr999 Index, Pi Cycle Top Indicator, Puell Multiple, Bitcoin Rainbow Chart, and more
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/desk3_service/server.py:165-174 (handler)The core handler function that executes the tool logic by making an HTTP GET request to the external API endpoint for crypto market cycle top indicators and returns the data as a dictionary.async def get_cycle_indicators() -> dict[str, Any]: """ Get crypto market cycle top indicators. :return: Market cycle indicators data with fields (Indicator/Current/24h%/ReferencePrice/Triggered) """ url = 'https://mcp.desk3.io/v1/market/cycleIndicators' try: return request_api('get', url) except Exception as e: raise RuntimeError(f"Failed to fetch cycle indicators data: {e}")
- src/desk3_service/server.py:636-644 (schema)The JSON schema definition for the tool in the list_tools handler, defining the tool name, description, and input schema (no required parameters).types.Tool( name="get_cycle_indicators", description="Get crypto market cycle top indicators with fields (Indicator/Current/24h%/ReferencePrice/Triggered). Provides comprehensive market cycle analysis including Bitcoin Ahr999 Index, Pi Cycle Top Indicator, Puell Multiple, Bitcoin Rainbow Chart, and more", inputSchema={ "type": "object", "properties": {}, "required": [], }, ),
- src/desk3_service/server.py:828-838 (registration)Registration and dispatch logic in the @server.call_tool handler, matching the tool name and invoking the get_cycle_indicators handler function to produce the tool response.case "get_cycle_indicators": try: data = await get_cycle_indicators() return [ types.TextContent( type="text", text=json.dumps(data, indent=2), ) ] except Exception as e: raise RuntimeError(f"Failed to fetch cycle indicators data: {e}")