Skip to main content
Glama

F1ow Crypto Market Data & Research MCP

Options Positioning

options_positioning
Read-only

Crypto options positioning (Deribit) for one underlying: total call/put open interest in coins and USD notional, put/call OI and volume ratios, largest strike concentrations, upcoming expirations with expiring notional and theoretical max pain, OI change over 24h/7d (from hourly snapshots), and recent trade flow (aggressor premium by calls/puts, block share, largest trades). Descriptive positioning — not a direction signal.

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": {
      "currency": "<currency>"
    },
    "name": "options_positioning"
  }
}

Input Schema

NameRequiredDescriptionDefault
currencyYesUnderlying symbol, e.g. "BTC".
expiriesNoUpcoming expirations to list, default 6, max 20.
trades_hoursNoTrade-flow window in hours, default 4, max 24; 0 skips trades.

Output Schema

NameRequiredDescriptionDefault
metaYesProvenance of the snapshot the numbers come from
notesYesData caveats
stateYesCALL-HEAVY | BALANCED | PUT-HEAVY by put/call OI; descriptive, not a direction signal
caveatYesWhat the numbers do not say: positioning and pricing, not direction; max pain is theoretical
totalsYes
expiriesYesUpcoming expirations, nearest first
tradeFlowNoAggressor-side flow of recent trades (who crossed the spread, not who opened or closed positions); absent when trades_hours is 0 or the trade fetch failed
oiChange7dNoOI change vs a stored hourly snapshot, over the expiries live at both times; absent before such a snapshot exists
topStrikesYes
oiChange24hNoOI change vs a stored hourly snapshot, over the expiries live at both times; absent before such a snapshot exists
indexPriceUsdNoSpot index, USD
metricSourcesYesWhich fields the venue reports and which this server calculates
tradeFlowErrorNoWhy trade flow is missing when it was requested but the trade fetch failed

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / caveat
      Added value: +{
      +  "description": "What the numbers do not say: positioning and pricing, not direction; max pain is theoretical",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "meta",
      -  "metricSources",
      -  "totals",
      -  "state",
      -  "topStrikes",
      -  "expiries",
      -  "notes"
      -]New value: +[
      +  "meta",
      +  "metricSources",
      +  "totals",
      +  "state",
      +  "topStrikes",
      +  "expiries",
      +  "notes",
      +  "caveat"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "expiries": {
      +      "description": "Upcoming expirations, nearest first",
      +      "items": {
      +        "properties": {
      +          "days": {
      +            "type": "number"
      +          },
      +          "expiry": {
      +            "description": "ISO 8601 UTC",
      +            "type": "string"
      +          },
      +          "maxPainTheoretical": {
      +            "description": "Strike minimising the total holder payout; a theoretical calculation, not a forecast",
      +            "properties": {
      +              "holderPayoutUsd": {
      +                "description": "Total holder payout at that strike, USD",
      +                "type": "number"
      +              },
      +              "strike": {
      +                "description": "USD",
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "strike",
      +              "holderPayoutUsd"
      +            ],
      +            "type": "object"
      +          },
      +          "shareOfOiPct": {
      +            "description": "This expiry's share of total OI notional, percent",
      +            "type": "number"
      +          },
      +          "topStrikes": {
      +            "items": {
      +              "properties": {
      +                "callOi": {
      +                  "description": "Call OI, underlying coins",
      +                  "type": "number"
      +                },
      +                "notionalUsd": {
      +                  "description": "Call + put OI notional, USD",
      +                  "type": "number"
      +                },
      +                "putOi": {
      +                  "description": "Put OI, underlying coins",
      +                  "type": "number"
      +                },
      +                "strike": {
      +                  "description": "Strike, USD",
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "strike",
      +                "callOi",
      +                "putOi",
      +                "notionalUsd"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "totals": {
      +            "properties": {
      +              "callNotionalUsd": {
      +                "description": "Call OI notional, USD (calculated at the spot index)",
      +                "type": "number"
      +              },
      +              "callOi": {
      +                "description": "Call open interest, underlying coins",
      +                "type": "number"
      +              },
      +              "callVolume24h": {
      +                "description": "Call 24h volume, underlying coins",
      +                "type": "number"
      +              },
      +              "instruments": {
      +                "description": "Listed instruments counted",
      +                "type": "integer"
      +              },
      +              "putCallOi": {
      +                "description": "Put OI ÷ call OI; absent without call OI",
      +                "type": "number"
      +              },
      +              "putCallVolume": {
      +                "description": "Put ÷ call 24h volume; absent when no calls traded",
      +                "type": "number"
      +              },
      +              "putNotionalUsd": {
      +                "description": "Put OI notional, USD (calculated at the spot index)",
      +                "type": "number"
      +              },
      +              "putOi": {
      +                "description": "Put open interest, underlying coins",
      +                "type": "number"
      +              },
      +              "putVolume24h": {
      +                "description": "Put 24h volume, underlying coins",
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "callOi",
      +              "putOi",
      +              "callNotionalUsd",
      +              "putNotionalUsd",
      +              "callVolume24h",
      +              "putVolume24h",
      +              "instruments"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "expiry",
      +          "days",
      +          "totals",
      +          "shareOfOiPct",
      +          "topStrikes"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "indexPriceUsd": {
      +      "description": "Spot index, USD",
      +      "type": "number"
      +    },
      +    "meta": {
      +      "description": "Provenance of the snapshot the numbers come from",
      +      "properties": {
      +        "ageSeconds": {
      +          "description": "Seconds between the observation and this response",
      +          "type": "integer"
      +        },
      +        "observedAt": {
      +          "description": "When the venue snapshot was observed, ISO 8601 UTC",
      +          "type": "string"
      +        },
      +        "provider": {
      +          "description": "Data venue, e.g. Deribit",
      +          "type": "string"
      +        },
      +        "underlying": {
      +          "description": "Underlying symbol, e.g. BTC",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "provider",
      +        "underlying",
      +        "observedAt",
      +        "ageSeconds"
      +      ],
      +      "type": "object"
      +    },
      +    "metricSources": {
      +      "description": "Which fields the venue reports and which this server calculates",
      +      "properties": {
      +        "calculated": {
      +          "description": "Fields calculated here from reported data",
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "reported": {
      +          "description": "Fields taken as reported by the venue",
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "reported",
      +        "calculated"
      +      ],
      +      "type": "object"
      +    },
      +    "notes": {
      +      "description": "Data caveats",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "oiChange24h": {
      +      "description": "OI change vs a stored hourly snapshot, over the expiries live at both times; absent before such a snapshot exists",
      +      "properties": {
      +        "callOiChange": {
      +          "description": "Underlying coins",
      +          "type": "number"
      +        },
      +        "callOiChangePct": {
      +          "description": "Percent",
      +          "type": "number"
      +        },
      +        "from": {
      +          "description": "Snapshot time, ISO 8601 UTC",
      +          "type": "string"
      +        },
      +        "hours": {
      +          "description": "Look-back, hours",
      +          "type": "number"
      +        },
      +        "newListingOi": {
      +          "description": "Coins in expiries listed since the snapshot",
      +          "type": "number"
      +        },
      +        "notionalChangeUsd": {
      +          "description": "USD; also moves with price",
      +          "type": "number"
      +        },
      +        "putOiChange": {
      +          "description": "Underlying coins",
      +          "type": "number"
      +        },
      +        "putOiChangePct": {
      +          "description": "Percent",
      +          "type": "number"
      +        },
      +        "scope": {
      +          "type": "string"
      +        },
      +        "settledOi": {
      +          "description": "Coins in expiries that settled since the snapshot (not counted as closed)",
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "hours",
      +        "from",
      +        "callOiChange",
      +        "putOiChange",
      +        "notionalChangeUsd",
      +        "scope",
      +        "settledOi",
      +        "newListingOi"
      +      ],
      +      "type": "object"
      +    },
      +    "oiChange7d": {
      +      "description": "OI change vs a stored hourly snapshot, over the expiries live at both times; absent before such a snapshot exists",
      +      "properties": {
      +        "callOiChange": {
      +          "description": "Underlying coins",
      +          "type": "number"
      +        },
      +        "callOiChangePct": {
      +          "description": "Percent",
      +          "type": "number"
      +        },
      +        "from": {
      +          "description": "Snapshot time, ISO 8601 UTC",
      +          "type": "string"
      +        },
      +        "hours": {
      +          "description": "Look-back, hours",
      +          "type": "number"
      +        },
      +        "newListingOi": {
      +          "description": "Coins in expiries listed since the snapshot",
      +          "type": "number"
      +        },
      +        "notionalChangeUsd": {
      +          "description": "USD; also moves with price",
      +          "type": "number"
      +        },
      +        "putOiChange": {
      +          "description": "Underlying coins",
      +          "type": "number"
      +        },
      +        "putOiChangePct": {
      +          "description": "Percent",
      +          "type": "number"
      +        },
      +        "scope": {
      +          "type": "string"
      +        },
      +        "settledOi": {
      +          "description": "Coins in expiries that settled since the snapshot (not counted as closed)",
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "hours",
      +        "from",
      +        "callOiChange",
      +        "putOiChange",
      +        "notionalChangeUsd",
      +        "scope",
      +        "settledOi",
      +        "newListingOi"
      +      ],
      +      "type": "object"
      +    },
      +    "state": {
      +      "description": "CALL-HEAVY | BALANCED | PUT-HEAVY by put/call OI; descriptive, not a direction signal",
      +      "type": "string"
      +    },
      +    "topStrikes": {
      +      "items": {
      +        "properties": {
      +          "callOi": {
      +            "description": "Call OI, underlying coins",
      +            "type": "number"
      +          },
      +          "notionalUsd": {
      +            "description": "Call + put OI notional, USD",
      +            "type": "number"
      +          },
      +          "putOi": {
      +            "description": "Put OI, underlying coins",
      +            "type": "number"
      +          },
      +          "strike": {
      +            "description": "Strike, USD",
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "strike",
      +          "callOi",
      +          "putOi",
      +          "notionalUsd"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "totals": {
      +      "properties": {
      +        "callNotionalUsd": {
      +          "description": "Call OI notional, USD (calculated at the spot index)",
      +          "type": "number"
      +        },
      +        "callOi": {
      +          "description": "Call open interest, underlying coins",
      +          "type": "number"
      +        },
      +        "callVolume24h": {
      +          "description": "Call 24h volume, underlying coins",
      +          "type": "number"
      +        },
      +        "instruments": {
      +          "description": "Listed instruments counted",
      +          "type": "integer"
      +        },
      +        "putCallOi": {
      +          "description": "Put OI ÷ call OI; absent without call OI",
      +          "type": "number"
      +        },
      +        "putCallVolume": {
      +          "description": "Put ÷ call 24h volume; absent when no calls traded",
      +          "type": "number"
      +        },
      +        "putNotionalUsd": {
      +          "description": "Put OI notional, USD (calculated at the spot index)",
      +          "type": "number"
      +        },
      +        "putOi": {
      +          "description": "Put open interest, underlying coins",
      +          "type": "number"
      +        },
      +        "putVolume24h": {
      +          "description": "Put 24h volume, underlying coins",
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "callOi",
      +        "putOi",
      +        "callNotionalUsd",
      +        "putNotionalUsd",
      +        "callVolume24h",
      +        "putVolume24h",
      +        "instruments"
      +      ],
      +      "type": "object"
      +    },
      +    "tradeFlow": {
      +      "description": "Aggressor-side flow of recent trades (who crossed the spread, not who opened or closed positions); absent when trades_hours is 0 or the trade fetch failed",
      +      "properties": {
      +        "blockNotionalUsd": {
      +          "description": "Notional of block trades, USD",
      +          "type": "number"
      +        },
      +        "callBuyPremiumUsd": {
      +          "type": "number"
      +        },
      +        "callSellPremiumUsd": {
      +          "type": "number"
      +        },
      +        "from": {
      +          "description": "Window start, ISO 8601 UTC",
      +          "type": "string"
      +        },
      +        "largest": {
      +          "description": "Largest trades by notional",
      +          "items": {
      +            "properties": {
      +              "amount": {
      +                "description": "Underlying coins",
      +                "type": "number"
      +              },
      +              "at": {
      +                "description": "ISO 8601 UTC",
      +                "type": "string"
      +              },
      +              "block": {
      +                "type": "boolean"
      +              },
      +              "direction": {
      +                "description": "buy | sell, the aggressor",
      +                "type": "string"
      +              },
      +              "instrument": {
      +                "type": "string"
      +              },
      +              "iv": {
      +                "description": "Trade IV, percent",
      +                "type": "number"
      +              },
      +              "notionalUsd": {
      +                "type": "number"
      +              },
      +              "premiumUsd": {
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "at",
      +              "instrument",
      +              "direction",
      +              "amount",
      +              "notionalUsd",
      +              "premiumUsd",
      +              "block"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "notionalUsd": {
      +          "description": "Notional traded, USD",
      +          "type": "number"
      +        },
      +        "putBuyPremiumUsd": {
      +          "type": "number"
      +        },
      +        "putSellPremiumUsd": {
      +          "type": "number"
      +        },
      +        "to": {
      +          "description": "Window end, ISO 8601 UTC",
      +          "type": "string"
      +        },
      +        "trades": {
      +          "description": "Trades in the window",
      +          "type": "integer"
      +        },
      +        "truncated": {
      +          "description": "True when the page cap shortened the window",
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "from",
      +        "to",
      +        "truncated",
      +        "trades",
      +        "callBuyPremiumUsd",
      +        "callSellPremiumUsd",
      +        "putBuyPremiumUsd",
      +        "putSellPremiumUsd",
      +        "notionalUsd",
      +        "blockNotionalUsd",
      +        "largest"
      +      ],
      +      "type": "object"
      +    },
      +    "tradeFlowError": {
      +      "description": "Why trade flow is missing when it was requested but the trade fetch failed",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "meta",
      +    "metricSources",
      +    "totals",
      +    "state",
      +    "topStrikes",
      +    "expiries",
      +    "notes"
      +  ],
      +  "type": "object"
      +}
  3. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, and the description adds real context beyond that: the data source (Deribit), that OI change is derived from hourly snapshots, that max pain is theoretical, and that trade flow is a bounded recent window. It stops short of describing latency, pagination, or completeness of snapshot coverage.

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 what the tool is, and each enumerated item is a concrete output category rather than filler. It is one very long sentence, so the metric inventory is harder to scan than a short list would be.

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?

An output schema exists, so the return-value enumeration is partly redundant but harmless, and the tool's core identity, source, and descriptive (non-signal) nature are all covered. Nothing essential for a correct read-only call is missing.

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 all three parameters are already documented with defaults and maxima. The description only loosely maps to them ('upcoming expirations', 'recent trade flow') without adding format or interpretation guidance beyond 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 the specific resource precisely: crypto options positioning from Deribit for a single underlying, with an enumerated metric set (OI in coins/USD, put/call ratios, strike concentrations, max pain, OI change, trade flow). This clearly separates it from siblings like options_chain or options_gamma by content, though it never names an alternative explicitly.

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 line 'Descriptive positioning — not a direction signal' is a useful framing constraint on interpretation, and 'for one underlying' implies the call pattern. But there is no guidance on when to pick this over options_chain, options_gamma, or derivatives_open_interest, and no stated prerequisites.

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