Skip to main content
Glama

get_positions

Get open futures and perpetual positions with profit and loss across crypto exchanges to track your active trades.

Instructions

Get open positions with P&L (futures/perpetual only)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the burden of disclosing behavior. It uses 'get' which implies a read-only operation, and clarifies the scope (open positions with P&L). It does not detail return format or rate limits, but these are not critical for this simple action.

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?

The description is a single, concise sentence that front-loads the action and key details. No unnecessary words or repetition.

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?

For a simple parameterless getter, the description is complete: it specifies what is returned (open positions with P&L) and the market scope. The lack of an output schema is not a gap since the description adequately states the result.

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 has zero parameters, so there is nothing to document. The schema coverage is 100%, and the description adds no parameter information, which is acceptable per the baseline for 0 params.

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 clearly identifies the tool's purpose: retrieving open positions with P&L. It specifies the asset class (futures/perpetual only), distinguishing it from siblings like get_balance (balances) and get_open_orders (orders).

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?

The description provides clear context by stating it is for futures/perpetual only, which signals when to use it. It does not explicitly name alternatives or when-not-to-use, but for a simple read-only getter this is sufficient.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TigranPetosyants/trading-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server