Skip to main content
Glama
nexus-xyz

nexus-exchange-mcp

Official
by nexus-xyz

fetch_balance

Get the authenticated account snapshot: collateral balance, equity, positions, per-position risk detail, and funding paid. Requires API credentials.

Instructions

Get the authenticated account snapshot: collateral balance, equity, and positions. Positions carry per-position risk detail. notional_value, margin_used, roe, max_leverage, and leverage are derived from mirrored state, so any of them can be null with a companion <field>_error naming the reason (e.g. mark_price_unavailable); treat null as UNKNOWN, never as zero. leverage is currently always null (leverage_error: margin_state_not_mirrored) — do not infer it from margin_used. funding_paid is NOT one of those: it is always present and has no _error companion, so its "0" is a real zero (no funding accrued), not unknown. It is paid-positive — a negative value means funding was received. Requires API credentials.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does so well: it discloses the auth requirement, that several fields are derived from mirrored state and may be null with a companion <field>_error, that null means UNKNOWN not zero, that leverage is always null, and that funding_paid is always present and paid-positive. This is unusually rich semantic disclosure that goes well beyond field naming.

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?

Purpose is front-loaded in the first clause, followed by progressively finer caveats about null handling and sign conventions. Dense but each sentence carries non-obvious information; the funding_paid contrast may reiterate a point, keeping it just short of fully tight.

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?

With no annotations and no output schema, the description must explain the tricky return fields, and it covers the highest-risk ones (null semantics, leverage always null, funding_paid sign). It does not describe the overall shape of 'positions' or equity composition, and offers no routing against sibling snapshots, leaving a small gap.

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 no parameters, so per the rules the baseline is 4 and there is nothing for the description to clarify. The description's detailed semantics instead cover the return fields, which is appropriate given the absence of both a schema and an output schema.

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?

States a specific verb+resource: 'Get the authenticated account snapshot: collateral balance, equity, and positions.' An agent immediately knows this is a read of account state. However, it never distinguishes itself from the many overlapping siblings (fetch_account_summary, fetch_account_state, get_balance, fetch_positions, get_account_state), so the agent cannot tell which near-duplicate to pick.

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

Usage Guidelines2/5

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

The only usage signal is 'Requires API credentials.' There is no when-to-use vs when-not guidance, no mention of alternatives like fetch_account_state or fetch_positions, and no scenario that selects this tool over its many lookalike siblings.

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