Skip to main content
Glama
Rekko-AI
by Rekko-AI

analyze_market

Analyze prediction market bets by initiating deep research pipelines for platforms like Kalshi and Polymarket. Provides market intelligence through causal analysis to support informed trading decisions.

Instructions

Start a deep research analysis pipeline for a prediction market bet.

Returns immediately with an analysis_id. Poll with check_analysis_status every 5 seconds until complete, then retrieve results with get_analysis.

Args: bet_text: Description of the bet or market question to analyze. platform: Source platform hint: "kalshi", "polymarket", or "".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bet_textYes
platformNo

Implementation Reference

  • The analyze_market tool handler, which triggers a deep research analysis pipeline by making a POST request to the /v1/insights endpoint.
    @mcp.tool()
    async def analyze_market(bet_text: str, platform: str = "") -> str:
        """Start a deep research analysis pipeline for a prediction market bet.
    
        Returns immediately with an analysis_id. Poll with check_analysis_status
        every 5 seconds until complete, then retrieve results with get_analysis.
    
        Args:
            bet_text: Description of the bet or market question to analyze.
            platform: Source platform hint: "kalshi", "polymarket", or "".
        """
        body: dict = {"bet_text": bet_text}
        if platform:
            body["platform"] = platform
        return await _request("POST", "/v1/insights", json=body)

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/Rekko-AI/rekko-mcp'

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