Skip to main content
Glama
stock-scanner-mcp

stock-scanner-mcp

market_breadth

Read-only

Calculate US equity market breadth statistics across NYSE, NASDAQ, and AMEX, filtering ETFs, funds, and illiquid stocks to measure standard stock performance and new highs/lows.

Instructions

Get market breadth statistics for US equities (NYSE, NASDAQ, AMEX). Recommends default 'major_us' representing NYSE+NASDAQ+AMEX. Filters out ETFs, funds, and illiquid symbols (volume < 10k) by default to measure standard stock performance.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "market_breadth"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax stocks to scan per exchange (default 3000).
universeNoStock exchange universe. major_us includes NYSE, NASDAQ, and AMEX. NYSE, NASDAQ, or AMEX queries single exchange.major_us
newHighLowThresholdPctNoProximity threshold to count new 52-week high or low (e.g. 0.5 means within 0.5% of high/low, default 0.5).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.16.5

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds genuinely new behavioral context: results are filtered to exclude ETFs, funds, and symbols with volume under 10k by default, which materially affects how an agent should interpret the output. It stops short of describing the return format or any rate/limit behavior.

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?

Three sentences, no filler, with the resource and universe scope front-loaded before the default recommendation and filtering caveat. Slightly dense but every sentence carries information.

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

Completeness3/5

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

There is no output schema, so the description carries the burden of explaining what 'breadth statistics' actually contains (advance/decline, percentage above moving averages, new highs/lows). The newHighLowThresholdPct parameter hints at high/low counts, but the returned fields remain unspecified, leaving a real gap for an analytics tool.

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

Parameters3/5

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

Schema description coverage is 100%, so all three parameters (limit, universe, newHighLowThresholdPct) are already documented with defaults and ranges. The description only reinforces the 'major_us' default and the volume filter, adding little beyond the schema. Baseline 3 applies.

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

Purpose4/5

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

States a specific verb and resource ('Get market breadth statistics') and narrows scope to US equities across NYSE, NASDAQ, and AMEX. That is clearly distinct from sibling quote/technical tools, though it never names an alternative explicitly. An agent can tell what it returns at a category level but not which specific breadth metrics.

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

Usage Guidelines3/5

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

The description recommends the default 'major_us' universe and explains the default symbol filtering, which is useful setup context. However, it gives no when-to-use guidance versus siblings such as market_get_quote or tradingview_market_indices, and no conditions for choosing a single exchange over the aggregate.

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