Skip to main content
Glama

candlestick_signals

Read-onlyIdempotent

Detect classic candlestick patterns on a ticker's recent daily bars: hammer, inverted hammer, bullish/bearish engulfing, doji, morning/evening star, and shooting star. Returns each detected pattern with {pattern, date, direction (bullish/bearish/neutral), barIndex}. HEURISTIC pattern detection with conservative default thresholds; for research, not investment advice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYesUS ticker (e.g. 'MSFT').
lookback_daysNoTrailing daily bars to scan for patterns (default 60).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / lookback_days / maximum
      Added value: +400
    • addedInput schema / properties / lookback_days / minimum
      Added value: +5
    • changedInput schema / properties / lookback_days / type
      Previous value: -"number"New value: +"integer"
  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 cover safety (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint), so the bar is lower; the description adds genuinely new context by disclosing that detection is HEURISTIC with conservative default thresholds and that output is not investment advice. It also spells out the returned fields (pattern, date, direction, barIndex), which goes beyond the annotations. Rate limits or latency are not mentioned, keeping it below 5.

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?

Front-loaded with the verb and scope, then return shape, then caveat. The pattern enumeration is long but useful for matching a user's request; nothing is padded, though the sentence is dense.

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?

No output schema exists, but the description compensates by naming the returned fields, and it discloses the heuristic nature and disclaimer. With annotations covering the safety profile and the schema covering both parameters, the definition is complete enough to invoke correctly; only the absence of usage routing against siblings is a gap.

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 coverage is 100%, so symbol and lookback_days are already fully documented in the schema (including the default of 60 and the 5-400 range). The description adds only the vague phrase 'recent daily bars', so baseline 3 is correct.

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?

States a specific verb (detect) and resource (classic candlestick patterns) scoped to a ticker's recent daily bars, and enumerates the exact patterns covered. This clearly separates it from sibling tools like support_resistance_levels, iv_analytics, or stock_history, which do different technical work on the same instrument.

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 context is implied by 'on a ticker's recent daily bars' and the research disclaimer, but no explicit when-to-use, when-not, or alternative is named (e.g., no routing versus other technical-analysis siblings). An agent can infer intent but gets no explicit guidance.

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.