Skip to main content
Glama

Okx Ticker

okx_ticker
Read-onlyIdempotent

OKX crypto exchange, single instrument ticker (e.g. "BTC-USDT", "BTC-USD-SWAP"). Returns bid/ask, last, 24h vol/change. Use for current pricing of an OKX-listed instrument.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "instId": "BTC-USDT"
    },
    "name": "okx_ticker"
  }
}

Input Schema

NameRequiredDescriptionDefault
instIdYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered. The description adds the payload contents (bid/ask, last, 24h volume and change), which is useful behavioral context, but says nothing about auth requirements, rate limits, or behavior on an unknown/unlisted instId.

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

Conciseness4/5

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

Two tight sentences with the exchange and scope front-loaded and the return fields summarized immediately after. Minor waste only in that the return-field list partially duplicates the output schema.

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

Completeness3/5

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

It is a low-complexity single-parameter read tool with an output schema, so the description does not need to explain return values. Still, it omits the spot-vs-swap/derivative distinction implied by its own examples and any error behavior, leaving small gaps for an agent picking an instrument id.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter instId carries no inline text, so the description must carry the meaning — and it does by giving two format examples ('BTC-USDT' spot pair and 'BTC-USD-SWAP' swap contract), which teaches the instrument-id convention. It stops short of saying what happens if instId is malformed or delisted.

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?

States a specific verb+resource: a single-instrument ticker on OKX, with the fields returned (bid/ask, last, 24h vol/change) named. It implicitly distinguishes itself from the plural sibling okx_tickers via 'single instrument', but never names that alternative, so the differentiation is only inferable.

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?

'Use for current pricing of an OKX-listed instrument' gives the intended context, which is adequate. However it offers no when-not guidance (e.g. batch pricing across many instruments, or historical candles) and does not name a sibling to route to when a single ticker is the wrong shape.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.