Skip to main content
Glama

dws__ResizeCluster

Scales out a DWS cluster to add compute capacity, or adds idle nodes when requested. Use it to increase cluster resources for growing workloads and control node count.

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

Input Schema

NameRequiredDescriptionDefault
scale_outNo**参数解释**:
cluster_idYes**参数解释**:
project_idYes**参数解释**:
create_node_onlyNo**参数解释**:
auto_redistributeNo**参数解释**:
waiting_for_killingNo**参数解释**:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/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 for a cluster-mutating operation. It says nothing about whether the resize is disruptive, how long it takes, whether it can be reverted, what permissions are needed, or how added nodes are billed/provisioned — a serious gap for an infrastructure mutation.

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?

Very short and front-loaded, with the core operation stated first and the alternate use second. The trailing clause '默认情况下:表示执行扩容操作' is truncated/vague rather than informative, which is a minor waste rather than padding.

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 6-parameter mutating tool with a nested scale_out object, no annotations, and no output schema — the description should therefore explain parameters, side effects, and result behavior. It delivers one thin sentence, so an agent cannot call it safely or predict its outcome from the definition alone.

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 description coverage is nominally 100%, every schema description is an empty placeholder ('**参数解释**:'), so the schema conveys no real meaning. The prose does not compensate: none of scale_out, subnet_id, create_node_only, auto_redistribute, or waiting_for_killing is explained, leaving the agent to guess what the resize actually does.

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

Purpose3/5

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

The description names a verb and resource ('扩容集群' / scale out the cluster) and adds a secondary capability ('添加空闲节点' / add idle nodes), so the basic purpose is derivable. However, it offers nothing to separate it from the very similarly named sibling dws__ResizeClusterWithExistedNodes, nor from dws__CheckGrowCluster, so an agent must open schemas to choose correctly.

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?

It states only a default interpretation ('默认情况下:表示执行扩容操作'), which hints at parameter-driven modes but never says when to prefer this tool over ResizeClusterWithExistedNodes or the grow-check tools. No preconditions, no exclusions, no alternative named — usage must be inferred entirely.

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