Skip to main content
Glama

as__CreateScalingTagInfo

Create or delete tags for Huawei Cloud scaling group resources to organize and identify resources, with up to 10 tags per group.

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__CreateScalingTagInfo"
  }
}

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?

With no annotations, the description carries the full behavioral burden, yet it only adds the 10-tag quota. It does not say whether deletion is actually supported given the `create`-only enum, does not mention permission requirements, idempotency, or that existing keys are overwritten (that detail lives only in the schema).

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, front-loaded sentences with no filler. It is efficient, though the brevity is partly under-specification rather than tight editing.

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?

This is a 5-required-parameter mutation tool with no annotations and no output schema, so the description must do more. It leaves the create-vs-delete ambiguity unresolved and says nothing about effects on existing tags, permissions, or response, which an agent needs before invoking a write operation.

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 key/value length limits and the overwrite-on-duplicate-key semantics, so the baseline of 3 applies. The description's only added meaning is the aggregate 10-tag-per-group cap on the `tags` array, which is useful but marginal.

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 resource ("创建或删除指定资源的标签" – create or delete tags for a specified resource), but it conflicts with the schema, whose `action` enum only permits `create`. It also fails to distinguish itself from the sibling `as__DeleteScalingTagInfo`, which presumably handles the deletion half the description claims.

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 guidance on when to use this tool versus `as__DeleteScalingTagInfo` or `as__ListScalingTagInfosByResourceId`. The only usable constraint is the "max 10 tags per scaling group" quota, which is a limit rather than a when-to-use rule.

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