Skip to main content
Glama
longbridge

longbridge

Official

Order Detail

order_detail
Read-onlyIdempotent

Retrieve detailed information for any order using its ID. Input the order ID to get full details about that order.

Instructions

Get detailed information about a specific order

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`.
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, which cover safety and idempotency. The description adds 'detailed information' but does not elaborate on what details are included, what happens if order_id is invalid, or any rate limits. With annotations present, the description's additional value is minimal.

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?

Single sentence, directly to the point with no extraneous words or fluff. Front-loads the core action and resource.

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?

Given the presence of an output schema (not shown but indicated) and comprehensive annotations, the description suffices for a simple 'get by ID' tool. No additional context is necessary for proper invocation.

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 coverage is 100% and the schema description for order_id explains its origin (returned by submit_order or listed in today_orders/history_orders). The tool description adds no further parameter meaning beyond the schema, so baseline 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 action ('Get') and the resource ('detailed information about a specific order'), distinguishing it from sibling tools that list orders (e.g., today_orders, history_orders) or create orders (submit_order).

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 indicates usage when needing details of a single order, but provides no explicit guidance on when to use this tool over alternatives or when not to use it. Given the many order-related siblings, more specific context would help.

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