Skip to main content

Tool catalog

The Context MCP server provides 25 tools organized by category. Tools are automatically selected based on your natural language requests.

Markets

Read-only tools for market data. No authentication required.
ToolDescription
context_list_marketsList and filter prediction markets by status, category, or search query
context_get_marketGet detailed information about a specific market including outcomes and prices
context_get_quotesGet current bid/ask quotes for a market’s outcomes
context_get_orderbookGet the full orderbook (bids and asks) for a market
context_simulate_tradeSimulate a trade to see expected fill price and size before placing
context_price_historyGet historical price data for a market’s outcomes
context_get_oracleGet oracle resolution data and status for a market
context_global_activityGet recent trading activity across all markets

Orders

Order management tools. Require API key and private key.
ToolDescription
context_place_orderPlace a limit or market order. Uses outcome (yes/no) for the token and side (buy/sell) to enter or exit positions
context_cancel_orderCancel an open order by ID
context_cancel_replace_orderAtomically cancel an existing order and place a new one
context_my_ordersList your open orders, optionally filtered by market
context_bulk_create_ordersCreate multiple orders in a single atomic batch
context_bulk_cancel_ordersCancel multiple open orders in a single batch
context_bulk_ordersAtomically create and cancel orders in one call (useful for updating quotes)
context_place_order uses two parameters to specify trades: outcome (yes/no) selects the token, and side (buy/sell) determines direction. For example, outcome: "yes", side: "buy" means “buy yes tokens” while outcome: "yes", side: "sell" means “sell yes tokens to exit a position”.

Advanced order parameters

The following optional parameters are available on all order placement tools:
ParameterTypeDescription
expirySecondsnumberAuto-expire the order after N seconds
inventoryModeenum: any, hold, mintControl token inventory mode
takerOnlybooleanIf true, order must fill immediately or is voided

Portfolio

Portfolio and balance tools. Require API key.
ToolDescription
context_get_portfolioGet your current positions across all markets
context_get_balanceGet your USDC balance (wallet and settlement)

Account

Account setup and management tools.
ToolDescription
context_generate_walletGenerate a new trading wallet or import an existing private key. Saves to ~/.config/context/config.env
context_wallet_statusGet comprehensive wallet status: address, ETH balance, USDC balance, approval status, readiness
context_account_setupApprove exchange contracts for trading (USDC approval + operator approval)
context_depositDeposit USDC into the exchange for trading
context_withdrawWithdraw USDC from the exchange back to your wallet
context_mint_test_usdcMint test USDC on testnet for paper trading

Market creation

Tools for creating new prediction markets.
ToolDescription
context_agent_submit_marketSubmit a fully-formed market draft, poll for oracle approval, and deploy on-chain — all in one call
context_create_marketDeploy an approved market on-chain (use after manual agent-submit flow)
Read-only tools (all Market tools) work without any authentication. Agents can browse and analyze markets with zero setup.