actually

v0.1.10
io.github.Sofiia7/actually Checked 1 day ago Published 1 month ago

Matches news to Polymarket markets and returns the market's probability.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_news Check news text against prediction markets

Map a piece of news text to the relevant Polymarket market and return its current YES probability - the market's real, unmodified price, not a number synthesized from the text. That price is the crowd's current bet, not a verdict on whether the news is true. It also does not classify whether the news is dramatized or accurate relative to the market - that interpretation is left to the calling agent, which has both the original text and this market anchor. The probability comes from a precomputed cache refreshed on a cron cadence (can be up to ~2 hours stale) - for a live price before trading,…

ParameterTypeDescription
text *string

get_market Get a market's price and orderbook

Look up a specific Polymarket market by id: details, live price, and an orderbook snapshot for ONE outcome token. Falls back to a direct Gamma lookup when the id is outside the precomputed cache's top markets by volume.

ParameterTypeDescription
marketId *string
outcomestringWhich token to price - match this to the side you intend to trade (place_order/sell_order's BUY_YES/SELL_YES → 'Yes', BUY_NO/SELL_NO → 'No'). Defaults to 'Yes'. YES and NO books move somewhat inde…