Skip to main content
Glama

TheStrat for agents

potential_signals_next_bar

Potential signals for the next bar across a basket: every setup whose trigger the next bar (or the open bar) can take, grouped by direction and pattern, with trigger, target and level of reclaim per symbol. A price action watchlist for agents.

Input Schema

NameRequiredDescriptionDefault
nowNoCurrent time, ISO 8601. Decides if the last bar is still open. Default: the server clock.
as_ofNoOptional ISO time. Use only bars that start at or before this time (replay a past bar).
basketYesBars per symbol on ONE timeframe, oldest first: {"XLE": [...], "XOM": [...], ...}. Same bar format as find_signals. Limits: 60 symbols, 500 bars per symbol (10 to 50 are enough). Swing: a sector ETF + its holdings on W. Intraday: SPY QQQ DIA IWM on 30 or 60.
timeframeNoTimeframe of the bars: 5, 15, 30, 60, D, W, M, Q or Y.D

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It adds useful output context, namely grouping by direction and pattern and per-symbol trigger, target, and reclaim level, but it does not explicitly state that the tool is read-only, places no orders, or has no side effects, which matters for an agent-facing trading watchlist.

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?

The description is short and front-loaded, stating the core purpose before adding output grouping details. The closing sentence, "A price action watchlist for agents," is helpful framing but slightly extra relative to the dense first sentence.

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 four parameters, a nested basket object, no annotations, and no output schema, the description does a good job explaining the returned signal context: direction, pattern, trigger, target, and reclaim level per symbol. It could still be more complete about empty results or exact return structure, but it is sufficient for correct invocation.

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%, and the schema already explains now, as_of, basket structure, limits, and timeframe thoroughly. The description reinforces the basket-wide and next-bar framing but adds no parameter syntax or format detail beyond what the schema provides, so the baseline of 3 is appropriate.

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?

The description states a specific verb-like purpose and resource: potential signals for the next bar across a basket, including every setup whose trigger the next bar or open bar can take. It clearly describes the output grouping and fields, but it does not explicitly name or distinguish itself from siblings such as find_signals or signals_in_force.

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 wording implies usage: a next-bar watchlist for agents, with reference to the open bar and basket-wide setups. However, it gives no explicit guidance on when to use this instead of find_signals, signals_in_force, or sim_setups, so selection still depends on inference from the name and description.

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