Skip to main content
Glama
Bybit MCP Server

Bybit MCP Server

by trenerok

get_positions

Retrieves current open futures and options positions with size, entry price, unrealized PnL, leverage, and liquidation price. Filter by symbol, base coin, settle coin, or category and paginate results.

Instructions

Get current open positions for futures/options. Shows size, entry price, unrealized PnL, leverage, and liquidation price. Auth required.

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

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of results (default: 20, max: 200)
cursorNoPagination cursor
symbolNoTrading pair symbol (e.g., BTCUSDT)
baseCoinNoBase coin filter
categoryNoProduct categorylinear
settleCoinNoSettlement coin filter

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/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 load but only partially: it discloses the returned fields (size, entry price, unrealized PnL, leverage, liquidation price) and that authentication is required, which is real added context. It says nothing about pagination behavior despite cursor/limit params, default category coverage, or how empty accounts are reported.

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?

Three short sentences, front-loaded with the verb and resource, then return payload, then a prerequisite. Nothing is redundant and no sentence restates the tool name.

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

Completeness4/5

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

With no output schema, listing the returned fields is exactly the right compensation, and the auth note covers a real prerequisite. The remaining gap is pagination and default-scope behavior for a 6-parameter, all-optional query tool.

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 every parameter is already documented in the schema, including defaults and the category enum. The description adds no filter semantics such as which filters combine or how baseCoin relates to symbol, so the 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?

States a specific verb+resource ("Get current open positions") scoped to futures/options, and enumerates the returned fields. That makes it clearly distinguishable from siblings like get_open_orders or get_closed_pnl, though it never names the boundary 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?

No when-to-use guidance, no exclusions, and no routing to alternatives such as get_closed_pnl for settled positions or get_open_orders for resting orders. Usage is only implied by the word "current", which leaves the agent to infer the open-vs-closed and position-vs-order distinction.

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