Skip to main content
Glama
schoeffeljp

deribit-mcp

by schoeffeljp

get_user_trades_by_instrument

Fetch trade history for a chosen instrument by name, returning price, size, fees, underlying price, and IV for each fill. Use it to review your past trades on a specific option or perpetual.

Instructions

Get trade history for a SPECIFIC instrument. Preferred when you know the instrument name (e.g. 'show me my fills on ETH_USDC-27MAR26-2400-C'). Returns price, size, fees, underlying price and IV at time of trade.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoNumber of trades to return (1-1000, default 100)
sortingNoSort order
end_timestampNoEnd timestamp in ms
instrument_nameYese.g. 'ETH_USDC-27MAR26-2400-C', 'ETH_USDC-PERPETUAL'
start_timestampNoStart timestamp in ms

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

There are no annotations, so the description carries the full burden. It discloses that the tool returns price, size, fees, underlying price, and IV at trade time, which adds useful behavioral context. However, it does not explicitly state that this is a read-only operation or cover defaults like time range, pagination, or empty-result behavior.

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?

Three sentences with no wasted words: the first states the tool's core function, the second provides usage guidance with an example, and the third lists return fields. The most important information is front-loaded.

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?

For a read-only query tool with five optional parameters and no output schema, the description adequately covers the return values and the key usage context. It could be slightly more explicit that this returns the authenticated user's trades, but 'my fills' and the sibling get_user_trades provide enough context.

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 parameters are already fully documented. The description adds a concrete instrument_name example but does not add meaning beyond the schema for count, sorting, or timestamps. Baseline 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 states a specific verb and resource ('Get trade history for a SPECIFIC instrument') and includes a concrete example. It distinguishes this from the sibling get_user_trades by emphasizing instrument-specific filtering and the preference when the instrument is known.

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?

'Preferred when you know the instrument name' gives a clear condition for use, and the example reinforces the intended scenario. It does not explicitly name the alternative get_user_trades or state when not to use it, but the condition is clear enough.

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

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/schoeffeljp/deribit-mcp'

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