Skip to main content
Glama
Derive MCP Server

Derive MCP Server

by yashhsm

get_tickers

Fetch batch market maker quotes (bid, ask, mark, greeks) for all options, perps, or ERC20 instruments at once, filtering by currency, expiry, delta range, and liquidity.

Instructions

Batch pricing for all instruments of a type. Returns MM streaming quotes (bid/ask/mark/greeks). This is the PRIMARY pricing tool — shows real market maker quotes unlike get_ticker which only shows CLOB resting orders. For options: currency AND expiry_date (YYYYMMDD) are required. Use only_liquid=true to filter out dead strikes with no quotes (recommended — reduces response by ~60%). Use min_delta/max_delta to focus on specific moneyness ranges. Response: {tickers: {instrument_name: {bid, ask, bid_size, ask_size, mark, delta, iv, ...}}}

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": {
      "instrument_type": "<instrument_type>"
    },
    "name": "get_tickers"
  }
}

Input Schema

NameRequiredDescriptionDefault
currencyNoCurrency filter (required for options)
max_deltaNoFilter options by maximum absolute delta (e.g., 0.90 to exclude deep ITM). Combine with min_delta for a range like 0.10-0.50 for OTM options.
min_deltaNoFilter options by minimum absolute delta (e.g., 0.05 to exclude near-zero delta far OTM). Useful for focusing on tradeable strikes.
expiry_dateNoExpiry date YYYYMMDD (required for options)
only_liquidNoIf true, only return instruments with non-zero bid OR ask (filters out illiquid/dead strikes). Highly recommended for options to reduce noise.
instrument_typeYesInstrument type

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses what data is returned (MM streaming quotes: bid/ask/mark/greeks), contrasts the data quality against get_ticker, and quantifies the filtering effect (~60% response reduction). It stops short of stating auth requirements, rate limits, or pagination/response-size limits for large instrument universes.

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 primary purpose and the sibling contrast, and every sentence carries information. It is a dense, somewhat run-on block mixing guidance, parameter advice, and response shape, which slightly hurts scannability.

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?

There is no output schema, so the description supplies an inline response shape ({instrument_name: {bid, ask, mark, delta, iv, ...}}) and covers the conditional required-parameter rule that the schema alone does not express. For a 6-parameter read tool this is complete enough to call correctly on the first try.

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 the baseline is 3, but the description adds real meaning on top: it ties currency+expiry_date to the options case as jointly required, explains the practical reason for only_liquid, and frames min_delta/max_delta around moneyness intent rather than just repeating the schema text.

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 ('Batch pricing for all instruments of a type') and explicitly positions itself against the sibling get_ticker ('shows real market maker quotes unlike get_ticker which only shows CLOB resting orders'). An agent can choose between the two without opening either schema.

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

Usage Guidelines5/5

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

Gives concrete when-to-use guidance ('This is the PRIMARY pricing tool'), names the alternative it supersedes, lists the prerequisites ('currency AND expiry_date are required' for options), and recommends only_liquid=true with a quantified benefit. This is explicit selection guidance, not implied.

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