Skip to main content
Glama
Derive MCP Server

Derive MCP Server

by yashhsm

get_open_orders

Retrieve all open orders for a given subaccount to monitor active trading positions and pending order status.

Instructions

Get all open orders for a subaccount.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_open_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
subaccount_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and does very little with it. It does not disclose whether subaccount_id is optional, what happens when it is omitted (all subaccounts vs default), the return shape, ordering, pagination, or any rate-limit/auth requirements for a read of live trading state.

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?

One short sentence, front-loaded with the resource and scope, with no filler or redundancy.

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

Completeness2/5

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

With no annotations, no output schema, and zero parameter description coverage, the definition is too thin for the tool's ambiguity: an agent cannot tell whether omitting subaccount_id is safe or what the response contains. It needs at least optionality semantics and a notion of return scope.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter subaccount_id is undocumented. The phrase 'for a subaccount' hints that the parameter selects the subaccount, but the description never states the critical behavior when the parameter is omitted (required count is 0), leaving a genuine ambiguity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb-plus-resource ('Get all open orders') scoped to a subaccount, which cleanly separates it from get_order (single order), get_order_history (filled/cancelled orders), and cancel_all_orders. It does not name any sibling explicitly, so it stops short of a 5.

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

Usage Guidelines3/5

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

The word 'open' implies the condition for calling it: use it to inspect currently live orders rather than past ones. However, there is no explicit when-to-use statement, no mention of get_order or get_order_history as alternatives, and no guidance on when it should not be used.

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