Skip to main content
Glama

cfw__DeleteTag

Deletes a tag from a Huawei Cloud CFW firewall by specifying the project ID, firewall instance ID, and tag details to remove unwanted labels.

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": {
      "fw_instance_id": "<fw_instance_id>",
      "project_id": "<project_id>"
    },
    "name": "cfw__DeleteTag"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2/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 burden of behavioral disclosure, and it discloses almost nothing. "Delete" implies an irreversible mutation, but the description does not say whether the operation is idempotent, whether omitted tags are preserved, what permissions are required, or what happens to the tags array in the request relative to firewall state.

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?

It is certainly short with no wasted words, but the brevity comes from omission rather than efficiency — four words that restate the title and front-load nothing actionable about scope or effect. Concise but not informative.

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

Completeness1/5

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

For a destructive operation on a firewall's tag set with no annotations and no output schema, the description should explain irreversibility and what the tags parameter does. Instead it provides a bare label, leaving the agent unable to predict the outcome of a call.

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%, including descriptions for fw_instance_id, project_id, and the nested tags key/value/update_time fields, so the schema already explains every parameter. The description adds no syntax or behavioral detail about how the tags list is interpreted, so only the baseline 3 applies.

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

Purpose2/5

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

"[CFW] 删除标签" is essentially a translation of the tool name DeleteTag, not an independent statement of purpose. It conveys the verb (delete) and resource (tag) but says nothing about scope — whether it removes one tag, a list of tags, or all tags on a firewall — and gives no basis for choosing it over cfw__CreateTag or the many other delete siblings.

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

Usage Guidelines1/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 prerequisites, no exclusions, and no mention of any alternative tool. The agent must infer entirely from the name that this deletes firewall tags.

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