Skip to main content
Glama
okx-spot-derivatives-mcp

okx-spot-derivatives-mcp

List OKX top markets by volume

list_okx_top_markets
Read-onlyIdempotent

Rank active OKX spot, perpetual swap, or futures markets by 24h quote volume, with optional symbol search to find high-volume trading pairs.

Instructions

Rank active OKX spot, perpetual swap, or futures markets by 24h quote volume with optional symbol search.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_okx_top_markets"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum markets to return (default 15, max 50).
searchNoOptional filter string (e.g. "BTC", "ETH", "USDT").
inst_typeNoInstrument type (default "SPOT").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered elsewhere. The description's own contribution is that only "active" markets are considered and that ranking is by 24h quote volume, but it says nothing about result ordering, truncation, or rate/availability behavior beyond what the schema's limit field implies.

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?

A single front-loaded sentence that states action, scope, metric, and the optional search behavior with zero redundant wording.

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

Completeness4/5

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

With no output schema, the description would ideally indicate what a market row contains, but for a simple three-parameter, read-only listing tool with full schema coverage and complete annotations, it gives enough to call correctly. The only real gap is the shape of the returned market records.

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 all three parameters (limit, search, inst_type) are self-documenting and the baseline is 3. The description adds only that search is a symbol-match filter and that the instrument types map to the inst_type enum; it contributes no syntax or format detail the schema lacks.

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

Purpose4/5

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

The description pairs a specific verb ("Rank") with a specific resource ("active OKX spot, perpetual swap, or futures markets") and the ranking metric (24h quote volume), so the operation is unambiguous. It does not name any sibling tool, but the list-and-rank behavior is clearly distinct from candle, funding-rate, orderbook, or ticker fetches.

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?

Usage is only implied: an agent can infer this is the tool for discovering top markets, and the schema supplies the default instrument type. There is no explicit statement of when to prefer this over get_okx_ticker or get_okx_orderbook, and no exclusions or prerequisites are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.