Skip to main content
Glama
tanmaymish

MarketPulse MCP

by tanmaymish

stock_screener

Screen Nifty 50 or S&P 500 stocks by financial criteria like P/E ratio, ROE, market cap, dividend yield, and debt-to-equity ratio to find value or high-yield opportunities.

Instructions

Screen stocks by multiple financial criteria. [PRO]

Filter Nifty 50 or S&P 500 stocks by P/E ratio, ROE, market cap, dividend yield, debt/equity ratio, and sector.

Args: exchange: "NSE" for Indian stocks, "US" for US stocks (default: NSE) pe_max: Maximum P/E ratio (e.g., 15 for value stocks). 0 = no filter. pe_min: Minimum P/E ratio. 0 = no filter. roe_min: Minimum Return on Equity in % (e.g., 20). 0 = no filter. market_cap_min: Minimum market cap in USD (e.g., 1000000000 for $1B). 0 = no filter. dividend_yield_min: Minimum dividend yield in % (e.g., 2). 0 = no filter. debt_equity_max: Maximum debt-to-equity ratio (e.g., 50). 0 = no filter. sector: Filter by sector name (e.g., "Technology", "Financial"). Empty = all. limit: Max number of results (default: 15)

Examples: stock_screener("NSE", pe_max=15, roe_min=20) → Value stocks with high ROE stock_screener("NSE", dividend_yield_min=3) → High dividend yield stocks stock_screener("US", pe_max=20, sector="Technology") → Cheap US tech stocks

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
pe_maxNo
pe_minNo
sectorNo
roe_minNo
exchangeNoNSE
market_cap_minNo
debt_equity_maxNo
dividend_yield_minNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry the behavioral disclosure burden. It effectively communicates that this is a read-only screening operation, indicates the 'PRO' requirement, and explains the filtering logic including the '0 = no filter' convention. It doesn't detail rate limits or data freshness, but for a screener these are less critical.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a summary line, a detailed args section, and practical examples. It is somewhat verbose due to the number of parameters, but each section earns its place and the information is front-loaded with the core purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (9 parameters) and the lack of both annotations and schema-level descriptions, this description is remarkably complete. It covers the stock universe, all filter criteria, the PRO requirement, and provides multiple examples that illustrate realistic usage. An output schema exists, so the absence of return-value documentation is acceptable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description fully documents all 9 parameters with meanings, units, examples, and default behaviors. This goes far beyond the bare schema and gives the agent everything needed to set meaningful filter values.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with 'Screen stocks by multiple financial criteria,' which is a specific verb+resource statement that immediately defines the tool's purpose. It further clarifies the scope by naming Nifty 50 and S&P 500 and listing concrete filter metrics (P/E, ROE, market cap), making it clearly distinct from sibling quote/historical tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use the tool, with examples like 'Value stocks with high ROE' and 'High dividend yield stocks.' While it doesn't explicitly name alternatives or state when not to use it, the screening focus is evident and the examples serve as practical usage guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tanmaymish/MarketPulse-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server