Skip to main content
Glama

子账号列表

sub_account_list
Read-onlyIdempotent

Retrieve paginated proxy sub-accounts for a product, returning IDs, credentials, ports, country, and expiry to support subsequent account operations.

Instructions

分页查询某产品的子账号,返回子账号 id、账号密码、端口、国家、到期时间等;后面所有按子账号操作的工具都从这里取 id。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsNo子账号 id 集合,多个以英文逗号连接
pageYes当前页数
remarkNo按备注模糊搜索(动态产品用)
productYes产品:dynamic-no-expiry=动态住宅流量(永久),dynamic-monthly=动态住宅流量(期限),static-standard=静态住宅(非原生),static-native=静态住宅(原生),static-isp-native=静态住宅(运营商原生),static-ipv6=静态住宅(IPv6),datacenter=数据中心
pagesizeYes每页显示数量。每页最大100条数据
searchArrNo搜索值列表(时长类产品用):search_type=0 时填自定义账号名,search_type=1 时填出口 IP,search_type=2 时只取第一项作为备注关键字
countryListNo国家编码,多个以英文逗号分隔(动态产品用)
search_typeNo搜索类型:0=自定义账密,1=子账号 IP,2=备注;搜索值放 searchArr(时长类产品用)
customUsernameNo按自定义账号搜索(时长类产品用)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and non-destructive hints. The description adds pagination behavior, the returned field set, and the tool's role as an id source. No contradictions exist; the behavioral context is appropriate, though it does not disclose response format details.

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?

A single, front-loaded sentence states the core function and return fields, followed by an essential workflow instruction. Every phrase earns its place; no redundancy or filler.

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 read-only list tool, the description plus 100% schema coverage covers the essentials: purpose, output scope, and the tool's role in the broader sub-account workflow. The absence of an output schema is not critical, though a short note on output format would round it out.

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%, with all 9 parameters documented in detail, so the baseline is 3. The description itself adds no per-parameter semantics beyond noting the output includes id and that the query targets a product; it does not compensate further.

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 uses a specific verb and resource: '分页查询某产品的子账号' (paginated query of sub-accounts for a product), and lists concrete return fields (id, password, port, country, expiry). It also differentiates itself from the many sub_account_* mutation siblings by explicitly stating it is the source for sub-account ids used by all later operations.

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?

The description gives a clear when-to-use signal: '后面所有按子账号操作的工具都从这里取 id' (all subsequent sub-account tools get ids from here), establishing this as the prerequisite lookup before any sub-account mutation. It does not explicitly name alternatives or exclusions, but the workflow role is unambiguous given the sibling list.

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