Skip to main content
Glama
okx-wallet-H

hvip MCP Server

by okx-wallet-H

okx_get_trades

Fetch recent trade history for a specific instrument on OKX. Provide the product ID and optionally set the number of trades to return.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo返回条数,默认20
instIdYes产品ID
Behavior2/5

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

With no annotations provided, the description carries the full burden. It indicates '[L:READ]' suggesting read-only behavior, but lacks details on side effects, authorization needs, or rate limits. The description is too minimal to disclose meaningful behavioral traits.

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

Conciseness2/5

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

The description is extremely short but lacks substance. It uses cryptic labels and a prerequisite note without explaining what the tool does. Conciseness is not achieved when critical information is omitted.

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

Completeness1/5

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

Given the tool's complexity (wide range of sibling tools, 2 parameters, no output schema), the description is woefully incomplete. It fails to specify return values, the scope of trades (recent, historical, public), or any usage details. The agent cannot effectively use this tool based on the description alone.

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%, so the input schema already describes the parameters. The description adds no additional meaning beyond what is already in the schema (e.g., 'instId: 产品ID', 'limit: 返回条数,默认20'). Baseline score of 3 is appropriate.

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 does not clearly state what the tool does. It only includes a category label and a prerequisite instruction ('请先调用 agent_catalog'). The purpose must be inferred from the name 'okx_get_trades', which is insufficient for distinguishing it from sibling tools like okx_get_ticker or okx_get_history_trades.

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?

No guidance on when to use this tool versus alternatives. The description only notes that agent_catalog should be called first, but does not explain the context or when to choose this tool over similar ones like okx_get_trades_history or okx_get_orderbook.

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