Skip to main content
Glama
btanaji

TradingView MCP

by btanaji

bollinger_scan

Read-only

Scan entire crypto or stock exchanges for low Bollinger Band Width to detect volatility squeezes. Filter by threshold and timeframe to identify potential breakouts.

Instructions

Scan for assets with low Bollinger Band Width (squeeze detection). Works with crypto and stocks.

This scans a whole EXCHANGE for squeezes (canonical name is exactly bollinger_scan; there is no "get_bollinger_band_analysis" tool). For the Bollinger read of ONE symbol, call coin_analysis instead.

Example: bollinger_scan(exchange="BINANCE", timeframe="15m", bbw_threshold=0.008)

Args: exchange: Exchange — crypto: KUCOIN, BINANCE, BYBIT, MEXC; stocks: EGX, BIST, NASDAQ, NYSE, BURSA, HKEX, SSE, SZSE, TWSE, TPEX timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M. Typical squeeze thresholds: 15m→0.008, 1h→0.02, 4h→0.04, 1D→0.12 bbw_threshold: Maximum BBW value to filter (default 0.04) limit: Number of rows to return (max 100)

Returns list[dict] on success. On ANY failure returns a structured error envelope {"error": {"code": ..., "retryable": ...}}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
exchangeNoKUCOIN
timeframeNo4h
bbw_thresholdNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations already indicate readOnlyHint=true and destructiveHint=false. The description adds valuable behavioral context: it scans a whole exchange, works with crypto and stocks, and returns a structured error envelope on any failure. It also clarifies the canonical name to avoid tool confusion. This adds significant transparency beyond annotations without contradiction.

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 well-organized with a clear intro, differentiation note, example, argument descriptions, and return behavior. Every sentence adds value, and despite the length, it remains focused and front-loaded with the core purpose. No redundancy or filler.

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

Completeness5/5

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

Given the tool's complexity (4 parameters, multiple exchange categories, thresholds, sibling relationships), the description fully covers purpose, usage, parameters, return types, and error behavior. The presence of an output schema does not require explaining return values, but the description does so anyway, making it self-contained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema has 0% description coverage, so the description carries the full burden and excels. It explains each parameter: exchange lists supported venues for crypto/stocks, timeframe enumerates valid values with typical squeeze thresholds, bbw_threshold defines the filter meaning and default, limit specifies maximum rows. An example call further clarifies usage.

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: 'Scan for assets with low Bollinger Band Width (squeeze detection).' It specifies the resource (assets), the action (scan), and explicitly differentiates from a sibling tool: 'For the Bollinger read of ONE symbol, call coin_analysis instead.' This is a specific verb+resource+scope with clear sibling distinction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit when-to-use guidance: scans a whole exchange for squeezes, not a single symbol. It names the alternative tool for single-symbol analysis ('coin_analysis'). Also supplies typical threshold values per timeframe, giving concrete usage context. This goes beyond minimal guidance.

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/btanaji/tradingview-mcp'

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