Skip to main content
Glama

新增动态子账号

sub_account_add

Adds sub-accounts to dynamic residential proxy products, using existing main account traffic without extra fees, and returns the new sub-account credentials.

Instructions

为动态住宅产品新增 num 个子账号,消耗主账号已购流量,不额外扣费。返回新建子账号的账号密码。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
numYes要新增的子账号数量,1 到 500
urlNo业务网址
cityNo城市名称,取 city_list 返回的名称(名称与编码是同一个值)
specNo指定一个供应商(资源池)id,取 provider_list 返回的 id,只能传一个
agreeNo协议,不传默认 SOCKS5
stateNo州或省名称,多个以英文逗号分隔,取 state_list 返回的名称(名称与编码是同一个值)
remarkNo备注
countryYes国家编码(ISO 3166-1 二字码),多个以英文逗号分隔,如 US,JP;可选国家用 country_list 查
productYes产品:dynamic-no-expiry=动态住宅流量(永久),dynamic-monthly=动态住宅流量(期限)
confirm_tokenNo确认码。客户端不支持弹窗确认时,第一次调用只返回操作预览和确认码;把预览告诉用户并得到同意后,用相同参数带上确认码再调一次。支持弹窗确认的客户端不需要这个参数
changeIntervalYesIP 切换间隔,单位分钟,5 到 120
use_random_usernameNo是否使用随机账号密码:0=否,1=是

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

The description discloses an important behavior beyond the annotations: the operation consumes already-purchased main-account traffic and does not incur extra charges, and it returns the new sub-account credentials. However, it omits the confirm_token two-step confirmation behavior: on clients without popup support, the first call returns a preview and confirm code rather than the created accounts, which would qualify the statement about returning account/password.

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?

Two short sentences deliver the action, the target product, the billing implication, and the return value with zero filler. The most essential information is front-loaded, making the description easy for an agent to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex tool with 12 parameters and no output schema, the description is reasonably efficient but leaves significant behavioral gaps: the two-step confirmation flow, the exact response structure beyond account/password, and error/failure conditions are not covered. The schema compensates for parameter details, but the description alone is only minimally viable.

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?

The input schema has 100% parameter coverage with detailed descriptions, including enums for product, protocol, and use_random_username. The description itself only restates num and adds no new parameter-level meaning, so the baseline score of 3 is appropriate.

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 names a specific verb ('新增'), a resource ('动态住宅产品子账号'), and a quantity ('num 个子账号'), clearly differentiating it from siblings like sub_account_delete, sub_account_update, and sub_account_list. It also adds billing context, so an agent can immediately identify the operation as a paid-resource add rather than a generic create.

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 intended use is implied: call this when adding dynamic residential sub-accounts. However, there is no explicit guidance about when not to use it or which alternative sibling might be preferable for other sub-account operations. The naming and sibling list make the role fairly obvious, but the description itself doesn't state exclusions or alternatives.

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