Skip to main content
Glama
Bybit MCP Server

Bybit MCP Server

by trenerok

get_open_interest

Retrieves open interest data for futures contracts by category, symbol, and interval, with optional time ranges and pagination. Use it to analyze futures market positioning without authentication.

Instructions

Get open interest data for futures contracts. Public endpoint (no auth required).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "category": "<category>",
      "symbol": "<symbol>",
      "intervalTime": "<intervalTime>"
    },
    "name": "get_open_interest"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of results (default: 50)
cursorNoPagination cursor
symbolYesTrading pair symbol
endTimeNoEnd timestamp in ms
categoryYesProduct category (futures only)
startTimeNoStart timestamp in ms
intervalTimeYesData interval

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden, and it does contribute one real behavioral fact: 'Public endpoint (no auth required)', which is not in the schema or annotations and tells the agent it can call this without credentials. It says nothing about rate limits, result ordering, pagination mechanics despite a cursor parameter, or the shape of the returned data.

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 short sentences with no filler, and the core purpose is front-loaded ahead of the auth note. It is efficiently written, though the terseness leaves obvious questions unanswered rather than being exemplary.

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

Completeness2/5

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

For a 7-parameter time-series tool with no annotations and no output schema, the description is thin: it does not cover pagination behavior, default/limit semantics, time-range expectations, or what the returned open-interest records look like. An agent could invoke it, but only by leaning entirely on the schema.

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% and every one of the 7 parameters (including both enums, the cursor, and the time range fields) is documented in the schema itself. The description adds no semantics beyond that, so the baseline of 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 ('Get open interest data') and scopes it to 'futures contracts', which is enough to distinguish it from sibling reads like get_klines or get_funding_rate_history. It stops short of any explicit sibling differentiation, so it lands at 4 rather than 5.

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 by the subject matter: an agent can infer this is the tool for open-interest series, and the futures-only scope is a helpful constraint. There is no statement of when to prefer it over other market-data tools, nor any exclusion or prerequisite beyond the auth note.

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