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

get_execution_guidance

Analyze market spreads, estimate slippage, and generate order recommendations for prediction markets on Kalshi or Polymarket.

Instructions

Get execution guidance for a market — spread analysis, slippage estimate, order recommendation.

Args: platform: Platform: "kalshi" or "polymarket". market_id: Platform-specific market identifier.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
platformYes
market_idYes

Implementation Reference

  • The `get_execution_guidance` tool is defined in `src/rekko_mcp/server.py` as an asynchronous function decorated with `@mcp.tool()`. It acts as a proxy to the `/v1/markets/{platform}/{market_id}/execution` endpoint of the Rekko API.
    @mcp.tool()
    async def get_execution_guidance(platform: str, market_id: str) -> str:
        """Get execution guidance for a market — spread analysis, slippage estimate, order recommendation.
    
        Args:
            platform: Platform: "kalshi" or "polymarket".
            market_id: Platform-specific market identifier.
        """
        return await _request("GET", f"/v1/markets/{platform}/{market_id}/execution")

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