Skip to main content
Glama

drs__BatchTagAction

Batch add or remove tags on Huawei Cloud DRS resources by specifying the job, project, resource type, and up to 10 tag key-value pairs.

Instructions

[DRS] 批量添加删除资源标签。

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>",
      "job_id": "<job_id>",
      "project_id": "<project_id>",
      "resource_type": "<resource_type>",
      "tags": "<tags>"
    },
    "name": "drs__BatchTagAction"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsYes标签列表。最多添加10个标签。
actionYes操作标识(区分大小写):
job_idYes任务ID。
project_idYes租户在某一Region下的Project ID。
resource_typeYes资源类型。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 behavioral burden. It indicates a mutation (adding/deleting tags) but does not disclose permission requirements, whether deleted tags are removed individually or wholesale, or what happens on partial failures. The schema contains the 10-tag limit, but the description adds no behavioral context beyond the operation name.

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?

The description is a single front-loaded sentence with no filler. It is concise, but its brevity leaves out useful structural routing information that would make it more actionable.

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 mutation tool with five required parameters, no annotations, and no output schema, the description is too thin. It does not explain the create/delete action semantics, required permissions, or relationship to sibling tag tools, leaving the agent to infer behavior 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%, so the input schema already documents the action enum, tag structure, and path parameters in detail. The description adds no parameter-specific meaning beyond restating the add/delete operation, so the baseline 3 applies.

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 states a specific verb (batch add/delete) and resource (resource tags), so the basic purpose is clear. However, it does not differentiate this combined action from sibling tools such as drs__BatchCreateTags and drs__BatchDeleteTags, which likely cover the same operations individually.

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 combined batch tag action instead of the dedicated create-tag or delete-tag siblings. No prerequisites, constraints, or alternative routing are mentioned.

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