Skip to main content
Glama

candlestick_patterns

Scan recent bars for candlestick patterns and assess if each is a genuine reversal signal based on trend context.

Instructions

Detect candlestick patterns in the most recent bars.

Args: symbol: Ticker. market: "crypto", "stock" or "idx". interval: Candle size. lookback: How many recent bars to scan (1-20).

Each hit reports the trend it appeared in and whether that makes it a genuine reversal — a hammer inside an uptrend is not a bottom signal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
marketNostock
symbolYes
intervalNo1d
lookbackNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It adds valuable context by explaining that each hit reports the trend it appeared in and whether it is a genuine reversal, with a concrete example of a hammer in an uptrend. This goes beyond basic functionality and informs the user about the tool's interpretive behavior, which is a significant transparency bonus.

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 compact and well-structured, with an introductory sentence, an Args section explaining each parameter, and a final note adding important context. Every sentence contributes value without redundant fluff. The formatting is clean and scannable.

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?

An output schema exists to handle return values, so the description is relieved from explaining outputs. The description covers the core purpose, all parameters, and a key interpretive nuance (trend context). Missing elements include potential limitations (e.g., which pattern types are supported) and behavior when no patterns are found, but overall it is sufficiently complete for a single-purpose detection tool.

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 0%, so the description must compensate. It does so by providing plain-language definitions for all four parameters: symbol ('Ticker'), market (with explicit allowed values 'crypto', 'stock', or 'idx'), interval ('Candle size'), and lookback (with a range '1-20'). While 'interval: Candle size' is somewhat vague, it still provides meaning beyond the raw schema, making the tool more usable.

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 purpose: 'Detect candlestick patterns in the most recent bars.' The verb 'detect' is specific, and the resource 'candlestick patterns' is narrowly defined, distinguishing it from broader tools like technical_analysis or multi_timeframe_analysis. The scope ('most recent bars') adds further specificity.

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 for detecting candlestick patterns but does not explicitly state when to use this tool versus alternatives. There is no mention of when not to use it or comparison with sibling tools like technical_analysis or market_snapshot. The note about trend context provides some guidance on interpretation, but no explicit exclusions or alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kumaraprayoga68-sketch/market-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server