Skip to main content
Glama

Options Flow

options_flow
Read-onlyIdempotent

Deribit options flow: every option trade in a window (default the last 24 hours), summed per expiry (by=expiry, soonest first) or per UTC time bucket (by=time with interval 1m, 5m, 15m, 1h, 4h or 1d, newest first). Per row and for the whole window (total): trades, call_volume and put_volume in the underlying coin, put_call_ratio (put over call volume), call_premium_usd and put_premium_usd (premium traded, USD), put_call_premium_ratio, and the NET premium: call_net_premium_usd and put_net_premium_usd (premium the takers bought minus premium they sold, positive = net buying) and net_premium_usd, their sum. symbol: BTC or ETH (inverse options) or SOL (SOL_USDC). History from 2024-12-03; a window spans at most 366 days. Same answer as GET /v1/marketdata/options/flow.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "options_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
byNoexpiry (default): one row per expiry date; time: one row per bucket.
endNoBefore this time (exclusive), same format. Default: now.
limitNoRows. Default 500, max 5000.
startNoFrom this time (inclusive), ISO 8601 or YYYY-MM-DD, UTC. Default: 24 hours before end.
expiryNoOnly options expiring on this date, YYYY-MM-DD.
symbolNoThe underlying. Default BTC.
intervalNoThe bucket of by=time. Default 1h.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/idempotent/non-destructive, but the description adds material context: history starts 2024-12-03, a window spans at most 366 days, defaults and sort order for each mode, and the meaning of net premium ('premium takers bought minus premium they sold, positive = net buying'). These are constraints and semantics an agent cannot get from the annotations.

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 with the core purpose and aggregation modes, then the field semantics. The middle sentence is a long run-on enumeration of fields, but with no output schema this is the only documentation of return values, so it largely earns its space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter read-only analytics tool with no output schema, the description covers what is returned (all field meanings and units), the windowing constraints, defaults per mode, and sorting. Nothing essential for a correct call is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline would be 3; the description adds real semantic detail beyond it — expiry rows are 'soonest first' while time buckets are 'newest first', SOL is SOL_USDC (i.e. non-inverse) unlike BTC/ETH, and the 366-day cap constrains start/end. It does not add much on limit or expiry filtering beyond what the schema already says.

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?

Specific verb+resource: 'Deribit options flow: every option trade in a window' with the two aggregation modes (by expiry, by time bucket) spelled out. An agent can tell exactly what data this returns and in what shape, without opening the 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?

Usage is implied rather than stated: the default window (last 24 hours), the sorting direction per mode, and the equivalence to GET /v1/marketdata/options/flow give an agent enough to choose this tool for options flow. However, no alternatives or when-not-to-use conditions are named, so routing among siblings relies on 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.