Skip to main content
Glama

PatternsRadar — NSE stock screener

run_scan

Run a Sift screener query against NSE equities and return the matches. Sift example: close > ema(21) > ema(50) and volume > 2x avg(volume, 20) and delivery_pct > 55. Call sift_reference first if unsure of the syntax.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
as_ofNorun as of this session (YYYY-MM-DD); defaults to the latest
limitNomaximum rows to return (default 100, max 500)
sourceYesthe Sift query to run
universeNoliquidity universe: 100, 500 (default) or 2000

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
hintNo
as_ofNo
countYes
errorNo
matchesNo
truncatedNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It clearly says the tool runs a query and returns matches, which implies a read operation, but it does not mention side effects, resource consumption, rate limits, or authentication requirements.

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?

Three sentences with an effective front-loaded purpose, a useful example, and a fallback instruction. Every sentence earns its place, and the description is compact without being under-specified.

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?

Given the high schema coverage, the presence of an output schema, and the example query, the description is largely complete. It could be improved by noting that this runs an ad-hoc scan versus saving one, but that is a nice-to-have rather than a correctness gap.

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 description coverage is 100%, so the schema already documents all four parameters. The description adds value beyond the schema by showing an example Sift expression for the required source parameter, which clarifies the expected query syntax beyond a generic parameter description.

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: "Run a Sift screener query against NSE equities and return the matches." This makes the tool's role immediately clear and implicitly distinguishes it from siblings like save_scan, list_saved_scans, and get_bars.

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 a concrete Sift query example and explicitly tells the agent to call sift_reference first if unsure of the syntax. It does not, however, state when not to use this tool or contrast it directly with save_scan/list_saved_scans.

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.

TDQS

A3.7/5.0
Disambiguation5/5

Each tool targets a clearly distinct action: symbol discovery, symbol metadata, price bars, query reference, scan execution, saved scan management, market metadata, and historical replay. run_scan and hitrate are differentiated as current matches versus past performance, so there is no meaningful overlap.

Naming Consistency4/5

Most tool names follow a lowercase snake_case verb_noun pattern such as delete_scan, get_bars, run_scan, save_scan, and search_symbols. A few names like hitrate, market_meta, and sift_reference break that pattern but remain consistent in style and readable.

Tool Count5/5

Ten tools is well-scoped for an NSE stock screener. Each tool earns its place and together they cover symbol lookup, market data, querying, saved scan lifecycle, and historical evaluation without redundancy.

Completeness4/5

The core screener workflow is covered: find symbols, fetch bars and metadata, learn the query language, run scans, manage saved scans, and evaluate hit rates. Minor gaps exist, such as no dedicated view for a single saved scan's full query and get_bars only returning recent bars, but these are workable limitations.

Resources