Skip to main content
Glama
order-flow-mcp

order-flow-mcp

by zadescoxp

Session volume profile

get_volume_profile
Read-only

Fetch volume-at-price data for a crypto symbol to identify POC, value area high/low, high-volume nodes, and per-row buy/sell delta from the streamed session.

Instructions

Volume at price for the streamed session: POC, value area high/low, high-volume nodes, and per-row buy/sell volume and delta.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "symbol": "<symbol>"
    },
    "name": "get_volume_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsNoNumber of price rows (default 40).
venueNo"all" (default, aggregate every venue listing the market) or one exchange: binance, bybit, okx, bitget, hyperliquid, deribit, coinbase, gate, kucoin, kraken, htx.
symbolYesAsset or symbol, e.g. "BTC", "ETHUSDT", "SOL-PERP".
market_typeNo"perp" (default) or "spot".
wait_secondsNoSeconds to wait for first data when a market is not streaming yet (default 10).
value_area_pctNoValue area percentage (default 70).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds that results are scoped to the streamed session, which usefully signals the data dependency, but it does not say what happens when nothing is streaming or whether wait_seconds yields an empty result versus an error. Data staleness and latency characteristics are also unmentioned.

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?

A single sentence, front-loaded with the resource and followed by the returned fields, with no filler or restatement of the tool name. It is dense but readable, and no sentence is wasted.

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?

With six parameters and no output schema, the description should carry more weight than it does; it does partially compensate by naming the returned metrics. However, it omits the operational prerequisite that a market must be streamed and says nothing about row/aggregation semantics or the cost of waiting. Adequate but with clear gaps for a tool of this complexity.

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

Parameters3/5

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

Schema description coverage is 100%, so every parameter including rows, venue, market_type, wait_seconds and value_area_pct is already documented in the schema. The description's mention of 'value area high/low' loosely corresponds to value_area_pct but adds no formatting or semantic detail beyond it. Baseline 3 is appropriate when the schema does the work.

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 states a specific resource - volume at price for the streamed session - and enumerates the concrete outputs (POC, value area high/low, high-volume nodes, per-row buy/sell volume and delta). That is far more specific than a tautology like 'get volume profile'. It stops short of naming how it differs from neighbors such as get_footprint or get_flow_series, so it lands at 4 rather than 5.

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 phrase 'for the streamed session' implies the tool only makes sense once a market is being streamed, which is a meaningful usage hint, but it is left implicit. There is no explicit when-to-use statement, no mention of the watch_markets prerequisite, and no routing to alternatives like get_footprint for a different volume-at-price view.

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