Skip to main content
Glama

dws__ShrinkLogicalCluster

Shrink a DWS logical cluster by removing ring hosts from an elastic pool or the logical cluster to reduce allocated compute resources.

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>",
      "cluster_rings": "<cluster_rings>",
      "logical_cluster_id": "<logical_cluster_id>",
      "project_id": "<project_id>"
    },
    "name": "dws__ShrinkLogicalCluster"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo**参数解释**:
cluster_idYes**参数解释**:
project_idYes**参数解释**:
cluster_ringsYes**参数解释**:
parallel_jobsNo**参数解释**:
logical_cluster_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 the full disclosure burden. Beyond implying a destructive capacity reduction, it says nothing about required permissions, irreversibility, expected duration, or what happens to workloads on the removed rings, which is a significant gap for a mutation tool.

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 compact sentence with the resource and supported modes front-loaded and no filler. It is efficient but also sparse, so brevity comes partly at the cost of the missing detail noted elsewhere.

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 mutating operation with four required parameters, including a nested cluster_rings array, no annotations, and no output schema. The description leaves the agent without the prerequisite checks, permission expectations, or parameter meaning needed to call it correctly.

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 nominally 100%, so the baseline is 3, but the schema descriptions are empty placeholders ('**参数解释**:' with no text), and the tool description adds nothing about the meaning of mode, cluster_rings, or parallel_jobs. It therefore neither helps nor misleads on parameters.

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 names a specific verb+resource (逻辑集群缩容 / shrink a logical cluster) and adds the two supported shrink sources (elastic pool or logical cluster). It does not distinguish this from the sibling dws__ShrinkCluster or explain its relationship to dws__CheckClusterShrink, so it stops 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?

The mention of shrinking 'from elastic pool or from logical cluster' describes modes rather than when to choose this tool. There is no guidance on prerequisites (e.g., whether dws__CheckClusterShrink must run first) or on when to use dws__ShrinkCluster instead, so usage must be inferred.

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