Skip to main content
Glama

dws__ShrinkCluster

Shrink a DWS cluster to reduce capacity and lower costs; specify cluster and project IDs, with options for online operation, backup, and parallel jobs.

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__ShrinkCluster"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNo**参数解释**:
retryNo**参数解释**:
onlineNo**参数解释**:
cluster_idYes**参数解释**:
project_idYes**参数解释**:
need_agencyNo**参数解释**:
force_backupNo**参数解释**:
parallel_jobsNo**参数解释**:
shrink_numberNo**参数解释**:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.5/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 nothing. It does not state that this is an irreversible capacity-reducing mutation, whether force_backup protects data, whether the operation is asynchronous, whether it can fail mid-way, or what permissions/agency (need_agency) are required. For a destructive 9-parameter operation this is a serious gap.

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 short sentence with no wasted words, and the [DWS] prefix front-loads the service. However, brevity here reflects under-specification rather than economy: the one sentence conveys nothing that the tool name does not already convey, so nothing in it earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a nine-parameter, capacity-reducing cluster mutation with no annotations and no output schema, the definition is far too thin. Prerequisites, safety/backup behavior, result states, and parameter meaning all fall to the agent to invent, which is inadequate relative to the tool's risk profile.

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 nominally reports 100% description coverage, but every field's text is an empty placeholder ("**参数解释**: " with no content), so the effective coverage is near zero. The description supplies no meaning for any of shrink_number, online, force_backup, parallel_jobs, retry, type, or need_agency, leaving the agent with only parameter names to infer semantics for a destructive operation.

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 says only "该接口用于缩容集群" (this interface shrinks a cluster), which is essentially a translation of the tool name ShrinkCluster rather than an explanation of scope. It gives no hint of what kind of cluster, of what unit is being shrunk (nodes/CNs), or of how it differs from siblings like dws__ShrinkLogicalCluster or dws__CheckClusterShrink. An agent must infer everything beyond the two-word purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance at all on when to call it, what must happen first, or when to prefer an alternative. Notably the sibling dws__CheckClusterShrink strongly implies a pre-check step, but the description never mentions a prerequisite, provisioning conditions, or exclusions. The agent is left to guess 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