Skip to main content
Glama
order-flow-mcp

order-flow-mcp

by zadescoxp

Footprint candles

get_footprint
Read-only

Fetch footprint candles with per-price bid/ask volume, delta, CVD, POC, and VWAP to analyze order flow and detect stacked imbalances.

Instructions

Footprint (bid × ask volume per price row) candles: OHLC, volume, delta, CVD, POC, VWAP, per-row bid/ask volume with imbalance flags, and stacked imbalances. Rows are grouped so each candle has at most max_rows rows.

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_footprint"
  }
}

Input Schema

NameRequiredDescriptionDefault
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".
candlesNoMost recent candles to return (default 6).
max_rowsNoMax price rows per candle (default 24).
row_ticksNoFixed row height in ticks (overrides max_rows).
timeframeNoCandle timeframe (default 5m).
market_typeNo"perp" (default) or "spot".
include_rowsNoInclude per-row volumes (default true). False returns candle summaries only.
wait_secondsNoSeconds to wait for first data when a market is not streaming yet (default 10).
stacked_levelsNoConsecutive imbalanced rows that count as stacked (default 3).
imbalance_ratioNoImbalance ratio: ask/bid or bid/ask volume at the same row (default 3).

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 rows are grouped so each candle has at most max_rows rows, which is useful structural context, but it omits behavior implied by parameters such as wait_seconds (waiting for streaming data) and venue aggregation defaults.

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?

Two dense, front-loaded sentences with no wasted words. The key resource definition comes first, followed by the row-grouping constraint, and every clause contributes useful information.

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

Completeness4/5

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

For an 11-parameter data-retrieval tool with no output schema, the description does a good job listing return fields and the row grouping rule. However, it does not describe the exact return structure (e.g., nested rows per candle) or streaming/wait behavior, leaving minor gaps for a complex tool.

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 the schema already documents all 11 parameters thoroughly, including defaults and constraints. The description only references max_rows and otherwise adds no meaning beyond the schema, making the baseline score appropriate.

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 identifies the resource as footprint candles and enumerates the specific fields returned (OHLC, volume, delta, CVD, POC, VWAP, per-row bid/ask, imbalance flags, stacked imbalances). This is more specific than a generic getter, but it does not explicitly differentiate the tool from siblings like get_volume_profile or get_order_book, leaving the agent to infer the distinction from the field list.

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

Usage Guidelines2/5

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

The description states what data the tool returns but gives no guidance on when to use it versus alternatives, no prerequisites, and no exclusions. An agent must infer the use case from the resource name and returned fields alone.

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