Skip to main content
Glama

Beggar Bot

okx_ohlcv

OKX OHLCV candles for a pair (1m-1d): change, high/low range, annualized realized vol, volume and up-candle count. Paid: $0.02 USDC via x402.

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": "okx_ohlcv"
  }
}

Input Schema

NameRequiredDescriptionDefault
pairNoe.g. BTC-USD
limitNocandles (100)
intervalNo1m,5m,15m,1h,6h,1d

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose two valuable traits: the payment requirement and cost ($0.02 USDC via x402), and the exact set of computed metrics returned. It omits default candle count, whether any parameters are optional in practice (required is empty), error/rate-limit behavior, and pagination or max-limit semantics.

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; the resource and interval scope come first, then the returned metrics, then the cost note. The metric list is compressed but each item carries real information rather than restating the name.

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?

For a 3-parameter, annotation-free tool with no output schema, the description adequately conveys what comes back and what it costs. It falls short on optional-parameter behavior and limit/default semantics, which are the main things an agent could get wrong here.

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, and the description adds only the interval span (1m-1d) which the schema already lists. It adds no meaning for 'limit' (default 100, max?), and does not address why 'pair' is optional despite being the core identifier.

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?

Names the specific resource (OKX OHLCV candles), the scoping unit (a pair), the supported interval range (1m-1d), and enumerates the derived outputs (change, high/low range, annualized realized vol, volume, up-candle count). The exchange prefix in the name plus the description clearly separates it from bitfinex_ohlcv/bitstamp_ohlcv/etc., though it never explicitly contrasts itself with those siblings in text.

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?

The only usage-adjacent information is the price line ('Paid: $0.02 USDC via x402'). There is no statement of when to prefer this over the other exchange OHLCV tools, no prerequisite or failure guidance, and no note about what happens when the optional pair parameter is omitted.

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.