Skip to main content
Glama

report_trade

Report prediction market trades to aggregate consensus probabilities for platforms like Kalshi and Polymarket, supporting informed trading decisions through market intelligence.

Instructions

Report a trade for consensus probability aggregation.

Args: market_id: Platform-specific market identifier. platform: Platform: "kalshi" or "polymarket". side: Trade direction: "yes" or "no". size_usd: Trade size in USD. price: Execution price (0.0-1.0).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
market_idYes
platformYes
sideYes
size_usdYes
priceYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The handler function `report_trade` is registered as an MCP tool using `@mcp.tool()`. It takes trade parameters and sends a POST request to `/v1/trades/report` to record the trade.
    @mcp.tool()
    async def report_trade(
        market_id: str, platform: str, side: str, size_usd: float, price: float
    ) -> str:
        """Report a trade for consensus probability aggregation.
    
        Args:
            market_id: Platform-specific market identifier.
            platform: Platform: "kalshi" or "polymarket".
            side: Trade direction: "yes" or "no".
            size_usd: Trade size in USD.
            price: Execution price (0.0-1.0).
        """
        return await _request(
            "POST",
            "/v1/trades/report",
            json={
                "market_id": market_id,
                "platform": platform,
                "side": side,
                "size_usd": size_usd,
                "price": price,
            },
        )
Behavior3/5

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

No annotations provided, so description carries full burden. It explains the 'why' (consensus aggregation) but omits safety-critical details: whether the report is permanent, if it triggers notifications, rate limits, or required permissions. 'Report' implies recording but doesn't specify side effects.

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?

Efficiently structured with purpose front-loaded in the first sentence, followed by a dense Args block. No redundant text; every line provides essential parameter constraints or purpose definition.

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 5 parameters with zero schema coverage, the Args block achieves complete parameter documentation. Since an output schema exists (per context signals), the description appropriately omits return value details. Only missing behavioral context prevents a 5.

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

Parameters5/5

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

With 0% schema description coverage, the description fully compensates via the Args block, providing semantic meaning for all 5 parameters including valid value enumerations ('kalshi'/'polymarket', 'yes'/'no') and range constraints (0.0-1.0 for price) that the schema lacks.

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

Purpose4/5

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

States specific action ('Report a trade') and distinct purpose ('consensus probability aggregation'), which differentiates it from read-only tools like get_consensus. However, it doesn't clarify the distinction from sibling place_shadow_trade, which sounds functionally similar.

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

Usage Guidelines2/5

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

Provides no explicit when-to-use guidance or alternative selection criteria. Given the sibling place_shadow_trade exists, the description fails to clarify whether this tool is for real executed trades versus simulated ones, or when to prefer one over the other.

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

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