Skip to main content
Glama
tjackiet

bitbank-mcp-server

by tjackiet

get_flow_metrics

Analyze cryptocurrency flow metrics including CVD, aggressor ratio, and buy-sell pressure from trade data. Detects spikes and summarizes market pressure in configurable time buckets.

Instructions

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

加工契約:

  • 内部で使用する約定列は、取得パスに関わらず 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
Behavior4/5

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

Despite no annotations, the description discloses important behavioral details: internal sorting by timestampMs ascending, deduplication logic using timestampMs:price:amount:side when merging data sources, and the fact that hours parameter can fetch across multiple days. This adds substantial value beyond the schema.

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?

The description is concise with two clear sections: purpose/usage and processing contract. It front-loads the main function and uses efficient language, though the Japanese '加工契約' section is somewhat technical but necessary.

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?

Given no output schema, the description should clarify return structure. It mentions view parameter options (summary, compact, buckets, full) but does not explain what each returns. The tool has 8 optional parameters with defaults, but no description of default behavior beyond hours/limit priority.

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 coverage is 63%, and the description adds meaning for key parameters: explains that hours is prioritized over limit, specifies that limit refers to execution count not bucket count, and clarifies that hours automatically spans multiple days. This helps agents understand parameter interplay.

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: analyzing fund flow metrics (flow/CVD/aggressor ratio/buy-sell pressure) from execution data. It specifies detection of CVD, aggressor ratio, and spikes, and distinguishes it from sibling analysis tools by focusing on flow-specific metrics.

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 recommends using 'hours' over 'limit' for time range specification, but does not provide explicit guidance on when to use this tool versus alternatives. There is no 'when-not-to-use' or mention of prerequisites, limiting clarity on appropriate usage.

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

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