Skip to main content
Glama
okx-wallet-H

hvip MCP Server

by okx-wallet-H

okx_ws_subscribe_private

Subscribe to private WebSocket channels on OKX for real-time account, order, position, and trade data. Specify channel and optional instrument ID.

Instructions

[L:READ] CAT:[行情-WS] | → 请先调用 agent_catalog

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instIdNo产品ID。账户级频道可不传(如 account/positions/balances)
channelYes私有频道名。共 22 个: account / positions / balance_and_position / position-risk-warning / account-greeks / orders / fills / algo-orders / advance-algo-orders / spot-grid-algo-orders / contract-grid-algo-orders / grid-positions / grid-sub-orders / recurring-buy-orders / lead-trading-notification / deposit-info / withdrawal-info / rfqs / quotes / structure-block-trades / sprd/orders / sprd/trades
Behavior2/5

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

No annotations are present, so the description must carry the full burden. It only hints at read-only behavior with '[L:READ]' but fails to disclose important behavioral traits such as the need for prior authentication, the fact that it establishes a long-lived WebSocket connection, or what happens upon subscription (e.g., data streaming).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is very short, which is concise, but it lacks essential information. It front-loads a prerequisite instruction, but the overall structure is too sparse to be effective. While brevity is valued, it sacrifices clarity and completeness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (WebSocket subscription), the absence of annotations and output schema, and the cryptic description, the context is severely incomplete. The description does not explain the return values, side effects, or the lifecycle of the subscription, making it difficult for an agent to use correctly.

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%, so the baseline is 3. The tool description adds no additional meaning to the parameters beyond what the schema already provides. It does not explain the channel values or the instId field, which are fully documented in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is vague and does not clearly state the purpose of the tool. It only contains cryptic tags like '[L:READ]' and 'CAT:[行情-WS]' without explaining that the tool is for subscribing to private WebSocket channels. The instruction '请先调用 agent_catalog' is a prerequisite, not a purpose statement.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Minimal usage guidance is provided. The description instructs to call 'agent_catalog' first, but it does not specify when to use this tool over alternatives or provide any context about the appropriate scenarios for private subscription. No exclusions or comparisons with siblings are given.

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/okx-wallet-H/hvip-mcp'

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