Skip to main content
Glama
freeeverett

deribit-mcp

by freeeverett

Deribit Public Trades

deribit_get_public_trades
Read-onlyIdempotent

Fetch public market trades for any Deribit instrument or currency. Filter by time range or sequence number, with pagination and sorting options.

Instructions

查询全市场公开成交,不包含个人成交。currency 与 instrument_name 必须二选一。给时间戳会走官方的时间窗口专用端点,给 start_seq/end_seq 则按成交序号翻页,两种过滤方式不能混用。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNo仅按 currency 查询时生效
countNo返回条数,最大 1000
end_seqNo结束成交序号,只能与时间戳二选一
sortingNo
currencyNo结算币种,例如 BTC、ETH、USDC、USDT、EURR
start_seqNo起始成交序号,只能与时间戳二选一
end_timestampNo毫秒 UNIX 时间戳
instrument_nameNo合约名,例如 BTC-PERPETUAL、BTC-27JUN25-100000-C
start_timestampNo毫秒 UNIX 时间戳
Behavior5/5

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

Beyond the annotations (readOnly, openWorld, idempotent, non-destructive), the description discloses meaningful behavior: this endpoint only returns public trades (not personal), timestamp queries route to a dedicated time-window endpoint, and sequence parameters enable sequence-based pagination. These are non-obvious traits not present in structured fields.

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 three short sentences, front-loaded with the primary purpose, and every sentence adds unique guidance. No redundancy or unnecessary detail.

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 9-parameter tool with no required fields and no output schema, the description covers the essential constraints (public-only, parameter mutual exclusions, endpoint selection). The remaining parameters are well-documented in the schema, and annotations cover safety. This is a complete, self-sufficient description.

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 high (89%), so baseline is 3. The description adds value by stating the mandatory currency/instrument_name choice and the exclusivity between timestamp and sequence parameters, which the schema does not enforce. It clarifies endpoint behavior per parameter group beyond the individual descriptions.

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 clearly states the tool queries all-market public trades and explicitly excludes personal trades, giving a specific verb + resource + scope. This distinguishes it from sibling tools like trade volumes or quotes.

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 provides clear usage context: currency and instrument_name are mutually exclusive, and timestamp-based vs sequence-based filtering are separate modes that cannot be mixed. It does not explicitly name alternatives among siblings, but the parameter guidance is strong.

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