Skip to main content
Glama

My account balances

get_my_balances
Read-onlyIdempotent

Equity, free margin, used margin and open profit or loss on every exchange account the user connected (Hyperliquid, Bybit, Binance, OKX, sandbox), and the total. Use to report balances or to compare free margin across exchanges. Not needed before opening: size_position reads equity itself. Not for positions (use get_my_positions). No inputs. Amounts in USD (USDC / USDT count as USD). Next: get_my_positions.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
venuesYesOne entry per connected venue
deprecationNoPresent only while this tool is deprecated: replacement, removal_date, changelog
total_equityYesSum of equity on every connected venue, USD

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and the description adds genuinely useful context beyond them: the call fans out over every connected exchange including a sandbox, and all amounts are normalized to USD with USDC/USDT treated as equivalent. It stops short of noting auth requirements or what happens when an exchange account is disconnected or a venue errors, which is the remaining gap for an openWorld aggregation call.

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

Conciseness4/5

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

Front-loaded with the returned fields, then triggers, exclusions, and unit semantics in short declarative sentences. The trailing 'Next: get_my_positions' partially duplicates the earlier 'Not for positions' line, which is the only mild redundancy.

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?

An output schema exists, so return values need no explanation, and the description still supplies the venue coverage and USD normalization an agent needs to interpret them. For a no-input read tool this leaves nothing material unstated.

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?

With zero parameters the baseline is 4, and the description confirms 'No inputs' so an agent won't hunt for a required argument. Nothing further is needed on the parameter side.

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 first sentence names the exact resource (equity, free margin, used margin, open PnL) and its scope (every connected exchange account plus the total), listing the venues by name. It is immediately distinguishable from get_my_positions, which is named as the wrong tool for positions.

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?

It gives positive triggers (report balances, compare free margin across exchanges), an explicit when-not ('Not needed before opening: size_position reads equity itself'), and an alternative for a different need ('Not for positions (use get_my_positions)'). An agent can route on this without opening any schema.

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