Skip to main content
Glama

screen_stocks

Read-only

Screen CSE stocks by pre-computed technical criteria (moving-average position, relative-strength rating, 52-week range, unusual volume). Every filter is optional and AND-combined; omit a filter to not constrain on it. E.g. above_ema50=true & above_ema200=true & rs_rating_min=80 finds market-leading uptrends; is_52w_high=true finds stocks making new highs today; vol_vs_sma50_pct_min=100 finds unusual volume (trading at 2x+ its 50-day average). Returns CSV, one row per matching stock.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoYYYY-MM-DD. Defaults to the latest available trading date.
sortNoColumn to sort by. Default rs_rating.
limitNoMax results (default 20, max 100).
orderNoSort direction. Default desc.
is_hv1NoFilter to stocks with the highest volume in the past 252 trading days.
is_hveNoFilter to stocks with the highest volume ever recorded today.
sectorNoOptional substring filter against the company sector name, e.g. "bank" or "materials".
is_hvytdNoFilter to stocks with the highest volume year-to-date.
is_52w_lowNoFilter to stocks at a 52-week low today.
above_ema21NoFilter by price above/below its 21-day exponential moving average.
above_ema50NoFilter by price above/below its 50-day exponential moving average.
above_sma10NoFilter by price above/below its 10-day simple moving average.
is_52w_highNoFilter to stocks at a 52-week high today.
above_ema200NoFilter by price above/below its 200-day exponential moving average (long-term trend filter).
rs_rating_maxNoMaximum relative-strength rating (1-99).
rs_rating_minNoMinimum relative-strength rating (1-99 percentile rank vs. the whole market). E.g. 80+ for market leaders.
change_pct_maxNoMaximum today's percent change.
change_pct_minNoMinimum today's percent change.
vol_vs_sma50_pct_maxNoMaximum volume-vs-50-day-average percent.
vol_vs_sma50_pct_minNoMinimum today's volume vs. its 50-day average volume, as a percent (e.g. 100 = 2x average).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the readOnlyHint and destructiveHint annotations, the description discloses key behavioral semantics: every filter is optional and AND-combined, omitting a filter leaves it unconstrained, and the output is a CSV with one row per matching stock. This gives the agent practical expectations without contradicting the annotations.

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

Conciseness5/5

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

The description is front-loaded with the core purpose, then states filter semantics, gives three illustrative examples, and closes with the output format. Every sentence earns its place; the examples are dense but directly improve usability.

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?

For a 20-parameter, fully optional tool with no output schema, the description covers the essential missing context: filter combination logic, representative queries, and return format. Parameter-level details are already fully documented in the schema, so nothing critical is left unexplained.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds value above the schema by explaining the AND-combination behavior and giving concrete filter combinations (above_ema50=true & above_ema200=true & rs_rating_min=80, is_52w_high=true, vol_vs_sma50_pct_min=100), which helps the agent compose valid queries.

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 a specific verb and resource: 'Screen CSE stocks by pre-computed technical criteria', naming the exact screening dimensions. It clearly distinguishes this from sibling tools like screen_indices and get_technicals by framing it as a multi-criteria stock screener that returns matching rows.

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 establishes clear context: it is for screening stocks by optional, AND-combined technical filters, with three concrete examples showing realistic use cases. It does not explicitly name alternatives or state when not to use it, so it falls short of a full 5, but the intended usage is unambiguous.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources