Skip to main content
Glama

waf__CreatePrepaidCloudWaf

Purchase a prepaid cloud WAF subscription with optional auto-pay, auto-renew, and add-on packs for domains, bandwidth, or rules.

Instructions

[WAF] 购买包周期云模式waf。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "is_auto_pay": "<is_auto_pay>",
      "is_auto_renew": "<is_auto_renew>",
      "project_id": "<project_id>",
      "region_id": "<region_id>"
    },
    "name": "waf__CreatePrepaidCloudWaf"
  }
}

Input Schema

NameRequiredDescriptionDefault
region_idYesregion Id
project_idYes项目id
is_auto_payYes是否自动支付
is_auto_renewYes是否自动续订
waf_product_infoNo购买waf信息
enterprise_project_idNo您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id
rule_expack_product_infoNo购买域名扩展包信息
domain_expack_product_infoNo购买域名扩展包信息
bandwidth_expack_product_infoNo购买域名扩展包信息

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It conveys the key fact that this is a 包周期 (subscription-billed) purchase, but says nothing about it being a billable transaction, the role of is_auto_pay, whether a commitment period is locked in, or whether the action is reversible — all critical for a purchase tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short, front-loaded sentence with zero filler, which is structurally clean. But for a nine-parameter, nested-object purchasing tool this brevity reads as under-specification rather than economy.

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

Completeness2/5

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

Given nine parameters, four of them required, nested extension-package objects and no annotations or output schema, one sentence is not enough. The agent gets no sense of cost implications, ordering of the product-info objects, or what a successful purchase returns.

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 9 documented parameters including nested product-info objects, so the schema does the heavy lifting. The description adds no meaning beyond it, but the baseline of 3 is appropriate when structured fields are this complete.

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 gives a specific verb+resource pair, 购买 (purchase) plus WAF, and qualifies it as 包周期云模式 (prepaid subscription, cloud mode), which is more precise than a bare 'create'. It does not, however, distinguish this from nearby siblings such as waf__CreateInstance or waf__ChangePrepaidCloudWaf, so the agent must infer the boundary from names alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance at all: nothing says to choose this over CreateInstance, or to use ChangePrepaidCloudWaf instead when an existing subscription must be modified. The only implied context is 'buy a new prepaid WAF', which the agent has to reconstruct itself.

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

Deploy Server

Other Tools