Skip to main content
Glama

get_my_positions

Read-only

Use this when the user asks about their open positions, or before closing a position or moving its stop-loss / take-profit. Returns each position's side, size, entry, mark and liquidation price, leverage, margin, unrealized PnL, and the take-profit and stop-loss orders protecting it right now (with their order ids). Pass symbol for one coin.

Input Schema

NameRequiredDescriptionDefault
symbolNoOnly the position in this coin, e.g. BTC, SOL, xyz:TSLA. Omit for every open position.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false), yet the description adds the full return payload — side, size, entry, mark, liquidation price, leverage, margin, unrealized PnL — and notes that the protective TP/SL orders are reported 'right now' with their order ids. That freshness and order-id detail is exactly what an agent needs before mutating them.

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?

Two sentences, both front-loaded: the first gives the trigger, the second the return contract, with the symbol caveat appended last. No filler.

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

Completeness5/5

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

With no output schema, the description carries the burden of describing the return value and does so thoroughly, including the nested protective-order detail with ids. One optional parameter, fully documented — nothing an agent needs to call it correctly is missing.

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 the single parameter's description already explains the omitted/all semantics and gives the xyz:TSLA format example. 'Pass symbol for one coin' merely restates the schema, so the baseline of 3 applies.

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?

States a specific verb+resource ('get_my_positions' → their open positions) and enumerates the exact fields returned, which distinguishes it from get_my_open_orders and get_my_account without opening either schema. The trailing 'Pass symbol for one coin' also pins down its scope.

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

Usage Guidelines4/5

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

Gives concrete trigger conditions ('when the user asks about their open positions') plus workflow preconditions ('before closing a position or moving its stop-loss / take-profit'), which effectively routes the agent toward close_position and set_position_tp_sl. It does not name an explicit alternative or a when-not case, so it falls just short of the top band.

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.

Resources