Skip to main content
Glama

Beggar Bot

okx_long_short_ratio

OKX long/short account ratio history for a coin (5m/1H/1D): latest, long %, min/max/avg and change. 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_long_short_ratio"
  }
}

Input Schema

NameRequiredDescriptionDefault
coinNoe.g. BTC
limitNopoints (48)
periodNo5m, 1H or 1D

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description does carry the burden, and it does disclose two useful traits: the returned metrics (latest, long %, min/max/avg, change) and a paid cost of $0.02 USDC via x402. It says nothing about whether payment occurs per call, what happens on payment failure, rate limits, or error behavior.

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?

Two short sentences: purpose and return shape first, then the pricing caveat. No filler, no restatement of the name, and the most decision-relevant facts are front-loaded.

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?

There is no output schema, and the description partially compensates by listing the returned metrics. However, for a paid tool with three optional parameters, it omits defaults, pagination/point semantics, and the mechanics of the x402 payment, leaving gaps an agent would hit on first invocation.

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 schema already documents coin, limit, and period. The description echoes the period values (5m/1H/1D) but adds no default values, no explanation that all parameters are optional, and no guidance on how limit interacts with period.

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: OKX long/short account ratio history for a coin, plus the supported periods and the fields returned. It is clearly distinguishable from siblings like okx_funding_rates or okx_open_interest, though it does not name any alternative explicitly.

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?

There is no when-to-use guidance and no comparison to the many other OKX derivatives metrics tools in the catalog. The agent must infer from the name alone whether it wants positioning ratios versus funding, open interest, or taker volume.

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.