Skip to main content
Glama

codex_list_accounts

Lists registered ChatGPT Plus accounts with status, notes, quota snapshots, and recent sessions, returns a recommended account by remaining quota, and optionally checks live OAuth and quota.

Instructions

查询所有已注册 ChatGPT Plus 隔离账号的状态、备注、额度快照(按余量推荐排序并返回 recommendedAccount)、最近命名会话列表,以及可选 DeepSeek 扩展余额状态。设置 include_live_quota=true 可并行拉取所有账号及 DeepSeek 的实时官方额度。

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

Input Schema

NameRequiredDescriptionDefault
check_live_statusNo是否实时验证 OAuth 登录态(默认 false)。
include_live_quotaNo是否实时拉取所有 Plus 账号的官方 5h/周额度及 DeepSeek 余额(默认 false 使用缓存)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.3.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose meaningful behavior: the default path is cache-backed, live fetching is opt-in and runs in parallel across all accounts plus DeepSeek. It does not state permission/auth requirements or the latency/cost penalty of the live path, but the read-only nature is implied by 查询.

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, front-loaded with the returned payload and followed by the opt-in live-fetch behavior. The return-value enumeration is dense but each item is informative; no filler sentences.

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 only 2 optional boolean parameters, no annotations, and no output schema, the description compensates well by describing the returned fields and the cost tradeoff between cached and live. A mention of the check_live_status effect in prose would make it fully complete.

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 description coverage is 100%, so the baseline is 3. The description adds real meaning for include_live_quota (parallel live pull of official 5h/weekly quota plus DeepSeek balance, versus cached default), but says nothing about check_live_status, which the schema already documents as an OAuth liveness check.

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 verb (查询/list) and resource (已注册 ChatGPT Plus 隔离账号) and enumerates what is returned: status, notes, quota snapshot with recommendedAccount, recent named sessions, and optional DeepSeek balance. It is clearly distinct from codex_exec/codex_generate_image by domain, but it never explicitly differentiates itself from the closest sibling, codex_manage_account.

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 second sentence explains that include_live_quota=true switches from cached to live parallel fetching, which is a real usage hint. However, there is no explicit statement of when to call this versus codex_manage_account or when live fetching is worth the cost.

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