Skip to main content
Glama

查询额度与账户状态

get_account
Read-onlyIdempotent

查询当前令牌的应用档位(free/paid)、各能力当日额度用量(tts/asr/ocr 的 used/limit/remaining)、额度重置时间与许可证有效期。只读,不消耗额度。游客模式下额外返回 personal 字段(本 IP/本实例的个人 30/15/15 用量与北京 00:00 重置)。

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": "get_account"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
appNo
quotaNo
personalNo游客个人额度视图(仅 guest/trial 返回);ipHash=客户端 IP 的 sha256 前 12 位,不回传明文/网段
requestIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare read-only, idempotent, non-destructive, and open-world behavior, so the description is not required to carry the full safety burden. It adds useful context beyond annotations by stating that quota is not consumed and by describing the guest-mode personal quota field and reset timing; it does not mention authentication or rate limits.

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?

The description is compact and front-loads the core purpose before listing returned fields and guest-mode behavior. The long enumeration of quota fields is dense but every element is relevant, with little wasted wording.

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?

Given zero parameters, existing annotations, and an output schema, the description is complete enough for correct invocation. It covers tier, per-capability quota usage, reset time, license expiry, read-only behavior, no quota consumption, and guest-mode extras.

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 has zero parameters, so parameter semantics are inherently minimal and the schema has no properties to explain. The description appropriately does not invent parameter guidance and focuses on returned account/quota information.

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 states a specific verb-resource pair: querying the current token's app tier, daily quota usage, reset time, and license validity. It clearly distinguishes this account/quota-status tool from the sibling job, task, and media-processing tools, which operate on content rather than account state.

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?

It gives clear context for when the tool is useful, namely checking quota and account status, and notes that it is read-only and does not consume quota. It does not explicitly name alternatives or when not to use it, so it falls short of the top score.

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