Skip to main content
Glama

购买时长 IP

order_buy_time_ip
Destructive

Purchase time-limited IP sub-accounts for static residential or datacenter proxies, specifying quantity, country, duration, and protocol. Charges account balance upon order confirmation.

Instructions

会从账户余额扣费。购买静态住宅或数据中心的时长 IP 子账号,num 为 IP 数量。后端限制:num 1 到 300,数据中心单笔不超过 50 个且不支持 7 天档;5 秒内相同参数的重复请求会被拒。账号须先完成邮箱或手机验证以及实名验证才能购买。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
numYes要购买的 IP 数量,后端放行 1 到 300,数据中心单笔不超过 50
cityNo城市名称,取 city_list 返回的名称;不传随机
agreeYes协议
ip_strNo指定ip段,多个以英文逗号分隔
remarkNo订单备注
countryYes国家编码,用 country_list 查该产品可买的国家。国家用 ISO 3166-1 二字码,如 US
productYes产品:static-standard=静态住宅(非原生),static-native=静态住宅(原生),static-isp-native=静态住宅(运营商原生),datacenter=数据中心
timelenYes购买时长:0=7天,1=30天,2=90天,3=180天,4=360天
conpon_idNo优惠券 id,用 coupon_list 查
specifyIpsNo指定从哪些 IP 段购买,每项写一个 IP 段前缀和该段要买的数量,各段 count 之和必须等于 num;IP 段用 ip_range_status 查
use_ip_portNoIP 端口连接状态:0=关闭,1=开启
bandwidth_numNo购买时选定的增值带宽,可选值和价格用 bandwidth_package_list 查;数据中心没有带宽加购,不要传
confirm_tokenNo确认码。客户端不支持弹窗确认时,第一次调用只返回操作预览和确认码;把预览告诉用户并得到同意后,用相同参数带上确认码再调一次。支持弹窗确认的客户端不需要这个参数
exclude_ip_strNo指定排除ip段,多个以英文逗号分隔
verder_order_idNo外部请求订单id。非必填。如果传递,则需要每次生成新订单时,这个verder_order_id一定要唯一。否则返回verder_order_id缓存生成的订单数据。缓存有效期4小时。
use_random_usernameNo是否使用随机账号密码:0=否,1=是

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 flag this as non-read-only and destructive, but the description adds concrete operational consequences: it charges account balance, rejects duplicate same-parameter requests within 5 seconds, and imposes order-level caps such as datacenter max 50 and no 7-day option. This context about cost, rate limiting, and prerequisite verification goes beyond the annotation hints. None of this contradicts the annotations.

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 three tightly packed sentences with the most important warning (balance deduction) placed first. Every sentence adds distinct information: what is purchased, backend constraints, and account prerequisites. There is no filler, and the length is appropriate for the tool's complexity.

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 purchase tool with 16 parameters and no output schema, the description covers the essential context: billing, product scope, quantity/timelen constraints, duplicate-request rejection, and verification prerequisites. It does not restate the confirm_token two-step flow or specifyIps sum rule, but those are fully described in the input schema, so the description remains sufficient for agent decision-making.

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?

Schema parameter coverage is 100%, so the baseline is 3. The description adds value by reaffirming that `num` is the IP count and backend limits, and it contributes a new constraint not present in the schema: datacenter purchases cannot use the 7-day `timelen` value. This extra constraint pushes it above baseline, though most parameter detail still lives in the schema.

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 action: purchasing time-based IP sub-accounts for static residential or datacenter products, with `num` as the IP quantity. This clearly differentiates it from sibling buy tools such as order_buy_dynamic and order_buy_ipv6 by explicitly scoping the product type. It is not a tautology and includes concrete resource context.

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 description implies usage context (for static residential/datacenter timed IP purchases) and states prerequisites such as email/phone and real-name verification before purchase. However, it never explicitly tells the agent when to choose this tool over siblings like order_buy_dynamic, order_buy_ipv6, or order_buy_test_ip, nor does it mention alternatives. Thus usage guidance is present but only implied.

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