Skip to main content
Glama

dws__BatchCreateClusterCn

Batch create compute nodes (CNs) for a Huawei Cloud DWS cluster to dynamically adjust CN capacity 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>",
      "num": "<num>",
      "project_id": "<project_id>"
    },
    "name": "dws__BatchCreateClusterCn"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/5.0
Behavior1/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, and it discloses almost nothing: not that the operation is additive, not whether it is idempotent, not batch size limits, not required cluster state or permissions, and not whether it triggers billing or a resize/rebalance action. For a mutating cluster-topology tool this is a serious disclosure gap.

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

Conciseness3/5

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

It is a single compact sentence with no filler, but it is structured as a rationale-first marketing statement rather than front-loading the action. The reader must reach the end of the sentence to learn anything about the operation, and even then only gets a feature description.

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 three-required-parameter mutation with no annotations and no output schema, the description should explain the effect on the cluster and any preconditions. Instead it only motivates the feature, leaving the agent without the information needed to invoke it safely or correctly.

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?

Although schema coverage is nominally 100%, every field description is an empty placeholder ('**参数解释**:'), so the schema conveys no real meaning for num, cluster_id, or project_id. The description does not compensate at all — it never explains what 'num' counts (new nodes to add? target total?), its range, or which cluster/project identifiers are expected.

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 text explains feature-level motivation ('CN 数量会随着业务需求而发生变化...动态调整集群CN数量') but never states the tool's actual operation: adding CN nodes in batch. Read against siblings like dws__BatchDeleteClusterCn and dws__ListClusterCn, an agent cannot tell from the description alone whether this creates, removes, or merely counts 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?

The only situational cue is the vague trigger 'when business needs change,' with no explicit when-to-use, when-not-to-use, or alternative named. Nothing routes the agent between this tool and the delete/list CN siblings, so the choice is left entirely to inference from the name.

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