Skip to main content
Glama
freeeverett

deribit-mcp

by freeeverett

Deribit Mark Price History

deribit_get_mark_price_history
Read-onlyIdempotent

Fetches historical mark price series for a specified options contract, returning [timestamp, mark price] pairs. Use for charting and analysis. Futures and perpetuals return empty arrays.

Instructions

查询指定合约的历史标记价格序列,返回 [时间戳, 标记价] 数组对。时间戳单位为毫秒。注意:Deribit 只对参与波动率指数计算的那部分期权保留标记价格历史,期货和永续会返回空数组,空结果属于正常情况而非故障。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_timestampYes毫秒 UNIX 时间戳
instrument_nameYes合约名,例如 BTC-PERPETUAL、BTC-27JUN25-100000-C
start_timestampYes毫秒 UNIX 时间戳
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive behavior. The description adds crucial expected behavior: mark price history is only retained for options involved in volatility index calculation, and empty results for futures/perpetuals are normal. This disclosure prevents misinterpretation of empty arrays as errors, which is highly valuable beyond 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences: the first states the action and return format, the second provides a critical caveat. No redundant information, and the important behavioral note is included without extra verbosity.

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 simple 3-parameter read-only history tool, the description covers what it returns, the units, and the unusual empty-result case. Annotations cover safety, and the schema covers parameters fully, so nothing critical is missing for an agent to use the tool correctly.

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 coverage is 100% with all parameters documented (instrument_name with examples, timestamps with units). The description only confirms the millisecond unit for timestamps, which is already present in the schema. Thus, the description adds little beyond the structured schema, so a baseline score of 3 is appropriate.

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 uses a specific verb ('query') and specifies the resource ('historical mark price series for a contract') plus the exact return format ([timestamp, mark price] pairs). The note about futures/perpetuals returning empty arrays distinguishes it from similar market data tools.

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 clearly notes that futures and perpetuals will return empty arrays, which implies this tool is intended for options that participate in volatility index calculation. While it doesn't explicitly name alternative tools when futures/perpetuals are queried, the behavior warning provides enough context for an agent to decide when this tool is appropriate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/freeeverett/deribit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server