Skip to main content
Glama

Stock Trade Flow

get_stock_flow
Read-only

Raw intraday stock trade-flow for one symbol. Views: 'recent' (recent stock trades, newest first), 'summary' (stock trade-flow totals), 'blocks' (large stock trades), 'history' (minute stock-flow buckets, newest first), 'cumulative' (cumulative net stock flow), 'bars' (multi-resolution OHLCV+flow bars, oldest first, for live chart feeds).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
viewYesView: 'recent' | 'summary' | 'blocks' | 'history' | 'cumulative' | 'bars'
limitNoMax trades returned (1–500, default 50). Only applies to 'recent'.
apiKeyNoFlashAlpha API key. Omit when calling via /mcp-oauth (OAuth flow); required on /mcp.
symbolYesStock ticker (e.g. SPY, AAPL, TSLA)
minutesNoWindow size in minutes for 'history', 'cumulative', or 'bars' (1–10080, default 60/240).
resolutionNoBar resolution for 'bars' view: '1s', '1m', '5m', '15m', '30m', '1h', '4h'. Required when view='bars'.

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds meaningful behavioral context: ordering of results (newest first, oldest first), multi-resolution bar capability, and the raw/intraday nature of the data. It does not disclose return formats or pagination, but the view list provides substantial transparency about what the agent will receive.

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 a single, well-structured sentence with a front-loaded purpose and a compact list of views. Every phrase earns its place—no filler or redundancy. It is appropriately sized for a tool with multiple modes.

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?

For a tool with 6 parameters and no output schema, the description covers the core functionality, all views, ordering, and even notes the live chart feed use case. The schema provides parameter details, and the description adequately complements it, though it does not mention potential errors or rate limits, which would be nice but not essential.

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 main description adds significant value by explaining each view's semantics (e.g., 'recent' = recent stock trades newest first, 'summary' = totals, 'blocks' = large trades), which the schema's enum-like description does not detail. This helps the agent correctly choose and parameterize the view.

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 clearly states the tool's function as 'Raw intraday stock trade-flow for one symbol,' which is specific and distinguishes it from option flow or summary tools. It also enumerates distinct views, making the scope concrete and differentiating it from sibling tools like get_stock_summary or get_option_flow.

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 implies usage by listing views and their intended purposes (e.g., 'bars' for live chart feeds), but it does not explicitly compare to alternatives or state when not to use this tool. There is no direct guidance on choosing get_stock_flow over get_flow_summary or get_stock_quote, so usage context is only partially conveyed.

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.6/5.0
Disambiguation2/5

Many tools have overlapping scopes: get_stock_summary, get_volatility, get_vrp, and get_exposure_summary all return comprehensive analytics with shared metrics, making it hard to pick the right one. The flow family (get_flow_live, get_flow_summary, get_flow_scan, get_flow_signals, etc.) has significant redundancy — get_flow_live bundles data also available via separate tools.

Naming Consistency4/5

Tool names mostly follow a consistent get_<noun> pattern, with clear subgroups like get_historical_* and get_*_exposure. Minor deviations exist: post_screener, post_structure_pnl, calculate_greeks, and solve_iv break the get_ convention, but they are still predictable and readable.

Tool Count1/5

With 73 tools, this is far beyond the 3–15 tool sweet spot and even the 50+ extreme mismatch threshold. While the domain is broad, the enormous surface is bloated by near-duplicate historical replay variants (18 get_historical_* tools) and multiple overlapping summary endpoints, making it unwieldy for an agent.

Completeness5/5

The tool set provides thorough coverage of options analytics: quotes, chains, greeks, volatility surface, VRP, exposure, flow, historical replay, screening, and strategy analysis. There are no obvious dead ends — core workflows like calculating greeks, getting exposure, and screening the universe are all supported.

Resources