Skip to main content
Glama

cfw__DeleteFirewall

Deletes a Cloud Firewall instance on demand by specifying the Huawei Cloud project ID and firewall 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": {
      "project_id": "<project_id>",
      "resource_id": "<resource_id>"
    },
    "name": "cfw__DeleteFirewall"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID, 可以从调API处获取,也可以从控制台获取。[项目ID获取方式](cfw_02_0015.xml)
resource_idYes防火墙id,可通过[防火墙ID获取方式](cfw_02_0028.xml)获取

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden. It states the operation is a deletion but does not disclose whether it is irreversible, what permissions are required, what happens to dependent rules or resources, or whether confirmation is needed. The 'on demand' note is too ambiguous to count as meaningful behavioral disclosure.

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?

The description is extremely short and front-loads the verb, but the brevity comes at the cost of under-specification rather than efficiency. The trailing clause '仅按需生效' is ambiguous and does not clearly earn its place.

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?

For a destructive, no-annotation deletion tool, the description leaves critical gaps: irreversibility, permission requirements, and side effects on associated resources are all unstated. The rich schema covers parameters, but the behavioral context an agent needs to invoke a delete safely is missing.

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 both project_id and resource_id including how to obtain them. The description adds no additional parameter meaning, which is acceptable given the schema fully covers them.

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 names a specific verb and resource ('删除防火墙' / delete firewall) and the '[CFW]' prefix hints at the CFW service, distinguishing it somewhat from vpc__DeleteFirewall. However, it does not state the scope (e.g., whether it deletes an east-west firewall versus a general firewall), so differentiation from siblings is only implied by naming, not explained.

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?

The phrase '仅按需生效' (only effective on demand) is vague and does not tell the agent when to use this tool versus alternatives such as cfw__ChangeEastWestFirewallStatus or vpc__DeleteFirewall. No preconditions, exclusions, or alternative-selection guidance is provided.

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