Skip to main content
Glama

dws__BatchCreateResourceTag

Batch add tags to a specified DWS cluster by providing the cluster ID, project ID, and tag key-value pairs for resource organization and management.

Instructions

[DWS] 为指定集群批量添加标签。

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": {
      "cluster_id": "<cluster_id>",
      "project_id": "<project_id>",
      "tags": "<tags>"
    },
    "name": "dws__BatchCreateResourceTag"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsYes标签列表
cluster_idYes**参数解释**:
project_idYes**参数解释**:

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 supplied, so the description carries full behavioral burden, yet it only says tags are added. It does not disclose whether existing tags are merged or overwritten, any per-resource tag quota, whether the call is idempotent, what happens to duplicate keys, or what permissions/state the cluster must be in.

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?

A single front-loaded sentence with no filler or repetition. It is efficient, though its brevity reflects under-specification rather than disciplined compression.

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 three-required-parameter mutation tool with no annotations and no output schema, so the description should explain effects and error/limit behavior. Instead it stops at the bare action, leaving an agent unable to predict the result of a successful or partial call.

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 coverage is 100%, so the schema already documents cluster_id, project_id and the tags key/value structure with length bounds. The description only implies the cluster and tag list, adding no meaning about project_id or about tag limits or key-collision behavior beyond the schema.

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 gives a specific verb ('批量添加' / batch add) and resource ('标签' / tags) scoped to a cluster, so the operation is unambiguous. The contrast with the sibling dws__BatchDeleteResourceTag is implicit in the verb rather than stated, which keeps it short of a 5.

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 versus alternatives such as dws__ListTagsForResource or the single-tag/delete counterparts, and no preconditions (cluster state, existing tag limits, permissions) are mentioned. The agent must infer all usage context from the name alone.

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