Skip to main content
Glama
bitbankinc

bitbank-lab-mcp

Official
by bitbankinc

validate_candle_data

Validate OHLCV candlestick data quality for completeness, duplicates, consistency, and anomalies. Get a 0-100 quality score before analysis or backtesting.

Instructions

[Data Quality / Validation] OHLCVローソク足データの品質検証。 分析やバックテスト前に「このデータ信用できる?」を確認するためのツール。 完全性(歯抜け)・重複・OHLCV整合性・価格異常値・出来高異常値を検出し、0-100の品質スコア(A-F)を算出。 ペアの流動性ティア(major/mid/minor)を自動判定し、暗号資産のファットテール分布や低流動性ペアの出来高ゼロを考慮した適切なデフォルト閾値を適用。 閾値は price_sigma, volume_multiplier で手動調整も可能。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tzNoタイムゾーン(デフォルト: Asia/Tokyo)Asia/Tokyo
dateNoYYYYMMDD or YYYY format. If omitted, uses latest data.
pairNobtc_jpy
typeNo1day
limitNo検証対象のローソク足本数(10〜1000)
price_sigmaNo価格変化率がこの σ を超えたら異常値とみなす。省略時はペアのティア(major/mid/minor)に応じて自動設定
volume_multiplierNo出来高が全体平均の何倍を超えたらスパイクとみなすか。省略時はペアのティアに応じて自動設定
Behavior4/5

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

Describes detection logic, auto-thresholds based on liquidity tier, and adjustable parameters. Without annotations, it could be clearer about read-only nature, but the validation intent is well communicated.

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?

Single paragraph with logical flow: purpose, use case, detection features, auto-tier logic, manual adjustment. It is concise given the number of parameters, though slightly verbose with redundant phrases like '暗号資産のファットテール分布'.

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?

Covers core validation functionality and threshold logic but lacks detail on return format (e.g., whether it returns a score alone or a report with anomaly details). No output schema exists, so description should ideally describe what the agent receives.

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?

Adds meaning beyond schema by explaining auto-threshold behavior for price_sigma and volume_multiplier based on pair tier, and ties pair to liquidity tier. Schema coverage is 71%, and description compensates with contextual value.

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?

Description clearly states the tool validates OHLCV candlestick data quality before analysis/backtesting, detects specific anomalies, and computes a quality score. It uniquely distinguishes from sibling analysis tools by focusing on data reliability.

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

Usage Guidelines4/5

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

Explicitly says to use before analysis or backtesting to check data reliability, providing clear context. However, it does not explicitly contrast with sibling tools or state when not to use.

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/bitbankinc/bitbank-lab-mcp'

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