Skip to main content
Glama

dws__BatchDeleteClusterCn

Batch delete CN nodes from a Huawei Cloud DWS cluster to dynamically adjust node count as business demand changes.

Instructions

[DWS] 当用户集群创建后,实际需要的CN数量会随着业务需求而发生变化,因此管理CN节点功能的实现使用户可以根据实际需求动态调整集群CN数量。

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>"
    },
    "name": "dws__BatchDeleteClusterCn"
  }
}

Input Schema

NameRequiredDescriptionDefault
instancesNo**参数解释**:
cluster_idYes**参数解释**:
project_idYes**参数解释**:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2/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 behavioral burden, yet it never discloses that this is a destructive batch operation, whether removed CN nodes are recoverable, what preconditions apply (e.g. cluster must be available, minimum CN count), or how partial failures are handled. The only behavioral hint is the vague notion of 'dynamically adjusting' CN count.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single sentence, but it is a motivation/feature blurb rather than a front-loaded statement of action. Zero words are spent on the operation itself, so the brevity comes at the cost of usefulness rather than from efficiency.

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 destructive batch operation with no annotations, no output schema, and empty parameter descriptions, the definition is far from complete. An agent lacks the destructive nature, prerequisites, failure semantics, and the meaning of the instances list needed to invoke it safely.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema lists three parameters, but their description fields are empty placeholders ('**参数解释**:') containing no actual text, so the nominal 100% coverage conveys nothing. The tool description does not explain what the 'instances' array represents (which CN nodes get deleted), nor the role of cluster_id/project_id, leaving the most consequential parameter semantically undefined.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description only states the general motivation for CN node management (CN counts change with business needs, so users can dynamically adjust CN count). It never says what this specific tool does — namely batch-delete CN nodes — and never distinguishes it from sibling dws__BatchCreateClusterCn. An agent reading only the description could not tell whether it adds, removes, or lists CN nodes.

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 an implied context ('when business needs change, adjust CN count'), but no explicit when-to-use, no when-not-to-use, and no reference to the create/list/delete CN alternatives in the sibling set. The agent must infer that this is the removal path from the tool 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