Skip to main content
Glama
algolabx

MCP Trading for Vietnam Securities Market

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
bridge_statusA

Trạng thái bridge local: CTCK nào đã liên kết trên máy này, phiên nào còn hạn. Khoá KHÔNG bao giờ hiển thị; liên kết/thu hồi chỉ qua CLI mcp-trading trong terminal.

get_broker_accountsB

Danh sách tiểu khoản tại một CTCK (gọi thẳng từ máy user).

get_broker_balanceB

Tiền mặt / sức mua của một tiểu khoản.

get_broker_positionsC

Danh mục đang nắm giữ của một tiểu khoản.

get_broker_ordersC

Sổ lệnh trong ngày của một tiểu khoản.

request_broker_otpA

Nhờ CTCK gửi OTP mở phiên. DNSE: OTP email (chỉ cần cho đặt/huỷ lệnh; có Smart OTP thì bỏ qua). SSI: gửi theo 2FA đã đăng ký — cần một lần cho cả đọc, sau đó refresh tự gia hạn. TCBS: không gửi gì — iOTP sinh trong app TCInvest, nộp thẳng submit_broker_otp.

submit_broker_otpA

Nộp OTP mở phiên. DNSE: trading token 8h (smart_otp=true nếu mã từ app). SSI: mở access+refresh token (đọc dùng được ngay, tự gia hạn). TCBS: JWT 8h + bridge tự phát hiện tiểu khoản.

place_broker_orderA

Đặt lệnh THẬT (DNSE, SSI, TCBS — tất cả ký/gửi local). Nghi thức 2 bước bắt buộc: gọi lần đầu KHÔNG kèm confirm → trả preview, chưa gửi gì; đọc lại cho người dùng, CHỜ họ xác nhận rõ ràng rồi mới gọi lại với confirm=true. Không tự ý xác nhận thay.

cancel_broker_orderA

Huỷ một lệnh theo order_id (DNSE, SSI, TCBS). Cũng 2 bước: không confirm → preview; confirm=true mới gửi.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 9 tools

Disambiguation5/5

Each tool targets a distinct operation: placing/canceling orders, retrieving accounts/balance/positions/orders, OTP request/submit, and bridge status. No overlapping purposes; descriptions are clear and mutually exclusive.

Naming Consistency4/5

Most tools follow a consistent verb_noun pattern (get_broker_*, place_broker_order, cancel_broker_order, request_broker_otp, submit_broker_otp). The exception is 'bridge_status', which uses noun_verb but still communicates its purpose clearly; overall naming is predictable.

Tool Count5/5

9 tools is well-scoped for a trading server covering order lifecycle, account queries, and authentication. Each tool earns its place without redundancy or unnecessary sprawl.

Completeness4/5

The set covers core trading workflows: placing, canceling, listing orders, viewing positions/balance/accounts, and OTP-based session management. Minor gaps exist (e.g., no modify order, no market data) but the essential operations for executing and monitoring trades are present.

Maintenance

ActivityMaintained
ResponsivenessNo issues