Skip to main content
Glama
bybit-exchange

Bybit MCP Server

Official

getPredictionPositionList

Read-only

Retrieve your current open prediction positions with share counts, market value, and unrealized P&L. Check it before selling to verify sufficient shares and get token IDs for sell orders.

Instructions

Query the authenticated user's current open prediction positions. Returns positions that have not yet been resolved.

Each position includes the number of shares held, current market value, unrealized P&L, and the associated event information.

AI agent should call this before placing a sell order to confirm the user holds sufficient shares, and to display the current portfolio.

Agent hint: Use this to check what positions the user currently holds before selling. Shows open (unresolved) positions only. For historical positions, use getPredictionPositionHistory. Each position has a tokenId — use it in sell orders. Check availableSize before selling to ensure the user has enough shares.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
directionNo
pageIndexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.15

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already mark this as read-only, and the description adds useful behavioral context beyond that: it returns only unresolved positions, each position contains tokenId and availableSize, and these fields matter for sell orders. It does not contradict the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded and mostly helpful, but it repeats the open/unresolved position restriction twice and gives near-duplicate agent guidance in the second paragraph and the agent hint. It could be tightened without losing information.

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?

Since there is no output schema, the description appropriately lists key return fields: shares held, market value, unrealized P&L, event information, tokenId, and availableSize. It also ties the tool into the sell workflow. The main gap is undocumented pagination parameters, but they are optional and the core usage guidance is sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, and the description does not explain any of the three parameters: limit, direction, or pageIndex. These are pagination controls, and the agent receives no guidance on how to use them. The tokenId and availableSize references are response fields, not parameter semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Query the authenticated user's current open prediction positions.' It further clarifies the scope by stating 'Returns positions that have not yet been resolved,' which clearly distinguishes it from historical position tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit usage guidance: call this before placing a sell order to confirm sufficient shares and display the current portfolio. It also names the alternative, getPredictionPositionHistory, and states when to use it instead, leaving no ambiguity.

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

Deploy Server

Other Tools