Skip to main content
Glama

cfw__BatchDeleteAddressItems

Batch deletes multiple address group members in Huawei Cloud CFW by specifying address item IDs, set ID, and project ID.

Instructions

[CFW] 批量删除地址组成员

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": {
      "address_item_ids": "<address_item_ids>",
      "project_id": "<project_id>",
      "set_id": "<set_id>"
    },
    "name": "cfw__BatchDeleteAddressItems"
  }
}

Input Schema

NameRequiredDescriptionDefault
set_idYes地址组id,可通过[查询地址组列表接口](ListAddressSets.xml)查询获得,通过返回值中的data.records.set_id(.表示各对象之间层级的区分)获得。
project_idYes项目ID, 可以从调API处获取,也可以从控制台获取。[项目ID获取方式](cfw_02_0015.xml)
fw_instance_idNo防火墙id,可通过[防火墙ID获取方式](cfw_02_0028.xml)获取
address_item_idsYes地址组成员id列表,地址组成员id可通过[查询地址组成员接口](ListAddressItems.xml)查询获得,通过返回值中的data.records.item_id(.表示各对象之间层级的区分)获得。
enterprise_project_idNo企业项目ID,用户根据组织规划企业项目,对应的ID为企业项目ID,可通过[如何获取企业项目ID](cfw_02_0027.xml)获取,用户未开启企业项目时为0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden for a destructive batch mutation, yet it discloses nothing about irreversibility, cascade effects on the address set, batch size limits, partial-failure behavior, or required permissions. Only the word "批量" hints at multi-item semantics.

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?

A single front-loaded phrase with zero padding — appropriately terse for what it contains. Brevity here reflects under-specification rather than poor structure, but the phrase itself is clean and easy to parse.

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 5-parameter destructive batch tool with no annotations and no output schema, the description is far too thin: it says nothing about confirmations, limits, or failure modes. The rich schema documentation partially compensates on the parameter side, keeping this from scoring lower.

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 five parameters including how to obtain set_id, address_item_ids, project_id, and fw_instance_id. The description adds no meaning beyond the schema; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ("批量删除地址组成员" – batch delete address group members), and it usefully clarifies that "address items" are members of an address group. However, it adds nothing to distinguish this from sibling destructive tools such as DeleteAddressItem or BatchDeleteServiceItems; it essentially restates the tool name in Chinese.

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, no prerequisite (such as needing the set_id and item IDs from ListAddressItems/ListAddressSets first), and no statement of when to prefer this batch tool over the single-item DeleteAddressItem. The agent must infer everything from the name and schema.

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