Skip to main content
Glama
order-flow-mcp

order-flow-mcp

by zadescoxp

Absorption & icebergs

get_microstructure_events
Read-only

Detect absorption and iceberg orders in crypto markets to spot passive liquidity holding against aggressive flow and hidden size refilling at price levels.

Instructions

Detected absorption (passive side holding against aggressive flow without price moving) and iceberg orders (hidden size refilling at a level).

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

Input Schema

NameRequiredDescriptionDefault
kindNo
limitNoMax events (default 20).
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).
window_minutesNoLook-back window (default 60).

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 read-only, cross-venue nature is covered. The description contributes domain semantics for the two event categories, which is genuinely useful, but says nothing about event payload shape, latency, or how window_minutes/wait_seconds affect behavior — the parameters that carry the most behavioral risk.

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 with two tightly parenthesized definitions, front-loaded with the resource being reported. Nothing is redundant, though the extreme brevity for a seven-parameter analytical tool leaves the reader without any orienting context.

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 seven parameters, venue aggregation, and a look-back window, this is a non-trivial analytical query, and the description explains only the two event categories. Since there is no output schema, the description could have sketched the returned event fields or ranking, but it does not; the well-covered input schema and annotations prevent this from being a severe gap.

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 86%, so nearly every parameter (kind, limit, venue, market_type, wait_seconds, window_minutes) is already documented in the schema, including enums and defaults. The description adds no additional parameter meaning — notably no guidance on choosing kind=absorption versus iceberg — 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?

The description names two concrete detected phenomena (absorption, icebergs) and defines each in operational terms — 'passive side holding against aggressive flow without price moving' and 'hidden size refilling at a level' — so an agent knows exactly what kind of output to expect. It lacks a verb phrase and never distinguishes itself from nearby tools such as get_footprint or get_big_trades, so it stops short of a 5.

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, no conditions or prerequisites, and no mention of any alternative tool. The agent must infer from the name alone that this is the tool for spotting absorption or iceberg activity rather than raw trade, order book, or footprint data.

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