Skip to main content
Glama

子账号带宽升级

order_bandwidth_upgrade
Destructive

Upgrade bandwidth for static residential sub-accounts to a higher package. Check bandwidth_package_list for options, renew expired sub-accounts first, then confirm to deduct from account balance.

Instructions

会从账户余额扣费。把静态住宅子账号的带宽升级到 bandwidth_num;可选档位和价格用 bandwidth_package_list 查;有已过期的子账号时要先续费再升级。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
productYes产品:static-standard=静态住宅(非原生),static-native=静态住宅(原生),static-isp-native=静态住宅(运营商原生)
sub_accountsYes要升级的子账号 id 列表,单次最多 200 个
bandwidth_numYes升级后的目标带宽,必须大于子账号当前带宽,可选值用 bandwidth_package_list 查
confirm_tokenNo确认码。客户端不支持弹窗确认时,第一次调用只返回操作预览和确认码;把预览告诉用户并得到同意后,用相同参数带上确认码再调一次。支持弹窗确认的客户端不需要这个参数

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 indicate destructiveHint=true (mutating) and readOnlyHint=false, so the description appropriately adds billing details ('will deduct from account balance') and the prerequisite about expired sub-accounts. It also mentions the confirm_token flow in the schema, which is covered there. The description adds value beyond annotations by explaining the billing impact and renewal precondition.

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?

The description is concise, front-loaded with the most critical fact (billing), and every sentence adds value. It covers billing, the action, how to find options, and a precondition in just three sentences without redundancy.

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?

Given the tool's complexity (4 params, no output schema, annotations present), the description is quite complete: it covers billing, the upgrade action, package lookup, and a precondition. The only minor omission is explicit information about the return value or preview behavior, but that is partially covered by the confirm_token schema description. Overall, sufficient for correct invocation.

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%, so the schema already documents each parameter's meaning (product enum, sub_accounts list, bandwidth_num, confirm_token). The description adds minimal extra meaning for bandwidth_num (must be greater than current bandwidth) and mentions the confirm_token process, but most parameter details are in the schema. Baseline 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 clearly states the tool's purpose: upgrading the bandwidth of static residential sub-accounts to a specified value, with explicit mention of billing from account balance. It distinguishes itself from siblings like order_renew and bandwidth_package_list by focusing on the upgrade action and referencing the package list for options.

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 provides clear context for when to use this tool: to upgrade bandwidth, and mentions using bandwidth_package_list to check available packages and prices. It also notes a precondition (must renew expired sub-accounts first), but doesn't explicitly mention alternatives for other actions like renewal, which is covered by order_renew.

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