Skip to main content
Glama
schoeffeljp

deribit-mcp

by schoeffeljp

edit_order

Modify an open order's price, size, trigger price, or execution flags directly, avoiding cancellation and re-submission. Use to adjust order parameters while keeping the order active.

Instructions

Modify an existing open order's price, amount, or other parameters without cancelling and re-placing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
priceNoNew order price
amountNoNew order size in base currency
order_idYesThe order ID to edit
contractsNoNew size in number of contracts (preferred for options)
post_onlyNoPost-only flag
reduce_onlyNoReduce-only flag
trigger_priceNoNew trigger price for stop/take-profit orders

Schema Changelog

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

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It usefully reveals that the operation targets open orders and avoids a manual cancel/re-place cycle. However, it does not disclose potential side effects such as loss of queue priority, rejection on partially filled orders, restrictions on changing certain fields, or what happens to the order ID. Some of this nuance is important for a trading tool.

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 a single, well-structured sentence with no filler. The core action, target resource, and key behavioral distinction are front-loaded. Every word contributes to understanding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a 7-parameter state-changing tool with no annotations and no output schema, so the description needs to carry more weight. It adequately states what the tool does and the basic constraint that the order must be open, but it leaves gaps around return values, failure modes, and how the various parameters interact (e.g., amount vs contracts, trigger_price applicability). The schema covers parameter meaning, but the overall usage context is not fully complete.

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 baseline is 3. The description adds little beyond the schema: it mentions 'price, amount, or other parameters' but does not clarify when to use amount vs contracts, nor does it add guidance about trigger_price or flag interactions. The schema already documents each parameter, so the description neither helps nor hurts.

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 ('Modify'), a clear resource ('existing open order'), and names the key fields ('price, amount, or other parameters'). It also distinguishes itself from the cancel-and-replace workflow by explicitly saying 'without cancelling and re-placing', making it easy to tell apart from cancel_order and buy/sell.

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 phrase 'without cancelling and re-placing' provides clear context that this tool should be used when the goal is to adjust an open order in place rather than cancel and create a new one. However, it does not explicitly state when to prefer cancel_order or buy/sell instead, so it lacks a formal exclusion list.

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