Skip to main content
Glama

账户总览

get_account
Read-onlyIdempotent

一个钱包在平台上的全部状态:持仓(含强平价)、未成交委托(限价单、止盈止损,含订单 key)、可领取的资金费 / 分红(含外部导入代币 Merkle 分红)/ 挖矿、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 observed

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 the safety profile is covered. The description adds two things structured data does not: the exact data categories returned, including order keys and externally imported Merkle dividends, and a concrete authorization rule (own API Key/JWT or on-chain-authorized subaccount). It does not mention pagination or response shape, but with no output schema that gap is modest for a single-object read.

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 return contents first, the authorization constraint second. The enumeration is dense but each item is a distinct data category an agent needs, and no sentence is wasted. The long parenthetical list is somewhat hard to parse but front-loads the resource before the permission rule.

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 must carry the return-value burden, and it does so by enumerating the payload categories an agent will receive. Combined with annotations covering safety and idempotency, an agent has enough to decide and call. Minor gaps remain around whether balances and orders are always present versus conditionally returned.

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?

Schema coverage is 100% and the single 'account' parameter already carries its own description. The definition adds only the implicit constraint that the address must belong to the caller or an authorized subaccount, which is useful but does not clarify format or edge cases. This is the baseline case where the schema does the heavy lifting.

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 specific resource, a wallet's full account state, and enumerates the contents precisely: positions with liquidation price, open orders with order key, claimable funding fees/dividends including Merkle-imported tokens, and USDC/BNB balances. The phrase '全部状态' signals this is the aggregate view, which implicitly separates it from narrower siblings like get_account_rewards or get_account_stats. It stops short of naming those siblings explicitly.

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?

The second sentence gives a real access constraint: only the caller's own API Key/JWT or an on-chain-authorized subaccount may query. That tells the agent about authentication but not about tool selection. There is no statement of when to prefer this aggregate call over the more specific get_account_rewards, get_account_referrals, or get_account_trades siblings, so the agent must infer that this is the broad overview option.

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