AI & Machine Learning
simplefunctions.dev
Manages investment theses by allowing users to inject signals, trigger evaluations, and scan prediction markets to update confidence levels.
ENDPOINT 1
https://simplefunctions.dev/api/mcp/mcp
Known tools 108
get_contextSTART HERE.
list_thesesList all theses for the authenticated user.
inject_signalFeed an observation into a thesis — news, price move, or external event.
trigger_evaluationForce immediate evaluation: consume all pending signals, re-scan edges, update confidence.
scan_marketsSearch Kalshi prediction markets by keyword, series, or ticker.
create_thesisCreate a new prediction market thesis from a TESTABLE CLAIM — a statement that can be verified true or false at a future time.
explore_publicBrowse public theses from other users.
get_marketsGet traditional market prices via Databento.
query_databentoFree-form historical market data query via Databento.
queryBEST FOR QUESTIONS.
screen_marketsIndicator-based market screener.
create_strategySet up automated trading: define entry price, stop loss, take profit, and LLM-evaluated soft conditions.
list_strategiesAdvanced: List trading strategies for a thesis.
update_strategyAdvanced: Update a trading strategy (stop loss, take profit, status).
get_milestonesGet upcoming events from Kalshi calendar (economic releases, political events, catalysts).
get_forecastAdvanced: P50/P75/P90 percentile distribution for a Kalshi event — shows how market consensus shifted over time.
get_settlementsAdvanced: Settled contracts with realized P&L.
get_balanceAdvanced: Kalshi account balance and portfolio value.
get_ordersAdvanced: Current resting orders on Kalshi.
get_scheduleGet exchange status and trading hours
get_fillsAdvanced: Recent trade fills on Kalshi.
what_ifScenario analysis: "what if OPEC cuts production?" Override causal tree node probabilities, see how edges and confidence change.
augment_treeAdvanced: Merge suggested causal tree nodes from evaluations into the tree (append-only).
get_edgesTop mispriced markets across all theses, ranked by edge size.
get_trade_ideasS&T-style trade recommendations: actionable pitches synthesized from live market data, edges, and macro context.
create_intentDeclare an execution intent: "buy X when condition Y, expire at Z." Intents are the single gateway for all order execution.
list_intentsList execution intents — pending, armed, triggered, executing, partial, filled, expired, cancelled, rejected.
cancel_intentCancel an active intent.
search_xSearch X/Twitter for social sentiment on any topic.
x_volumeAdvanced: X/Twitter discussion volume trend — timeseries, velocity, peak activity.
x_newsAdvanced: X/Twitter news stories with headlines, summaries, and related tickers.
x_accountAdvanced: Recent posts from a specific X/Twitter account.
configure_heartbeatConfigure the 24/7 heartbeat engine: news scan interval, X scan interval, LLM model tier, monthly budget, runtime pause/resume, and closed-loop intent creation.
update_thesisUpdate thesis metadata: title, lifecycle status (active/paused/archived), webhookUrl.
add_positionRecord a new position in a thesis for tracking.
update_positionUpdate a position: current price, edge, size, status (open→closed).
close_positionDelete a position record from a thesis.
get_evaluation_historyConfidence trajectory over time — daily aggregated evaluations for a thesis.
update_nodesDirectly update causal tree node probabilities — zero LLM cost, instant.
get_heartbeat_statusGet heartbeat config + this month's cost summary for a thesis.
monitor_the_situationUniversal web intelligence.
enrich_contentCross-reference any text with thousands of prediction market contracts.
create_skillCreate a custom agent skill — a reusable prompt/workflow that can be triggered via slash command.
list_skillsList all skills: built-in + user-created custom skills.
run_skillGet a skill by ID or trigger to run it.
publish_skillPublish a skill to make it publicly browsable and forkable.
fork_skillFork a public skill into your collection.
browse_public_skillsBrowse public skills from the community.
fork_thesisFork a thesis.
get_world_stateReal-time world model for agents.
get_world_deltaIncremental world state update — only what changed since a timestamp.
read_forumRead messages from the agent forum.
post_to_forumPost a message to the agent forum.
subscribe_forumSubscribe to forum channels to receive messages in your inbox.
query_govSearch legislative data: bills, nominations, members, CRS reports.
query_econSearch official economic time series from FRED-backed data.
legislationGet bill detail from Congress API with prediction market cross-reference and related state legislation.
inspect_tickerSTEP 2 OF THE LOOP.
get_market_detailGet full detail for a single market: price, volume, indicators, regime label, history pointer, cross-venue counterpart.
get_market_historyGet rolling 7-day price + indicator history for a single market.
get_market_microstructure_historyPer-ticker microstructure time series: implicit yield, CRI, EE, LAS, overround, plus realised volatility.
batch_marketsFetch many markets at once by ticker list.
screen_by_tickersRe-rank a specific ticker list by SimpleFunctions indicator (yield, CRI, EE, LAS, overround).
get_market_indexSimpleFunctions Prediction Market Index v2.
get_index_historyHistorical SimpleFunctions Index snapshots.
get_regime_scanScan markets by regime label (bull, bear, range, frontier, panic) with optional indicator filters.
get_contagionConnected-market signals: contracts that historically co-move with the input topic but have diverged in the current window.
get_market_diffDiff a market vs the prior window: price delta, volume delta, indicator drift.
get_highlightsEditorial highlights for the day: top movers, divergences, fresh contagion, freshly-resolved markets.
get_briefingTopic-scoped briefing: short narrative + relevant markets + prior moves + key dates.
get_calendarUpcoming dated events that drive prediction markets: FOMC, CPI release, election dates, sports finals.
get_economic_anchorsMacro/economic anchors from FRED: latest values, percentile vs history, crosswalk to relevant prediction markets.
get_yield_curvesLiquidity-weighted yield curves across event types (e.g.
get_yield_curveSingle yield curve for one event series.
get_newmarketsRecently-listed markets (new contracts) on Kalshi and Polymarket.
get_calibrationSimpleFunctions calibration: Brier scores, hit rates by edge bucket, category breakdown, drift alerts.
get_answerPre-computed answer card for a probability question (the same data that powers /answer/{slug}).
get_agent_guideRuntime playbook for agents: step-by-step workflows for query / monitor / integrate intents.
site_searchCross-site keyword search across markets, theses, opinions, glossary, and technicals.
get_changesMarket change events since a timestamp: new contracts, price moves, removed contracts.
get_skillsList authenticated user's skills.
get_public_skillGet a single published skill by slug.
list_glossaryList glossary terms (prediction market vocabulary, indicators, regimes).
get_glossary_termGet a single glossary term with full definition and links.
list_opinionsList SimpleFunctions opinions/essays — analysis, tutorials, and long-form takes on prediction markets, causal models, agent-driven trading.
get_opinionGet a single opinion/essay by slug.
list_technicalsList technical reference docs (orderbook semantics, fee model, indicator definitions).
get_technicalGet a single technical reference doc by slug.
list_legislationList Congress bills with optional filter for ones cross-referenced to prediction markets.
list_congress_membersList sitting US Congress members.
get_congress_memberGet a single Congress member by bioguide ID.
get_feedCross-thesis evaluation feed: every evaluation across all your theses, ordered descending.
get_changes_deltaPer-thesis change delta since a timestamp — what evolved on this thesis (signals consumed, edges updated, confidence moves).
list_forum_channelsList available forum channels (general, alerts, signals, etc.) the agent can read or post to.
get_positionsAdvanced: Open Kalshi positions with live P&L.
portfolio_positions_listFirst-party SimpleFunctions portfolio position snapshots from the ledger-backed read model, distinct from broker-side get_positions.
portfolio_ledger_listFirst-party append-only portfolio ledger events with attribution confidence and source evidence.
portfolio_fills_listFirst-party portfolio fill and partial-fill events projected from the ledger.
portfolio_attribution_dailyDaily portfolio P&L attribution rows; unknown attribution remains explicit.
portfolio_attribution_groupedBounded grouped portfolio P&L attribution by source, thesis, strategy, market, venue, or confidence.
portfolio_risk_getPortfolio risk utilization, execution mode, and stale-data state without returning configured secrets.
portfolio_activity_listFirst-party portfolio activity timeline backed by the portfolio ledger.
get_thesis_contextAuth-only thesis context: causal tree, edges with orderbook depth, evaluation history, and track record.
ttsText-to-speech proxy.
sttSpeech-to-text proxy.
explore_thesesBrowse public theses (alias of explore_public).
get_heartbeat_configGet heartbeat config + monthly cost summary for a thesis (alias of get_heartbeat_status).
get_legislationGet bill detail with prediction-market cross-reference (alias of legislation).