Skip to main content
Glama

Get Strategy Signal

get_strategy
Read-only

Get a strategy decision envelope for one of 11 options-based trading signals. signal enum values and what each answers: • flow_anomaly — directional options-flow imbalance: is call/put premium skewing bullish or bearish? • expiry_positioning — OPEX pin risk and iron-fly setup: should you fade into expiry? • zero_dte — same-day range compression: what is the 0DTE expected range and dealer regime? • dealer_regime — dealer gamma regime classifier: positive vs negative gamma and hedging pressure. • vol_carry — VRP carry credit-spread selection: is IV elevated enough to sell premium via credit spreads? • yield_enhancement — covered-call / cash-secured-put income overlay: optimal strike for yield capture. • surface_anomaly — SVI residual rich/cheap wing detection: where is the vol surface mispriced? • skew — 25-delta skew / risk-reversal signal: put vs call skew balance and direction. • term_structure — ATM-IV term-structure signal: contango vs backwardation and roll opportunities. • tail_pricing — downside-tail richness signal: are OTM puts cheap or expensive vs history? • sell_window: should you sell options today? A daily answer per expiry (same day and the expiries closest to one week, two weeks and one month out) for SPY, QQQ and IWM, set from the previous session's close and fixed for the session. Each window is sell, skip or unavailable; on sell it lists the trades to place, with concrete strikes, each contract's delta and quote, the mid credit and the exit rule. Its own response shape, not the envelope. Data, not advice. Basic plan through November 2026, Growth from December 1, 2026.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "symbol": "<symbol>",
      "signal": "<signal>"
    },
    "name": "get_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
apiKeyNoFlashAlpha API key. Omit when calling via /mcp-oauth (OAuth flow); required on /mcp.
signalYesStrategy signal (required). One of: flow_anomaly, expiry_positioning, zero_dte, dealer_regime, vol_carry, yield_enhancement, surface_anomaly, skew, term_structure, tail_pricing, sell_window.
symbolYesStock/ETF/index ticker (e.g. SPY, AAPL, SPX)
income_structureNoyield_enhancement only: covered_call (default) or cash_secured_put.
stock_cost_basisNoyield_enhancement only: positive per-share cost basis for covered-call return calculations.
fees_per_contractNoyield_enhancement only: nonnegative opening fees in USD per contract; omit if unknown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / signal / description
      Previous value: -"Strategy signal (required). One of: flow_anomaly, expiry_positioning, zero_dte, dealer_regime, vol_carry, yield_enhancement, surface_anomaly, skew, term_structure, tail_pricing."New value: +"Strategy signal (required). One of: flow_anomaly, expiry_positioning, zero_dte, dealer_regime, vol_carry, yield_enhancement, surface_anomaly, skew, term_structure, tail_pricing, sell_window."
  2. Changed3 schema fields changed
    • addedInput schema / properties / fees_per_contract
      Added value: +{
      +  "default": null,
      +  "description": "yield_enhancement only: nonnegative opening fees in USD per contract; omit if unknown.",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / income_structure
      Added value: +{
      +  "default": null,
      +  "description": "yield_enhancement only: covered_call (default) or cash_secured_put.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / stock_cost_basis
      Added value: +{
      +  "default": null,
      +  "description": "yield_enhancement only: positive per-share cost basis for covered-call return calculations.",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
  3. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only supply readOnlyHint=true, so the description carries the rest, and it does add real behavioral context: sell_window is computed from the previous session's close and fixed for the session, returns its own response shape rather than the envelope, and yields sell/skip/unavailable with concrete strikes, deltas, quotes, mid credit and exit rule. It also discloses an entitlement window (Basic through Nov 2026, Growth from Dec 1, 2026) and labels output as data, not advice. The plan/date sentence is cryptic and never explains what happens to Basic users after that date.

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

Conciseness3/5

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

The front-loaded purpose sentence is good and the bulleted enum glossary is scannable, but the sell_window bullet is a dense paragraph that breaks the bulleted pattern and mixes signal semantics with plan-tier marketing text. That last sentence about plan dates and the dangling 'sell_window:' formatting cost clarity for information an agent does not need to select or invoke the tool.

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

Completeness3/5

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

With no output schema, the description is the only place return values can be explained, and it only does so for sell_window ('its own response shape'). The 'strategy decision envelope' returned by the other ten signals is never unpacked — no mention of direction, confidence, or scoring fields — leaving an agent unable to anticipate what it will receive for the majority of calls.

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 would be 3, but the description adds genuine meaning by explaining what each of the 11 signal enum values answers rather than merely listing them. The yield_enhancement-only parameters (income_structure, stock_cost_basis, fees_per_contract) are scoped in the schema but not discussed in the description, and sell_window's dependency on symbol coverage (SPY/QQQ/IWM only) is buried inside a bullet.

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 opening sentence names a specific verb and resource — a 'strategy decision envelope' for one of 11 options-based signals — which is clearly distinct from raw-data siblings like get_gex or get_skew_term. The per-signal bullet list further pins down what each variant answers. It stops short of 5 because it never explicitly contrasts itself with the many sibling analytics tools an agent must choose between.

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?

Usage is implied well: each bullet frames the question a signal answers ('should you fade into expiry?', 'is IV elevated enough to sell premium?'), so an agent can pick a signal from the question it needs answered. However, there is no explicit when-to-use-this-vs-alternative guidance — nothing says to prefer get_skew_term for raw skew series over the 'skew' signal here, or when the envelope is preferable to get_narrative.

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