Skip to main content
Glama

WritersLogic crypto agents

market-predictor

Prediction Market Analyzer — Independent probability that a Polymarket or Kalshi market resolves Yes, checked against the live book. Pass a market (slug, URL, conditionId or Kalshi ticker) and/or news text: the agent reads the rules, end date and best asks, estimates 0-100 with live web search (falling back to model knowledge if search is slow), and returns verdict.action BUY_YES / BUY_NO / NO_TRADE with edge in bps after tak

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "market-predictor"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoNews excerpt or event description. Required unless market is given; with market, extra evidence you want weighed.
marketNoPolymarket slug, market URL or conditionId, or a Kalshi ticker or URL. Reads the question, rules, end date and live best asks; marketPriceYes then defaults to the book mid. A resolved market returns its outcome without a model call.
questionNoExact market question; inferred when omitted (read from the market when market is given).
minEdgePctNoMinimum edge after taker fees, in percentage points, before verdict.action is BUY_YES or BUY_NO (default 5). A low-confidence estimate never produces a BUY.
bankrollUsdNoConverts the quarter-Kelly fraction into verdict.size_usd.
marketPriceYesNoCurrent implied Yes probability, used to compute edge. Percent (0-100) by default; a value strictly between 0 and 1 is read as a 0-1 market price (Polymarket/Kalshi style) unless marketPriceScale says otherwise.
marketPriceScaleNoForce the unit of marketPriceYes: percent (35 = 35%) or fraction (0.35 = 35%).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources