Skip to main content
Glama

Taker Volume

taker_volume
Read-onlyIdempotent

Taker buy versus taker sell volume for a crypto perpetual contract on the OKX venue, bucketed by period. Returns the per-bucket series, the buy/sell ratio and cumulative volume delta (CVD) across the window, the aggressor-flow input for order-flow and CVD analysis.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "instId": "BTC-USDT-SWAP",
      "period": "1H",
      "buckets": 3
    },
    "name": "taker_volume"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNo'0' for contracts (default), '1' for coin.
instIdYes
periodNo5m, 15m, 30m, 1H, 2H, 4H, 6H, 12H or 1D. Default 5m.
bucketsNoRecent buckets to return and sum. Default 24, max 100.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds real value by disclosing what is returned: per-bucket series, buy/sell ratio, and cumulative volume delta across the window. It does not mention pagination or rate limits, but for a read-only analytics call that is minor.

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 dense sentence that front-loads the resource and scope, then the return contents, then the use case. No wasted words, though the sentence is long enough that splitting the return description out would aid scanning.

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 carries the return-value burden and does so adequately by naming the series, ratio, and CVD. Parameters are largely covered by the schema, so an agent has enough to call it correctly; only instId semantics and any windowing caveats are unstated.

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 coverage is 75%, with period, buckets, and unit already documented in the schema. The description adds no parameter-level detail beyond that, and instId is undocumented in both places, though its meaning is self-evident from the examples. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: taker buy vs taker sell volume for a crypto perpetual on OKX, bucketed by period. This is clearly distinguishable from siblings like long_short_ratio, okx_trades, or okx_candles without opening any schema.

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?

The closing clause frames the use case ('aggressor-flow input for order-flow and CVD analysis'), which implies when to reach for it. However, it never states when not to use it or names an alternative tool for related questions, leaving routing to inference.

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.