Skip to main content
Glama
longbridge

longbridge

Official

Order Detail

order_detail
Read-onlyIdempotent

Retrieve detailed information for a specific order including status, side, quantity, price, and timestamps.

Instructions

Get detailed information about a specific order. Returns {order_id, symbol, status, side, order_type, quantity, price, executed_quantity, executed_price, submitted_at, time_in_force, msg}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_idYesOrder ID (returned by submit_order or listed in today_orders / history_orders)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_idYesOrder ID.
statusYesStatus enum (e.g. `Filled`, `WaitToNew`, `Canceled`).
symbolYesSecurity symbol, e.g. "700.HK".
stock_nameYesDisplay name of the security.
quantityYesSubmitted quantity.
executed_quantityYesQuantity already executed.
priceNoSubmitted limit price (null for market orders).
executed_priceNoVolume-weighted average executed price (null when unfilled).
submitted_atYesOrder submission time (RFC3339).
sideYesBuy or Sell.
order_typeYesOrder type enum, e.g. `LO`, `MO`, `LIT`.
last_doneNoLatest price snapshot at order time (null if missing).
trigger_priceNoTrigger price for LIT/MIT/trailing orders.
msgYesReject message or remark.
tagYesOrder tag (e.g. `Normal`, `LongTerm`).
time_in_forceYesTime-in-force: `Day` / `GTC` / `GTD`.
expire_dateNoGTD expiry date (yyyy-mm-dd).
updated_atNoLast update time (RFC3339).
trigger_atNoConditional-order trigger time (RFC3339).
trailing_amountNoTrailing-stop trail amount (TSLPAMT).
trailing_percentNoTrailing-stop trail percent (TSLPPCT, decimal).
limit_offsetNoTrailing-stop limit offset (TSLPAMT/TSLPPCT).
trigger_statusNoTrigger status, e.g. `Deactive` / `Active` / `Released`.
currencyYesSettlement currency.
outside_rthNoOutside-RTH setting: `RTH_ONLY` / `ANY_TIME` / `OVERNIGHT`.
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, so the core behavioral traits are covered. The description adds value by listing the return fields, providing transparency about what information is retrieved. There is no contradiction with annotations.

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 concise: a single sentence followed by a clear list of return fields. Every word earns its place, and the key purpose is front-loaded. There is no fluff or repetition.

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?

Given the tool's simplicity (one parameter, high schema coverage, annotations, and an output schema), the description is complete enough. It specifies the return fields and the role of the parameter. A mention of any potential null fields or error conditions could elevate it, but it's already adequate.

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?

With 100% schema description coverage, the input schema already explains the parameter (order_id and its origin). The description does not add further semantic meaning beyond what the schema provides, so a baseline score of 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 clearly states the tool's purpose: 'Get detailed information about a specific order.' It specifies the resource (order) and the action (get), and the return fields are listed, distinguishing it from sibling tools like submit_order or history_orders.

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 description implicitly guides usage by noting that the order_id is returned by submit_order or listed in today_orders/history_orders, but it does not explicitly state when to use this tool versus alternatives like history_executions or today_executions. More explicit guidance on when-to-use vs. when-not-to would improve this dimension.

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

Install Server

Other Tools

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/longbridge/longbridge-mcp'

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