Skip to main content
Glama
tdnupe3

Coin Railz MCP Server

by tdnupe3

get_polymarket_events

Retrieve active Polymarket prediction market events with current odds. Filter by category and limit results to analyze market opportunities.

Instructions

Get active Polymarket prediction market events.

Args: category: Optional category filter (politics, crypto, sports, etc.) limit: Number of events to return

Returns: List of active prediction markets with current odds.

Price: $0.25

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNo
limitNo

Implementation Reference

  • The implementation of the get_polymarket_events tool, which calls the 'polymarket-events' service via the call_coinrailz_service helper.
    @mcp.tool()
    async def get_polymarket_events(category: str = None, limit: int = 20) -> str:
        """
        Get active Polymarket prediction market events.
        
        Args:
            category: Optional category filter (politics, crypto, sports, etc.)
            limit: Number of events to return
        
        Returns:
            List of active prediction markets with current odds.
        
        Price: $0.25
        """
        payload = {"limit": limit}
        if category:
            payload["category"] = category
        result = await call_coinrailz_service("polymarket-events", payload)
        return json.dumps(result, indent=2)

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/tdnupe3/mcp-server-coinrailz'

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