Skip to main content
Glama
comdirect-mcp

comdirect-mcp

by mad4ms

Order

get_order
Read-only

Retrieve a single order, including combination-order legs, to inspect its details without changing it.

Instructions

Reads one order, including combination-order legs. Never changes an order.

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": {
      "order_id": "<order_id>"
    },
    "name": "get_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
verboseNoAlso return executions, leg metadata and conditions
order_idYesid from `list_orders`

Output Schema

NameRequiredDescriptionDefault
idNo
wknNo
isinNo
sideNo
typeNo
limitNo
statusNo
depot_idNo
quantityNo
validityNo
venue_idNo
created_atNo
executionsNo
leg_numberNo
sub_ordersNo
instrument_idNo
open_quantityNo
quantity_unitNo
trigger_limitNo
validity_typeNo
best_executionNo
expected_valueNo
limit_currencyNo
instrument_nameNo
limit_extensionNo
executed_quantityNo
cancelled_quantityNo
trading_restrictionNo
settlement_account_idNo
trailing_limit_percentNo
trigger_limit_currencyNo
expected_value_currencyNo
trailing_limit_distanceNo
trailing_limit_distance_currencyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A3.6/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 "Never changes an order" largely restates structured data. The description does add one genuine behavioral fact beyond annotations: the response includes combination-order legs. It says nothing about what happens with invalid IDs or the depth/volume of returned data.

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, front-loaded sentences with no filler. The second sentence partly duplicates the readOnlyHint annotation, slightly reducing its value, but the text is well within an efficient size for a simple read tool.

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 two-parameter read tool with full schema coverage, an output schema and read-only annotations, the description covers all that is needed: it identifies the resource, notes the combination-order-leg scope, and confirms it is non-mutating. Nothing required to call it correctly is missing.

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%, and the schema already explains that order_id comes from list_orders and that verbose adds executions, leg metadata and conditions. The description contributes no additional parameter meaning, which is acceptable given full schema coverage but earns only the baseline.

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 pairs a specific verb ("Reads") with a specific resource ("one order") and adds scope detail about combination-order legs, which clearly distinguishes it from a plural listing tool like list_orders. It stops short of naming the sibling explicitly, so it is clear but not maximally differentiated.

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?

"Reads one order" implies single-record retrieval versus the list_* siblings, and "Never changes an order" signals this is a lookup, not a mutation. However, there is no explicit when-to-use statement, no mention that order IDs come from list_orders (that only appears in the schema), and no stated alternatives.

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