Skip to main content
Glama
order-flow-mcp

order-flow-mcp

by zadescoxp

Venue comparison

get_venue_comparison
Read-only

Compare venues for an aggregated market: see each exchange's price premium vs median, 60s volume share and delta, and which venue leads price with lag in ms.

Instructions

Cross-exchange view for an aggregated market: each venue's last price premium vs the median, 60s volume share and delta, and which venue leads price (lag in ms).

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

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 safety is covered. The description adds genuine behavioral context by fixing the observation window (60s volume share) and the meaning of the leader/lag output, but says nothing about how venues that do not list the market are handled or how aggregation behaves when a venue is stale.

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 front-loaded sentence with no filler, and the metric list is placed where a reader hits it first. It is dense and parenthetical in places ('lag in ms'), which costs a little readability but wastes no words.

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, the description usefully doubles as a return-value spec by naming premium, volume share, delta, leader and lag. Combined with fully documented parameters, an agent has enough to call it correctly; the main remaining gap is behavior around non-listing or not-yet-streaming venues.

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 venue (including the 'all' default and the exchange list), symbol, market_type and wait_seconds are all documented in the schema. The description's mention of 'each venue' and 'aggregated market' loosely ties to the venue parameter but adds no new syntax or semantics, 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 the resource (a cross-exchange view of an aggregated market) and enumerates the exact metrics returned: last-price premium vs the median, 60s volume share and delta, and price-leading venue with lag in ms. That is far more specific than the bare name, though it never explicitly contrasts itself with neighbours like get_market_snapshot or get_order_book.

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 or when-not-to-use statement and no named alternative. An agent can infer that this is for cross-venue comparison, but nothing tells it whether to prefer this over get_market_snapshot or get_order_book when both would answer a price question.

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