Skip to main content
Glama

get_positions

Retrieve current Bybit trading positions with unrealized PnL, stop-loss levels, and leverage to monitor open exposure and manage risk.

Instructions

Get current trading positions with unrealized PnL, stop-losses, and leverage

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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv11.5.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description must carry the behavioral load. "Get" implies a non-mutating read and the field list (unrealized PnL, stop-losses, leverage) tells the agent what state is exposed, but freshness, whether positions are per-account or aggregate, and empty-position behavior are all unstated.

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?

A single front-loaded sentence with no filler; the resource leads and the returned fields follow. Nothing could be removed 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?

For a zero-parameter read tool with no output schema, the description must convey what comes back, and it lists three of the most decision-relevant fields. It stops short of describing the record shape (symbol, size, side, entry price), which leaves a small gap given no output schema exists.

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

Parameters4/5

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

The tool takes zero parameters, so there is no parameter semantics to explain and the baseline of 4 applies. The description correctly does not waste words on inputs and instead spends its sentence on output content.

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 current trading positions") and enumerates the payload (unrealized PnL, stop-losses, leverage), so the agent knows exactly what this returns. It does not explicitly contrast with siblings like get_risk_status or get_journal, which is the only thing separating it from a 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: the word "current" signals a live snapshot read, which is enough to distinguish it from historical/analytical siblings such as get_journal and backtest_run. There is no explicit when-to-use, when-not-to-use, or prerequisite (e.g., account/margin setup) stated.

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