Trade-engine-MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tasks | {
"list": {},
"cancel": {},
"requests": {
"tools": {
"call": {}
}
}
} |
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": true,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_fii_dii_dataA | Fetch FII/FPI and DII trading activity (buy, sell, net values) from NSE India. |
| get_pcrA | Fetch option Put-Call Ratio (PCR) for Nifty 50 options. Attempts NSE first, falls back to Upstox. |
| get_macro_dataB | Fetch global index and commodity quotes from Yahoo Finance. |
| get_chart_dataA | Fetch chart candle data for a given symbol. Checks Upstox first (intraday only) and falls back to Yahoo Finance. |
| get_screener_quotesC | Fetch batch stock quotes for screeners. Uses Upstox quotes if connected, otherwise Yahoo Finance. |
| analyze_chartB | Evaluate the quality of an intraday setup based on technical levels and recent candles using AI. |
| get_ai_picksB | Select the best 1-3 intraday stock picks from a list of screener candidates using AI. |
| get_ai_predictionsA | Fetch daily BUY/SHORT/LEAVE recommendations across 25 curated liquid NSE stocks using AI (news + technicals). |
| run_backtestA | Run historical simulation of the 4-check trading algorithm on 5-minute candles over N days. |
| get_news_sentimentB | Check major news and sentiment for a given stock using AI to decide if it is clear or risky for intraday trading. |
| get_market_modeB | Calculates the weighted BUY/SHORT/CHOPPY market mode based on global and domestic market changes (Nifty, BankNifty, FII net flows, Nasdaq, Dow Jones, Nikkei, Hang Seng, PCR, India VIX). |
| validate_trade_setupA | Runs the 4-check trade validation system (VWAP distance/reversal check, RSI zone/reversal check, Volume surge check, and Trade window time check) to verify if an entry signal is valid. |
| build_trade_planB | Calculates the trade entry details including Quantity, Stop-Loss, Target 1, Target 2, Risk in Rupees, Gross PnL, Net PnL (including daily fees), and Risk-to-Reward Ratio. |
| check_support_resistanceB | Checks the entry price relative to previous day High (PDH) and Low (PDL) to flag breakouts or warn if entry is too close to resistance/support zones. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Health Checks | Current health status of all registered health checks |
| Market Mode | UI component for Market Mode |
| Validate Trade Setup | UI component for Validate Trade Setup |
| Build Trade Plan | UI component for Build Trade Plan |
| Support Resistance | UI component for Support Resistance |
| Widget Examples | Provides metadata and examples for all registered UI widgets |
TDQS
Scored across 14 tools
Each tool targets a distinct aspect of trading: data fetching, analysis, validation, planning, and backtesting. There is no functional overlap; even similarly named tools like analyze_chart and validate_trade_setup have clearly different purposes.
All tool names follow a consistent verb_noun pattern using snake_case (e.g., get_chart_data, analyze_chart, build_trade_plan). No mixed conventions or vague verbs.
14 tools is a well-scoped count for a trading engine server. Each tool serves a clear purpose without redundancy, covering data retrieval, AI analysis, backtesting, and trade planning.
The tool set covers the full trading workflow: data fetching, market analysis, AI predictions, backtesting, trade validation, planning, and support/resistance checking. No obvious gaps for the intended intraday trading domain.