Skip to main content
Glama
nexus-xyz

nexus-exchange-mcp

Official
by nexus-xyz

get_account_summary

Retrieve the authenticated account's portfolio summary: equity, margin usage, PnL, and withdrawable funds from the authoritative margin view. Retry on 502 if unavailable.

Instructions

Get the authenticated account's portfolio summary (equity, margin usage, PnL rollup) — a richer view than get_balance. Includes withdrawable: the engine-authoritative free margin floored at zero, i.e. exactly what can leave the account (never negative). Because withdrawable comes from that authoritative margin view, this call fails closed with a 502 (authoritative_margin_unavailable) when the view is unavailable rather than returning a local estimate: retry after a short delay, do NOT read the error as a flat or empty account. Requires API credentials.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does an excellent job. It discloses the fail-closed behavior with the specific 502 error code, exactly what withdrawable means, that it never goes negative, and importantly instructs not to misinterpret the error as an empty account—rich and specific behavioral context.

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?

Every sentence carries unique information: what the tool returns, how it differs from get_balance, the withdrawable definition, error semantics, retry behavior, and the credential requirement. It is dense but not redundant; the length is justified by the behavioral richness.

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 zero-parameter, no-output-schema tool, this description is complete. It covers the purpose, return semantics, error conditions, proper handling, and authentication requirements. There are no undocumented input fields to worry about and the sibling context clarifies its niche relative to get_balance and other account tools.

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?

This tool has zero parameters, so the baseline is 4 per the rubric. The description adds meaning by explaining the output fields (equity, margin usage, PnL rollup, withdrawable), which helps beyond schema since no parameter details are needed.

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 opens with a specific verb and resource: "Get the authenticated account's portfolio summary (equity, margin usage, PnL rollup)" — this clearly states what the tool does. It also explicitly distinguishes itself from the sibling get_balance by calling itself "a richer view", making it easy to differentiate.

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 names get_balance as an alternative and positions this tool as the richer option, giving clear context for when to choose it. It also includes actionable guidance such as requiring API credentials and advising a retry after a delay on 502, though it stops short of a fully explicit when-not-to-use list.

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

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/nexus-xyz/nexus-exchange-mcp'

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