Skip to main content
Glama

as__DeleteScalingTagInfo

Deletes specified tags from a Huawei Cloud scaling group by project and resource ID, so you can remove unneeded metadata from the resource.

Instructions

[AS] 创建或删除指定资源的标签。每个伸缩组最多添加10个标签。

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": {
      "action": "<action>",
      "project_id": "<project_id>",
      "resource_id": "<resource_id>",
      "resource_type": "<resource_type>",
      "tags": "<tags>"
    },
    "name": "as__DeleteScalingTagInfo"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsYes标签列表。action为delete时,tags结构体不能缺失,key不能为空,或者空字符串。
actionYes操作标识(区分大小写):delete:删除。create:创建。若已经存在相同的key值则会覆盖对应的value值。
project_idYes项目ID。
resource_idYes资源ID。
resource_typeYes资源类型,枚举类:scaling_group_tag。scaling_group_tag表示资源类型为伸缩组。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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 discloses the 10-tag-per-scaling-group cap, which is genuine behavioral context, but says nothing about what a delete does to existing tags, what happens when a key does not exist, whether the call is idempotent, or what permissions/authorization are required for a destructive operation.

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 short sentences with no filler; the scope statement is front-loaded and the quota constraint follows. It is efficient, though the first sentence could have been tightened to name deletion only, which would also have removed the ambiguity.

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 5-parameter, fully-required mutation tool with no annotations and no output schema, the description is thin. It never explains deletion semantics, error/partial-failure behavior, or what the caller receives, so an agent must infer the outcome of a destructive call from the schema alone.

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%: `action`, `project_id`, `resource_id`, `resource_type`, and the nested `tags` key/value semantics are all documented in the schema itself. The description adds only the aggregate 10-tag limit, which mildly reinforces the `tags` parameter but adds little beyond structured data. 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 names a verb and a resource ("创建或删除指定资源的标签" – create or delete tags for a specified resource), so the general domain is clear. But it lumps creation and deletion into one statement while the input schema's `action` enum allows only `delete`, and a sibling `as__CreateScalingTagInfo` exists. An agent cannot tell from the description alone whether this tool also creates tags, which blunts the differentiation.

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 only usage-relevant information is the constraint that a scaling group can hold at most 10 tags ("每个伸缩组最多添加10个标签"). There is no guidance on when to pick this over `as__CreateScalingTagInfo` or the ListScalingTagInfos tools, and the "create or delete" phrasing actively invites wrong selection for creation.

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