Q AI — Tools Reference

Q AI provides 40+ tools that the agentic loop can invoke in response to natural language queries. Tools are organized into 7 categories and are filtered by the user's RBAC role.

Tool Flags

  • Mutating -- the tool modifies engine state (submits bundles, cancels, etc.). Marked with a checkmark below.
  • Confirm -- the tool requires explicit user confirmation before execution. All mutating tools require confirmation.

Engine Tools (5)

ToolDescriptionMutatingConfirm
engine_healthCheck engine health, uptime, and version
engine_metricsRetrieve Prometheus metrics snapshot
engine_configView current engine configuration
engine_chainsList connected chains and their status
engine_statusComprehensive status: chains, relays, bundles, profit

Bundle Tools (10)

ToolDescriptionMutatingConfirm
bundle_submitSubmit a bundle to the MEV engineyesyes
bundle_statusCheck status of a submitted bundle by hash
bundle_simulateSimulate a bundle without submitting
bundle_cancelCancel a pending bundleyesyes
bundle_listList recent bundles with optional filters
bundle_profitProfit breakdown for a specific bundle
bundle_historyHistorical bundle data with date range
bundle_gasEstimate gas for a bundle
bundle_validateValidate bundle structure and parameters
bundle_decodeDecode bundle transactions (ABI decoding)

Builder Tools (6)

ToolDescriptionMutatingConfirm
builder_blocksList recent blocks with MEV data
builder_blockGet detailed block info by number
builder_pendingView current pending block template
builder_statsBuilder performance statistics
builder_relaysConnected relay status and latency
builder_bidsRecent builder bids and outcomes

Validator Tools (6)

ToolDescriptionMutatingConfirm
validator_auctionsList recent and active auctions
validator_auctionGet specific auction details by ID
validator_bidsList bids for a specific auction
validator_settlementsSettlement transaction history
validator_payoutsPayout history for settled auctions
validator_statsValidator-side statistics

Operator Tools (8)

ToolDescriptionMutatingConfirm
ops_healthSystem-wide health overview
ops_relaysRelay connection management and status
ops_mempoolInspect current mempool state
ops_peersConnected P2P mesh peers
ops_configView and update runtime configurationyesyes
ops_logsRetrieve recent log entries
ops_alertsView active alerts and notifications
ops_diagnosticsRun diagnostic checks on components

Analyst Tools (7)

ToolDescriptionMutatingConfirm
analyst_profitProfit analytics with time range and grouping
analyst_strategiesStrategy performance breakdown
analyst_chainsPer-chain MEV analytics
analyst_trendsMEV trend analysis over time
analyst_competitionCompetitive analysis (win rates, market share)
analyst_gasGas market analysis and predictions
analyst_forensicsMEV forensic reports for wallets or protocols

MCP Ops Tools (16)

These tools are served by the MCP server and are read-only. See MCP Server for detailed documentation.

ToolDescriptionMutatingConfirm
platform_health_summaryOverall platform health summary
get_active_rideCurrent active auction details
get_rideSpecific auction by ID
get_orderBundle details by hash
list_ordersList recent bundles
list_stale_ordersBundles stuck in pending state
order_funnel_statsBundle lifecycle funnel metrics
get_bookingBlock details
get_assignmentRelay assignment for a block
list_assignmentsAll relay assignments
get_walletWallet balance and history
get_payment_intentPayment intent status
list_payment_methodsAvailable payment methods
get_surge_pricingGas surge pricing data
get_available_slotsAvailable builder slots
explain_errorHuman-readable error explanations

Natural Language to Tool Mapping

Q AI maps natural language queries to tools automatically. Here are examples of how queries resolve:

User QueryTools Invoked
"Is the engine healthy?"engine_health
"Show me profit from the last 24 hours"analyst_profit
"Profit by chain this week"analyst_profit, analyst_chains
"What's in the mempool?"ops_mempool
"Submit this bundle: [0xabc, 0xdef]"bundle_validate then bundle_submit (with confirmation)
"Simulate these transactions"bundle_simulate
"How are the relays performing?"builder_relays, ops_relays
"What MEV was in block 19482300?"builder_block
"Show me stale bundles"list_stale_orders
"Run diagnostics"ops_diagnostics
"Forensic report for wallet 0x1234..."analyst_forensics
"Compare strategies this month"analyst_strategies, analyst_trends
"What's the current auction?"get_active_ride
"Cancel bundle 0xbundle_hash"bundle_cancel (with confirmation)
"Gas market analysis"analyst_gas, get_surge_pricing

Multi-Tool Queries

Q AI can invoke multiple tools in a single query. The agentic loop iterates until all necessary data is gathered:

User: "Compare Ethereum and BSC profit this week, and show relay performance"

Tool calls:
  1. analyst_profit(chain="ethereum", range="7d")
  2. analyst_profit(chain="bsc", range="7d")
  3. builder_relays()
  4. ops_relays()

Response: "Here's your weekly comparison:
  Ethereum: 4.21 ETH profit (89 bundles)
  BSC: 1.87 BNB profit (203 bundles)
  ..."

Custom Tool Parameters

Most tools accept optional parameters for filtering and formatting:

// analyst_profit with parameters
{
  "tool": "analyst_profit",
  "arguments": {
    "chain": "ethereum",
    "range": "7d",
    "group_by": "strategy",
    "format": "table"
  }
}

// bundle_list with filters
{
  "tool": "bundle_list",
  "arguments": {
    "status": "landed",
    "chain": "ethereum",
    "limit": 20,
    "since": "2026-03-14T00:00:00Z"
  }
}
Edit this page