Skip to main content
Glama

config__TagResource

Batch add or remove tags on specified Huawei Cloud Config resources by resource ID and type for label management.

Instructions

[CONFIG] 此接口为幂等接口。为指定实例批量添加或删除标签,标签管理服务需要使用该接口批量管理实例的标签。一个资源上最多有20个标签。

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

Input Schema

NameRequiredDescriptionDefault
resource_idYes资源ID
resource_typeYes资源类型

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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 does disclose two genuinely useful traits (idempotency and a 20-tag-per-resource ceiling), but for a mutation tool it omits whether existing tags are replaced or merged, what happens when the limit is exceeded, permission/authorization requirements, and any return information.

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?

Three short sentences that front-load the key facts (idempotency, batch tag management, 20-tag limit). The middle sentence about the tag-management service's internal need is largely filler that does not help an agent decide or call.

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

Completeness3/5

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

With no annotations and no output schema, the description must cover behavior on its own; it covers idempotency and quota but leaves the mutation semantics (merge vs. overwrite, delete behavior, error conditions) and the tag payload unexplained. Adequate for a two-parameter tool, but not complete.

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 both parameters (resource_id, resource_type with an enum of three values) are already documented and the baseline is 3. The description adds nothing about parameters, and notably never explains where the tag payload comes from even though the schema exposes no tags field despite describing add/delete behavior.

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 names a specific verb ('batch add or delete tags') and target ('specified instance'), plus the bracketed [CONFIG] domain marker, so the operation is identifiable. However, the claim that it also deletes tags overlaps with the sibling config__UnTagResource and is not disambiguated, leaving the boundary between the two unclear.

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

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: it states the interface exists so that a tag-management service can batch-manage instance tags, which suggests the batch scenario. There is no explicit when-to-use / when-not-to-use guidance and no mention of UnTagResource or the ListTagsForResource siblings that would tell an agent which tag tool to pick.

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