Resources & Prompts
Beyond callable tools, the Sequence MCP server provides Resources (ambient context data) and Prompts (pre-built analytical workflows) that enhance AI conversations with trading context.
Resources
MCP Resources are data endpoints that clients can read to populate conversation context. Unlike tools that must be explicitly invoked, resources provide background information the AI can reference at any time.
Static Resources
These resources return pre-computed summaries that update on the server side:
| Resource URI | Description |
|---|---|
sequence://market-overview | Cross-venue market snapshot: NBBO for all pairs, spread stats, top movers, total liquidity |
sequence://portfolio | Current positions, unrealized P&L, total portfolio value, concentration metrics |
sequence://data-quality | CoinGecko reconciliation status, stale venue count, drift per symbol |
sequence://system-status | Venue connection health, system version, uptime, connected edge count |
These are ideal for Claude Desktop, where the AI reads resources at conversation start to establish context without requiring explicit tool calls.
Dynamic Resource Templates
Parameterized resources that accept a symbol:
| Template URI | Description |
|---|---|
sequence://ticker/{symbol} | Detailed ticker for a specific pair: mid price, 24h change, high/low, spread (current + EWMA), bid/ask depth in USD, realized volatility, cross-venue dispersion |
sequence://trades/{symbol} | Recent trade feed for a symbol: last 100 trades with price, size, side, venue, and timestamp |
sequence://orderbook/{symbol} | L2 order book snapshot: top levels of bids and asks with size at each level |
To use a template, the AI resolves it with a specific symbol. For example, sequence://ticker/BTC-USD returns the full BTC-USD ticker from the DataEngine.
Resources are read-only and do not count toward MCP tool call limits. They provide context without consuming your monthly quota.
Prompts
MCP Prompts are pre-defined analytical workflows that structure the AI's approach to common tasks. When invoked, a prompt injects a system message with specific instructions and required tool calls, guiding the AI through a multi-step analysis.
analyze_market
Arguments: symbol (required)
Performs comprehensive market analysis for a trading pair:
- Fetches current NBBO and spread across all venues
- Retrieves L2 order book depth and liquidity profile
- Pulls recent trades for short-term flow analysis
- Gets DataEngine ticker stats (volatility, depth, dispersion)
- Checks for arbitrage opportunities
- Synthesizes findings into a structured market report
Example invocation:
Use the analyze_market prompt for ETH-USDT
The AI returns a report covering current pricing, liquidity depth, spread quality, recent flow direction, volatility regime, and any cross-venue opportunities.
pre_trade_check
Arguments: symbol (required), side (required), size (required)
Evaluates conditions before placing a trade:
- Checks current NBBO and spread
- Estimates market impact for the requested size using order book depth
- Reviews venue-level liquidity to predict likely SOR routing
- Fetches fee schedules for cost estimation
- Verifies sufficient balance across relevant venues
- Provides a go/no-go recommendation with expected costs
Example invocation:
Run a pre-trade check for buying 2 BTC-USD
The AI assesses whether the trade is viable, which venues will likely fill it, estimated slippage, and total expected cost including fees.
execution_review
Arguments: parent_id (required)
Reviews a completed order's execution quality:
- Retrieves full order details including child orders and fills
- Pulls TCA breakdown (VWAP, implementation shortfall, slippage)
- Analyzes venue routing decisions
- Compares achieved price vs. NBBO at submission time
- Evaluates execution time against benchmarks
- Grades overall execution quality
Example invocation:
Review the execution of order P-a1b2c3d4-e5f6-7890-abcd-ef1234567890
The AI returns a detailed post-trade analysis with fill quality assessment and suggestions for improving future execution.
recon_report
Arguments: none
Generates a data quality reconciliation report:
- Fetches the CoinGecko reconciliation data
- Identifies symbols with price drift
- Checks venue connectivity for stale feeds
- Reviews cross-venue dispersion metrics
- Flags any data integrity concerns
- Summarizes overall data quality health
Example invocation:
Run the recon report
The AI produces a data quality dashboard showing which symbols are in sync, which have drift, and whether any venue feeds are stale or disconnected.
How Resources and Prompts Work Together
In a typical Claude conversation:
- Resources provide ambient context -- the AI knows your portfolio state and market overview without being asked
- Prompts structure complex workflows -- instead of asking multiple ad-hoc questions, invoke a prompt for a thorough analysis
- Tools fill in specific details on demand -- the AI calls individual tools as needed during conversation
Combine prompts with follow-up questions. After running analyze_market for BTC-USD, ask "Now run a pre-trade check for buying 0.5 BTC" -- the AI carries forward the market context from the first analysis.