Skip to main content
Glama

dws__CheckClusterShrink

Checks whether a DWS cluster meets pre- and post-shrink operational requirements before reducing its 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": {
      "check_item": "<check_item>",
      "cluster_id": "<cluster_id>",
      "project_id": "<project_id>",
      "shrink_count": "<shrink_count>"
    },
    "name": "dws__CheckClusterShrink"
  }
}

Input Schema

NameRequiredDescriptionDefault
check_itemYes**参数解释**:
cluster_idYes**参数解释**:
project_idYes**参数解释**:
shrink_countYes**参数解释**:

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 bears the full burden of behavioral disclosure. It reveals that the check covers both pre- and post-shrink operational requirements, which is useful, but it says nothing about whether the call is read-only, whether it blocks a subsequent shrink, what a failing result looks like, or what permissions are needed.

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 short sentence with the operative term 缩容前检查 front-loaded. Nothing is redundant or padded, though the brevity edges toward under-specification rather than tightness.

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 four-required-parameter validation tool with no annotations and no output schema, so the description should explain what a check result means and how it gates a shrink. Instead it gives one clause covering the intent but nothing about outcomes, failure handling, or the meaning of check_item.

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?

Schema coverage is nominally 100%, but every parameter's schema description is an empty placeholder ("**参数解释**:"), so no real semantics exist in either field. The description adds nothing about check_item (which is a free-form string with no enum), shrink_count, or the cluster/project identifiers, leaving the agent to guess what values are valid.

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 states a specific verb and scope: a pre-shrink (缩容前) validation check. The term 缩容 distinguishes it from growth-side siblings such as dws__CheckGrowCluster, and the notion of validating both pre- and post-shrink conditions is stated explicitly. It stops short of naming alternatives like dws__CheckCluster or dws__ShrinkCluster, but the purpose is unambiguous.

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

Usage Guidelines3/5

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

The phrase 缩容前检查 implies the tool should be invoked before a shrink operation, and the mention of 缩容后 hints it also validates the resulting state. However, there is no explicit when-to-use instruction, no statement of what to do if the check fails, and no indication of which sibling tool to call next. Usage is inferable but never spelled out.

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