Skip to main content
Glama
stockscreen-mcp

stockscreen-mcp

run_screen

Read-only

Apply a preset screen and custom filters together to identify stocks matching all conditions across a market's full daily scan.

Instructions

Run a preset screen and/or custom filters over a market's full daily scan (every listed stock).

A preset matches exactly the stocks the project's website shows for it. Filters are combined with AND, including with the preset.

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": "run_screen"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows to return; total_matches counts all.
marketNoMarket code, e.g. US, HK, JP, IN, DE. See list_markets.US
screenNoPreset id from list_screens, e.g. minervini, canslim, vcp.
filtersNoExtra conditions, all of which must hold.
sort_byNoField to sort by; defaults to the screen's own sort.
descendingNoDirection for sort_by; ignored without sort_by.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.2
    • changedInput schema / $defs / Filter / properties / field / description
      Previous value: -"Scan field, e.g. rs_rating, rs_rating_3m, stage (1-4), ibd_group_rank, eps_growth_qq, sales_growth_qq, current_price, volume, market_cap_usd, week_52_high_distance, minervini_score, canslim_score, vcp_score, ma_alignment, passes_template, se_pattern_primary."New value: +"Scan field, e.g. rs_rating, rs_rating_3m, stage (1-4), ibd_group_rank, eps_growth_qq, sales_growth_qq, current_price, volume (average daily traded value in the listing currency, not shares), market_cap_usd, week_52_high_distance, minervini_score, canslim_score, vcp_score, ma_alignment, passes_template, se_pattern_primary. describe_fields defines them all."
    • addedInput schema / properties / limit / description
      Added value: +"Rows to return; total_matches counts all."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered. The description adds two genuinely behavioral facts beyond them: a preset reproduces exactly the stock set shown on the project's website, and filters combine with AND including with the preset. It does not discuss result caps or scan freshness, but the added semantics are substantive.

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?

Two short sentences, front-loaded with the core action and followed immediately by the combination semantics. No filler, no repetition of schema content, nothing that could be cut.

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

Completeness4/5

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

With an output schema present, return values need no explanation, and the description covers the main behavioral question of how preset and filters interact. Minor gaps remain around defaults in the absence of both screen and filters, but the essentials for correct invocation are present.

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 earns an increment by explaining how the filters parameter interacts with the screen parameter (AND-combined, preset included), a combination rule the schema does not express even though it documents each parameter individually.

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 ('Run a preset screen and/or custom filters') and scopes it to 'a market's full daily scan (every listed stock)', so the agent knows this is a full-universe screener rather than a single-stock lookup. It does not explicitly contrast itself with siblings like list_screens or screen_track_record, but the operation is unambiguous.

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 'and/or' phrasing implies that preset, filters, or both may be supplied, which is useful usage context. However, there is no explicit when-to-use/when-not guidance, no mention that presets must come from list_screens or that fields must come from describe_fields — those pointers live only in the schema, not the description.

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