Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Option volume daily
LONGBRIDGE_MCP_OPTION_VOLUME_DAILYGet daily historical option stats for a US stock. Returns items[]{date, call_volume, put_volume, put_call_vol_ratio, call_oi, put_oi, put_call_oi_ratio}.
Order detail
LONGBRIDGE_MCP_ORDER_DETAILGet detailed information about a specific order. To look up such a leg by its own ID instead, pass it as order_id with is_attached=true: the response is then that leg, with charge_detail null.
Participants
LONGBRIDGE_MCP_PARTICIPANTSGet HK market participant broker information. Returns participants[]{broker_ids[], name_en, name_cn, name_hk}. Use broker_ids to interpret broker queue data.
Profit analysis
LONGBRIDGE_MCP_PROFIT_ANALYSISGet portfolio profit and loss analysis summary. start/end: optional date range in yyyy-mm-dd format. Both must be provided together — passing only one returns empty results.
Profit analysis detail
LONGBRIDGE_MCP_PROFIT_ANALYSIS_DETAILGet detailed profit and loss analysis for a specific symbol. start/end: optional date range in yyyy-mm-dd format. Both must be provided together — passing only one returns empty results.
Quant run
LONGBRIDGE_MCP_QUANT_RUNRun a quant indicator script against historical K-line data on the server. Executes the script server-side and returns the computed indicator/plot values as JSON. Periods: 1m, 5m, 15m, 30m, 1h, day, week, month, year (default: day). The optional input parameter accepts a JSON array matching the order of input.*() calls in the script, e.g. "[14,2.0]".
Quote
LONGBRIDGE_MCP_QUOTEGet latest price quotes. Returns per symbol: last_done, prev_close, open, high, low, volume, turnover, change_rate, change_value, trade_status, timestamp.
Rank categories
LONGBRIDGE_MCP_RANK_CATEGORIESGet rank tab category configurations for the popularity leaderboard. Pass a second_tags key (e.g. `hot_all-us`) to rank_list.
Rank list
LONGBRIDGE_MCP_RANK_LISTGet ranked stock list by leaderboard tab key. key: from rank_categories second_tags[].key (e.g. "hot_all-us", "hot_up-hk", "trade_heat-us"). market: inferred from key suffix (-us/-hk) or pass explicitly. size: results (default 20).
Replace order
LONGBRIDGE_MCP_REPLACE_ORDERModify an open order's quantity, price, trigger_price, or trailing params. Returns "order replaced" on success. Only open/pending orders can be modified. TWO-STEP CONFIRMATION IS MANDATORY: this tool is a DRY RUN unless you pass the confirmation_code its own dry run returned. Call it first without execute, show the returned preview to the user, and only call it again with execute="<confirmation_code>" after the user has explicitly confirmed that exact order. The code is derived from the order itself, so it applies only to that exact order. Never quote it back on your own initiative, and never in the same turn the user first asks. The dry run echoes the current order alongside the requested change. Attached take-profit/stop-loss legs are changed here too: attached_order_type with the new attached_profit_taker_price / attached_stop_loss_price adds or reprices a leg, attached_profit_taker_id / attached_stop_loss_id target an existing leg, and attached_cancel_all=true removes every leg while leaving the order in place.
Screener indicators
LONGBRIDGE_MCP_SCREENER_INDICATORSGet all available screener indicator keys with units and default value ranges. Technical indicators include a tech_values field showing available options (e.g. macd_day: {category:[goldenfork,deadcross], period:[day,week]}).
Screener recommend strategies
LONGBRIDGE_MCP_SCREENER_RECOMMEND_STRATEGIESList platform-preset screener strategies. market: US|HK|CN|SG (default: US). Pass id to screener_search strategy_id to run, or screener_strategy to inspect filter conditions.
Screener search
LONGBRIDGE_MCP_SCREENER_SEARCHScreen stocks. market: US|HK|CN|SG (Mode B required; Mode A uses strategy's market). Mode A: strategy_id from screener_recommend_strategies — auto-runs saved strategy.
Screener strategy
LONGBRIDGE_MCP_SCREENER_STRATEGYInspect a screener strategy's filter conditions before running it. Use screener_search strategy_id to execute the strategy.
Screener user strategies
LONGBRIDGE_MCP_SCREENER_USER_STRATEGIESList the current user's saved screener strategies. market: US|HK|CN|SG (default: US). Pass id to screener_search strategy_id to run, or screener_strategy to inspect conditions.
Security facts
LONGBRIDGE_MCP_SECURITY_FACTSList a security's fact (catalyst) events — anomaly detections, factor readings, data sources and natural-language summaries — filtered by time range and count. Facts are what strategies react to: a signal names its trigger in key_fact_id.
Security list
LONGBRIDGE_MCP_SECURITY_LISTGet security list for a market. Supports market: US, HK, CN, SG. category: "Overnight" (default). page: 1-based page number (default 1). count: records per page (default 50).
Shareholder
LONGBRIDGE_MCP_SHAREHOLDERGet institutional shareholders for a symbol.
Shareholder detail
LONGBRIDGE_MCP_SHAREHOLDER_DETAILGet a single shareholder's holding and trade history. Requires object_id from shareholder_top. Note: trading_details[] is empty for institutional (13F) holders — it is only populated for insider/individual filers (Form 4).
Shareholder top
LONGBRIDGE_MCP_SHAREHOLDER_TOPGet Top 20 major shareholders (institutions, individuals, insiders) across reporting periods. Use object_id with shareholder_detail to drill into a holder's full trade history.