Skip to main content
Glama
deribit-options-analytics

deribit-options-analytics

by tordagaz-ops

Option chain

option_chain
Read-only

Retrieve a filtered, sorted options chain for a BTC or ETH expiry with implied volatility, Greeks, open interest, bid/ask, and spread data to build or analyze an options screen.

Instructions

The listed options of one expiry with implied volatility, delta, gamma, open interest, dollar open interest, bid/ask and the spread in basis points, sorted and filtered the way a screen needs. Delta and gamma are computed from each contract's own mark volatility on the forward, with the ACT/365 day count the venue uses.

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": "option_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoSort order for the chain: oi, volume, strike, iv, gamma or delta.oi
limitNoMaximum number of expiries or rows to return.
venueNoOption venue. Defaults to deribit, the only one configured.
expiryNoExpiry as YYYY-MM-DD, or YYYY-MM for the first expiry of that month. Omitted means every expiry for max_pain, gamma_walls and iv_skew, and the nearest listed expiry for option_chain.
symbolNoUnderlying currency: BTC or ETH.BTC
min_open_interestNoDrop contracts with open interest below this.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered. The description adds genuine methodological context beyond that: delta/gamma are computed from each contract's own mark volatility on the forward using the venue's ACT/365 day count, which matters for interpreting the returned Greeks. It stops short of describing row ordering behavior, empty/stale contract handling, or rate/venue availability limits.

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?

Two sentences, front-loaded with the resource and its returned fields, then the computational methodology. The field enumeration is long but each item is a real return column, so it earns its space; no filler or repetition.

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 an output schema, annotations, and full schema coverage, the description only needs to frame the resource and its method, which it does. The remaining gaps are minor: it does not state what happens when an expiry has no listed contracts or how large chains are truncated by the limit parameter.

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 six parameters are already documented in structured form, setting the baseline at 3. The description reinforces the expiry scoping and the sortable fields but adds no syntax or default behavior beyond what the schema states.

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 a specific resource (the listed options of one expiry) and enumerates the fields returned (IV, delta, gamma, open interest, dollar OI, bid/ask, spread in bps). The 'one expiry' scoping naturally separates it from the analytics siblings, but no sibling is named so the differentiation is implicit rather than explicit.

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 only implied: 'sorted and filtered the way a screen needs' hints at display/screen-building versus analytics tools like max_pain or gamma_walls, but the description never says when to choose this tool or when to use an alternative. The explicit routing to siblings actually lives in the schema's expiry parameter, not in the description itself.

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