Skip to main content
Glama

Get Live Data

get_live_data
Read-only

LIVE stream, one pair, over window_seconds (1-60): trades summary (volume_usd, net_flow_usd = aggressive delta, vwap, change_pct, largest), consolidated book (mid, spread_bps, depth_usd, bid_ratio), liquidations. Live tools need WebSocket access and hold one WebSocket connection of your plan per API key (closed after 5 min idle).

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": {
      "pair": "<pair>"
    },
    "name": "get_live_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
pairYesPair, e.g. BTCUSDT.
marketNo'futures' (perpetual, default) or 'spot'.futures
window_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing a real operational constraint: a WebSocket connection is required and one connection per API key is consumed, released after 5 minutes idle. That is exactly the kind of cost/limit an agent needs before calling. It does not state whether the call returns one aggregate over the window or a continuous push stream, which is the remaining behavioral gap.

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?

Front-loaded and dense, with no filler sentences; the payload inventory is packed into one compact clause. The telegraphic style ('trades summary (volume_usd, net_flow_usd = aggressive delta, ...)') borders on cryptic but stays parseable.

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 correctly compensates by enumerating returned fields, and it covers the auth/resource prerequisite. It is nearly complete for a streaming tool; the missing piece is stream semantics (single windowed result vs. ongoing messages) and any error/idle-drop behavior.

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?

The description identifies what window_seconds means (the aggregation window, 1-60), which the schema only exposes as bare min/max/default, so it adds modest value. The metric glosses (net_flow_usd = aggressive delta, etc.) describe return values rather than parameters, and pair/market semantics come entirely from the schema.

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?

States a specific verb and resource: 'LIVE stream, one pair, over window_seconds', and enumerates the three payload families (trades summary, consolidated book, liquidations) with their fields. The word 'LIVE' implicitly separates it from the snapshot/brief siblings, but no sibling is named, so the differentiation is left to inference.

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?

Usage is implied rather than stated: 'LIVE stream' plus the WebSocket requirement signals when this tool applies, and the connection-pool cost hints that it should not be called casually. However, there is no explicit 'use this instead of get_pair_data/get_market_snapshot when...' routing and no stated exclusions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources