Skip to main content
Glama
order-flow-mcp

order-flow-mcp

by zadescoxp

Market snapshot

get_market_snapshot
Read-only

Retrieves a one-call market snapshot with live order flow, price and spread, volume delta, VWAP, order-book imbalance, derivatives data, and plain-language signals for a symbol.

Instructions

One-call overview of live order flow for a market: price/spread, session OHLC & VWAP (σ distance), buy/sell volume & delta over 1m/5m/15m, volume z-score, realized vol, POC/VAH/VAL, order-book imbalance and depth bands, open interest & regime, funding, basis, liquidations, big prints, absorption/iceberg events, plain-language signals and venue connection status.

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

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".
market_typeNo"perp" (default) or "spot".
wait_secondsNoSeconds to wait for first data when a market is not streaming yet (default 10).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/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 output includes live streaming state ("venue connection status") and plain-language signals, but it never warns that a market may not be streaming yet or that fields can be absent/pending, which matters given wait_seconds exists in 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first clause, which is good, but the rest is a single 60-word comma-separated inventory of output fields. The list does convey coverage, yet it is unstructured and would scan better grouped into categories (price, flow, book, derivatives, signals).

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?

With no output schema, enumerating the returned metrics is genuinely useful and roughly compensates for the missing return documentation. For a four-parameter read-only tool the description is close to sufficient; only the prerequisite that the market be streaming (and what happens if not) is unaddressed.

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 all four parameters (venue, symbol, market_type, wait_seconds) are already documented in structured form. The description contributes nothing additional about parameter effects or defaults, so the baseline 3 applies.

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?

"One-call overview of live order flow for a market" states a specific verb+resource, and the field list makes the composite scope unambiguous. Sibling differentiation is only implicit (the phrase "one-call overview" signals this aggregates what get_order_book/get_flow_series/get_liquidations return separately), but no sibling is named.

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?

There is no when-to-use guidance: nothing says to prefer this snapshot over the granular siblings, nor when to drill into them instead. Selection between venue="all" and a single exchange is left entirely to the schema, with no cost/latency trade-off mentioned.

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