Skip to main content
Glama

cc__DeleteTag

Deletes a resource tag for a Huawei Cloud cloud-connection or bandwidth-package using the legacy Cloud Connect API; provide account ID, resource ID, resource type, and tag key.

Instructions

[CC] 删除资源标签。此API为历史API,请优先使用《 删除云连接实例标签》或《 删除带宽包标签》。

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": {
      "domain_id": "<domain_id>",
      "resource_id": "<resource_id>",
      "resource_type": "<resource_type>",
      "tag_key": "<tag_key>"
    },
    "name": "cc__DeleteTag"
  }
}

Input Schema

NameRequiredDescriptionDefault
tag_keyYes待删除资源标签的key
domain_idYes帐号ID
resource_idYes资源ID
resource_typeYes资源类型:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries full behavioral burden. It does disclose a non-obvious trait — deprecation — but for a destructive, irreversible tag deletion it says nothing about required permissions, whether a missing tag raises an error, or idempotency.

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?

Two sentences, front-loaded with the action and immediately followed by the deprecation routing note. No filler; the only cost is that the second sentence is long and references document titles rather than concrete tool names.

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 simple four-parameter delete with fully documented schema, the essential extra information is the legacy/deprecation routing, which is present. The gap is the behavioral side: with no annotations and no output schema, the description should say what a successful or failed deletion looks like.

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% and every parameter carries a Chinese description plus an enum on resource_type, so the schema already does the work. The description adds no parameter-level meaning (no note that resource_id must belong to the given resource_type, no key-format hints).

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 opens with a specific verb + object ('删除资源标签' / delete resource tag) and the '[CC]' prefix situates it in the cloud-connection family. The schema narrows the scope to cloud-connection and bandwidth-package via resource_type enum, but the description itself never states what kinds of resources it accepts, leaving that to the schema.

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?

It gives explicit when-not guidance by declaring itself a legacy API and directing the agent to '删除云连接实例标签' or '删除带宽包标签' first. The weakness is that those preferred alternatives are given as document titles rather than tool names an agent can map onto available siblings, and there is no statement of the condition under which this legacy call is still acceptable.

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