Skip to main content
Glama

Beggar Bot

okx_open_interest

OKX contracts open interest and volume history for a coin in USD (5m/1H/1D): latest, OI change %, min/max, total volume. 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_open_interest"
  }
}

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.4/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 burden, and it does disclose the key behavioral trait: the call costs $0.02 USDC via x402, which is real context an agent needs before invoking. It does not cover failure modes, whether the paid call is metered per request, or what happens with the optional/empty parameters.

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 resource and granularity front-loaded and the payment caveat at the end. The parenthetical metric list is dense but each item earns its place by describing output; nothing is redundant.

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 three-optional-parameter read tool with no output schema, the description usefully sketches the returned metrics and the cost, which is most of what an agent needs. It still leaves a gap around what occurs when coin is omitted despite all parameters being optional, and gives no sense of data window or pagination limits.

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 three parameters (coin, limit, period) are already documented. The description echoes the period enum values (5m/1H/1D) and hints at output shape, but adds no meaning about the limit parameter's default of 48 points or coin omission behavior beyond what the schema states — baseline 3 applies.

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 names a specific verb and resource — OKX contracts open interest and volume history for a coin in USD — and even enumerates the returned metrics (latest, OI change %, min/max, total volume). It is clearly an OKX-specific market-data read, distinct from generic siblings like perp_open_interest, though it does not explicitly contrast itself with them.

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 for pulling OI/volume history at 5m/1H/1D granularity. There is no statement of when to prefer this over perp_open_interest, crypto_options_open_interest, or okx_ohlcv, and no prerequisites or exclusions beyond the payment note.

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.