Skip to main content
Glama

购买测试 IP

order_buy_test_ip
Destructive

Purchase static residential or datacenter test IPs for business testing with 1-day validity. Deducts account balance and consumes monthly quota; requires account verification.

Instructions

会从账户余额扣费并占用本月测试额度。购买静态住宅或数据中心的时长测试 IP,每单按账号设定的测试订单金额扣款;本月额度用完或本次数量超过剩余额度会被拒绝。有效期默认 1 天,只用于业务测试。账号须先完成邮箱或手机验证以及实名验证才能购买。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
numYes需要购买的子账号数量。范围:1-100之间
cityNo城市名称,取 city_list 返回的名称;不传随机
agreeYes协议
ip_strNo指定ip段,多个以英文逗号分隔
countryYes国家编码,用 country_list 查该产品可买的国家。国家用 ISO 3166-1 二字码,如 US
productYes产品:static-standard=静态住宅(非原生),static-native=静态住宅(原生),static-isp-native=静态住宅(运营商原生),datacenter=数据中心
confirm_tokenNo确认码。客户端不支持弹窗确认时,第一次调用只返回操作预览和确认码;把预览告诉用户并得到同意后,用相同参数带上确认码再调一次。支持弹窗确认的客户端不需要这个参数
exclude_ip_strNo指定排除ip段,多个以英文逗号分隔
use_random_usernameNo是否使用随机账号密码:0=否,1=是

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the agent knows this is a mutating operation. The description adds valuable behavioral context: it deducts balance, consumes monthly quota, has a default validity of 1 day, and is restricted to business testing. It also discloses the two-step confirmation flow via confirm_token, which is beyond what annotations provide. No contradiction with annotations.

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?

The description is a single paragraph of 4 sentences, front-loaded with the most critical behavioral facts (billing, quota, rejection conditions). It's concise and every sentence adds value. Slightly dense but appropriate for the complexity of the operation.

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 mutating purchase tool with 9 parameters and no output schema, the description covers the key operational constraints: billing, quota, validity, verification requirements, and the confirmation flow. It doesn't describe the return value or what happens after a successful purchase, but the confirm_token flow is explained. Given the complexity, this is reasonably complete, though it could mention what the response contains.

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 schema already documents all 9 parameters. The description adds context about the confirm_token flow (first call returns preview and token, second call with token confirms), which is valuable. However, it doesn't add much beyond the schema for other parameters like num, country, product, etc. Baseline 3 is appropriate since the schema does the heavy lifting.

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 clearly states the tool's purpose: purchasing test IPs for static residential or datacenter products, with billing and quota implications. It distinguishes itself from siblings like order_buy_dynamic and order_buy_ipv6 by specifying '测试 IP' and the product types. However, it doesn't explicitly name sibling alternatives, so it's clear but not fully differentiated.

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 explicit context: it deducts from account balance, consumes monthly test quota, and requires prior email/phone and real-name verification. It also states when purchases will be rejected (quota exhausted or exceeding remaining quota). It doesn't explicitly say 'use this instead of order_buy_dynamic when...' but the context is clear enough for an agent to select it for test IP purchases.

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