Skip to main content
Glama

账户总览

get_account
Read-onlyIdempotent

Retrieve a wallet’s complete platform state—positions with liquidation prices, open orders, claimable rewards, and USDC/BNB balances—to verify account status and available funds.

Instructions

一个钱包在平台上的全部状态:持仓(含强平价)、未成交委托(限价单、止盈止损,含订单 key)、可领取的资金费 / 分红 / 挖矿、USDC 和 BNB 余额。仅允许本人 API Key / JWT 或已链上授权的子账户查询。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "account": "<account>"
    },
    "name": "get_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountYes用户钱包地址(交易的签名人和收款人)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered structurally. The description adds genuinely new behavioral context beyond them: access requires the owner's API Key/JWT or an on-chain-authorized sub-account, which tells the agent this will fail for arbitrary addresses. It does not mention rate limits or response size, but for a read-only overview that gap is minor.

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?

Two sentences: the first front-loads the returned state as a tight enumeration, the second states the access constraint. Every clause maps to a distinct part of the payload, so nothing is filler. The list is dense but scannable, and the most decision-relevant information (what you get) comes first.

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 output schema, the description takes on the job of describing the return value, and it does so by enumerating the payload sections, which is the right compensation. Combined with the annotation set covering read-only and idempotent behavior and the auth note, an agent has enough to call this correctly. Only the absence of any note on response shape/ordering or error behavior for unauthorized addresses keeps it below a 5.

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?

There is a single parameter at 100% schema description coverage, and the schema already defines it as the user wallet address (transaction signer and recipient). The description only restates 'a wallet' without adding format, checksum, or casing conventions, so it adds no meaning beyond the schema. Baseline 3 applies when the schema carries the parameter documentation.

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?

The description names a concrete resource (a wallet's full platform state) and enumerates exactly what that state comprises: positions with liquidation price, open orders including order keys, claimable funding/dividends/mining, and USDC/BNB balances. That enumeration implicitly separates it from the narrower siblings (get_account_rewards, get_account_trades, get_account_stats), though it never names an alternative explicitly. An agent can tell what it returns, but sibling routing is left to inference.

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

Usage Guidelines3/5

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

Usage is only implied: the aggregation of many sub-resources signals 'use this for a one-shot snapshot of account state.' There is no explicit when-to-use versus the narrower get_account_* tools, and no guidance on when a dedicated endpoint would be preferable. The auth sentence does constrain who may call it, which is useful but is an access rule rather than selection guidance.

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