Skip to main content
Glama
comdirect-mcp

comdirect-mcp

by mad4ms

Orderbuch

list_orders
Read-only

Read a depot's order book to review and filter buy or sell orders by status and inspect details. This is read-only; orders cannot be placed, changed, or cancelled.

Instructions

Reads the depot's order book. Read-only: orders cannot be placed, changed or cancelled.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "depot_id": "<depot_id>"
    },
    "name": "list_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
sideNoOnly buy or only sell orders
limitNoMaximum number of orders to return
offsetNonext_offset of the previous call; keep the filters
statusNoOnly orders with this status
verboseNoAlso return executions, costs and detailed conditions
depot_idYesid from `list_depots`
venue_idNoOnly this venue (id from get_instrument)
order_typeNoOnly this order type, e.g. MARKET, LIMIT, QUOTE, STOP_MARKET, STOP_LIMIT, TRAILING_STOP_MARKET, TRAILING_STOP_NATIVE_MARKET, ONE_CANCELS_OTHER, NEXT_ORDER

Output Schema

NameRequiredDescriptionDefault
countYesNumber of items in this result
offsetYes
ordersYes
depot_idYes
truncatedYesTrue if more items follow
next_offsetNoPass as offset with the same filters to continue.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is known. The description reinforces this with 'orders cannot be placed, changed or cancelled', which usefully rules out write intent, but adds little beyond the annotation and says nothing about result volume or pagination behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

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

Two short sentences, front-loaded with the core action and scope, with no filler. Slightly terse for an 8-parameter listing tool, but nothing is wasted.

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?

An output schema exists, annotations cover the safety profile, and the schema documents all eight parameters, so the description need not restate them. The remaining gap is the absence of any routing hint versus get_order, which is the main thing an agent could get wrong here.

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%, with every filter (side, status, venue_id, order_type, limit, offset, verbose) documented inline including the offset continuation hint. The description adds no meaning beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource: reads the depot's order book. It is clearly a listing operation, but it never distinguishes itself from the singular get_order sibling, so the agent must infer the plural-vs-single split from the name alone.

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?

Usage is only implied: the agent can infer it should call this to see a depot's orders. There is no explicit guidance on when to prefer it over get_order or list_depot_transactions, and no stated prerequisites beyond the depot_id reference held in the schema.

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