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

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

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)
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden. It discloses that it returns 'active' events with 'current odds', which adds useful behavioral context. However, it lacks details on rate limits, authentication needs, or error handling, leaving gaps for a tool with potential API costs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose, followed by structured sections for Args and Returns, and ends with price information. Every sentence earns its place with no wasted words, making it highly efficient and easy to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has an output schema (so return values are documented elsewhere) and no annotations, the description provides good context on purpose, parameters, and returns. It includes price information, which is valuable. However, it could better address behavioral aspects like rate limits or error cases for a paid tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It adds meaningful semantics by explaining 'category' as an optional filter with examples (politics, crypto, sports) and 'limit' as the number of events to return, which clarifies beyond the schema's basic titles. This effectively covers both parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with specific verbs ('Get active Polymarket prediction market events') and distinguishes it from siblings like 'get_polymarket_odds' and 'search_polymarket' by focusing on active events rather than odds or search functionality.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context by specifying 'active' events and listing categories, but does not explicitly state when to use this tool versus alternatives like 'get_polymarket_odds' or 'search_polymarket'. It provides clear filtering options but lacks explicit comparison guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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