Skip to main content
Glama
bitbankinc

bitbank-lab-mcp

Official
by bitbankinc

get_flow_metrics

Analyze flow metrics including CVD, aggressor ratio, and buy-sell pressure from bitbank transaction data. Specify time range or number of trades to get bucketed insights.

Instructions

[Flow / CVD / Buy-Sell Pressure] 資金フロー分析(flow / CVD / aggressor ratio / buy-sell pressure)。約定データからCVD・アグレッサー比・スパイクを検出。hours(推奨)で時間範囲指定、または limit で件数指定。

データソース制約(bitbank 側仕様): 約定アーカイブ /transactions/{YYYYMMDD} は UTC 暦日単位で、当該 UTC 日の完了後にのみ公開される。進行中の UTC 日(JST 09:00 で切り替わる)の約定は /transactions (latest, 直近約60件) でしか取得できないため、当日区間のカバレッジは限定的(warning で明示される)。

加工契約:

  • 内部で使用する約定列は、取得パスに関わらず timestampMs 昇順にソート済み。

  • latest と date ベースをマージする場合、重複除去キーは timestampMs:price:amount:side(transaction_id は使用しない: 同一約定でも上流エンドポイント間で ID が一致しないケースがあるため)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tzNoAsia/Tokyo
dateNoYYYYMMDD; omit for latest
pairNobtc_jpy
viewNosummary: 集計値のみ (buckets 省略) / compact: 非ゼロバケットのみ / buckets: 直近 N バケット / full: 全バケットsummary
hoursNo指定した時間数分の約定を取得して分析(例: 8 → 直近8時間)。limit より優先。複数日にまたがる場合も自動で取得します
limitNo取得する約定件数(バケット数ではない)。hours 指定時は無視されます
bucketMsNoバケットの時間幅(ミリ秒)。デフォルト60000=1分間隔
bucketsNNo
Behavior5/5

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

With no annotations, the description fully carries the burden. It transparently discloses critical behavioral traits: data source constraints (bitbank UTC day boundary, limited coverage for current day), processing details (sorted transaction list, dedup key using timestampMs:price:amount:side without transaction_id), and warnings about limited coverage. This exceeds typical descriptions.

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 description is relatively long with three paragraphs. While it is well-structured (overview, constraints, processing details), it could be more concise. Some technical details (e.g., exact dedup key) may be overly specific for initial understanding, adding verbosity.

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 8 parameters, no output schema, and complex data source constraints, the description is remarkably complete. It covers parameter interactions, data limitations, processing internals, and potential edge cases (e.g., merge dedup). The tool is adequately documented for correct invocation.

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 63%, and the description adds significant meaning beyond the schema. It explains hours (supports multiple days), limit (ignored when hours set), view enum (summary, compact, buckets, full), bucketMs and bucketsN usage, and default values. It compensates well for the missing schema descriptions.

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 description clearly states it performs flow analysis (flow, CVD, buy-sell pressure) using transaction data to detect CVD, aggressor ratio, and spikes. It is specific to flow metrics, distinguishing it from other analytical tools like candle patterns or volume profile, though not all siblings are explicitly differentiated.

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?

The description recommends using 'hours' for time range or 'limit' for count, providing clear guidance on parameter choice. It also explains data source constraints and merge behavior, giving context for when the tool is appropriate. However, it does not explicitly state when not to use this tool versus siblings.

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