trademcp_screen_stocks
Screen Indian stocks by fundamental and technical criteria across NIFTY or NSE universes. Filter by valuation, profitability, growth, debt, RSI and moving averages, then return matching stocks.
Instructions
Screen Indian stocks by fundamental and technical criteria.
Scans an index universe (or every NSE-listed stock), pulls the latest fundamentals for each name, applies the fundamental filters, then applies the technical filters to the survivors and returns the best matches.
Args: universe: 'NIFTY 50', 'NIFTY 100', 'NIFTY 500' or 'NSE' min_pe: maximum P/E max_pe: minimum P/E min_roe: minimum return on equity (%) min_roce: minimum return on capital employed (%) min_net_margin: minimum net margin (%) max_debt_to_equity: maximum debt/equity min_market_cap: minimum market cap in rupees min_dividend_yield: minimum dividend yield (%) min_current_ratio: minimum current ratio min_revenue_cagr: minimum 3-year revenue CAGR (%) rsi_below: maximum RSI (oversold screen) rsi_above: minimum RSI (overbought screen) above_sma50: require price above the 50-day average above_sma200: require price above the 200-day average limit: maximum rows to return sort_by: field to sort by sort_order: 'desc' (default) or 'asc' response_format: 'markdown' or 'json'
Returns: Markdown table or JSON with 'matches' and the filter set applied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum stocks to return (1-100) | |
| max_pe | No | Only stocks with P/E at or above this | |
| min_pe | No | Only stocks with P/E at or below this | |
| min_roe | No | Minimum return on equity (%) | |
| sort_by | No | Sort field: 'market_cap', 'pe_ratio', 'price_to_book', 'roe_pct', 'roce_pct', 'revenue_cagr_3y_pct', 'dividend_yield_pct', 'health_score' | market_cap |
| min_roce | No | Minimum return on capital employed (%) | |
| universe | No | Stock universe to scan: 'NIFTY 50', 'NIFTY 100', 'NIFTY 500' or 'NSE' (all listed) | NIFTY 50 |
| rsi_above | No | Only stocks with RSI over this (overbought screen) | |
| rsi_below | No | Only stocks with RSI under this (oversold screen) | |
| sort_order | No | Sort direction: 'desc' or 'asc' | desc |
| above_sma50 | No | Only stocks trading above their 50-day average | |
| above_sma200 | No | Only stocks trading above their 200-day average | |
| min_market_cap | No | Minimum market cap in rupees | |
| min_net_margin | No | Minimum net profit margin (%) | |
| response_format | No | 'markdown' or 'json' | markdown |
| min_revenue_cagr | No | Minimum 3-year revenue CAGR (%) | |
| min_current_ratio | No | Minimum current ratio | |
| max_debt_to_equity | No | Maximum debt to equity ratio | |
| min_dividend_yield | No | Minimum dividend yield (%) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |