Skip to main content
Glama
Derive MCP Server

Derive MCP Server

by yashhsm

get_options_chain

Retrieves a structured options chain for a currency, showing strikes as rows and calls/puts as columns with bid/ask, IV, Greeks, and open interest; pre-filters to liquid strikes within ±30% of spot.

Instructions

Get a structured options chain for a currency — strikes as rows, calls and puts as columns, with bid/ask/mark/IV/greeks/OI. This is the RECOMMENDED tool for analyzing options. Returns a compact, pre-filtered chain instead of raw ticker data. Defaults to only_liquid=true and ±30% from spot. Bid/ask here are from MM streaming quotes (real executable prices). NOTE: Does NOT include minimum_amount or amount_step. Call get_instruments(compact=true) alongside if you need lot sizes for order placement. Response: {index_price, expiries: [{expiry, dte, chain: [{strike, call: {bid,ask,mark,iv,delta,...}, put: {...}}]}]}

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

Input Schema

NameRequiredDescriptionDefault
currencyYesUnderlying currency (e.g., SOL, ETH, BTC)
strike_maxNoMaximum strike price. Defaults to +30% from index price.
strike_minNoMinimum strike price. Defaults to -30% from index price.
expiry_dateNoSingle expiry to show (YYYYMMDD). If omitted, returns all expiries.
only_liquidNoOnly show strikes with at least one side quoted (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so well: it discloses the default liquidity filter, default ±30% strike range, that bid/ask are MM streaming quotes representing real executable prices, and that minimum_amount and amount_step are excluded. It also gives the return structure for a tool with no output schema.

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?

The description is front-loaded with purpose and shape, then adds defaults, caveats, and response structure. It is dense but nearly every sentence adds useful operational context; the embedded response shape is justified because no output schema exists.

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 five-parameter read tool with no annotations and no output schema, the description covers what the tool returns, how defaults filter the data, where quotes come from, what is omitted, and when to pair it with get_instruments. Nothing essential for correct invocation 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 the schema already documents every parameter including default strike bounds and expiry_date format. The description reinforces the only_liquid and ±30% defaults but adds little parameter-level meaning beyond the schema.

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?

The description states a specific verb and resource ('Get a structured options chain for a currency') and immediately defines the output shape: strikes as rows, calls and puts as columns. It explicitly distinguishes itself from raw ticker data and from get_instruments for lot-size needs, so an agent can tell what this tool is for.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly recommends this tool for analyzing options and gives a concrete alternative path: call get_instruments(compact=true) alongside it if lot sizes are needed for order placement. It also explains that the chain is pre-filtered by default. The only gap is that it does not name when to prefer other quote-oriented siblings such as get_quotes.

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