Skip to main content
Glama
Orderly Trading MCP

Orderly Trading MCP

Official

Account balance

account_balance
Read-onlyIdempotent

Retrieve an account's token holdings—USDC balance, frozen amount, and isolated margin—to verify available funds and margin status.

Instructions

Show the account's token holdings (USDC balance, frozen amount, isolated margin). Use positions_list for account value, free collateral and margin ratios.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "account_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountNoAccount ID (auto-resolves if single account)
networkNoNetwork override for this call. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.5

TDQS

A4.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is fully covered without the description's help. The description adds useful content by naming the returned fields, but says nothing about auth requirements, network behavior, or what happens when multiple accounts exist (the schema carries the auto-resolve note).

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, no waste, with the returned fields front-loaded and the disambiguation second. Every clause carries information.

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?

For a simple two-optional-parameter read tool, the definition is essentially complete: purpose, returned fields, and the sibling alternative are all stated. No output schema exists, but the enumerated holdings fields substitute reasonably well for one.

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?

With 100% schema description coverage across two optional parameters, the schema already documents account resolution and the network override precedence chain. The description adds no parameter meaning beyond that, so the baseline 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?

Specific verb plus resource ('Show the account's token holdings') with the returned components enumerated (USDC balance, frozen amount, isolated margin). It is clearly distinguished from the sibling tool positions_list, which covers value, collateral and margin ratios.

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?

Explicitly routes the agent: this tool for token holdings, positions_list for account value, free collateral and margin ratios. That is a clear alternative-selection rule rather than implied usage.

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