Skip to main content
Glama

dws__ExpandInstanceStorage

Expands DWS cluster disk capacity online to relieve storage bottlenecks without pausing business or wasting CPU and memory.

Instructions

[DWS] 随着客户业务的发展,磁盘空间往往最先出现资源瓶颈,在其他资源尚且充足的情况下,通过磁盘扩容可快速缓解存储资源瓶颈现象,操作过程中无需暂停业务,并且不会造成CPU、内存等资源浪费。

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>",
      "new_size": "<new_size>",
      "project_id": "<project_id>"
    },
    "name": "dws__ExpandInstanceStorage"
  }
}

Input Schema

NameRequiredDescriptionDefault
new_sizeYes**参数解释**: 磁盘扩容后单节点有效存储容量(GB/节点)。 该容量必须大于当前单节点有效容量,小于等于集群规格支持的单节点最大容量,扩容容量为规格支持的步长倍数。 集群规格配置详情可根据“查询规格信息”查询。 **约束限制**: 不涉及。 **取值范围**: 不涉及。 **默认取值**: 不涉及。
cluster_idYes**参数解释**:
project_idYes**参数解释**:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It does disclose two useful behavioral traits: the operation is online ("操作过程中无需暂停业务") and does not consume CPU/memory. But it omits critical behavior for a mutation: whether capacity can later be reduced (expansion is normally irreversible and downgrade is unsupported), whether the cluster remains available during the change, what permissions are needed, and what happens on failure. That is a significant gap for an irreversible write operation.

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 sentence and reasonably compact, but it is front-loaded with benefit framing ("快速缓解", "不会造成CPU、内存等资源浪费") instead of the action and target. Roughly half the content is persuasive rationale that does not help an agent decide or invoke correctly.

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 3-required-parameter mutation tool with no annotations and no output schema, the description leaves out the essentials: which instance type/resource is affected, the requirement to query supported capacity ranges before calling, irreversibility, and any response expectation. Two required path parameters are effectively undocumented anywhere.

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 description coverage is nominally 100%, so baseline 3 applies even though the description says nothing about parameters. In practice only new_size is meaningfully documented, with constraints, range, and step-multiple rules; cluster_id and project_id have empty "**参数解释**:" bodies. The description adds no compensating meaning, so it does not exceed the baseline.

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 text does convey the action indirectly ("通过磁盘扩容可快速缓解存储资源瓶颈"), so an agent can infer this is a disk/storage expansion operation. But it never states the target object (DWS cluster instance), never says which resource is being expanded, and never distinguishes itself from siblings such as dws__ShowClusterStorageExpandRange or css__UpdateExtendInstanceStorage. The first and dominant sentence is motivational framing rather than a purpose statement.

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 a usage condition: expand disk when CPU/memory are not the bottleneck. However, there is no guidance on checking the allowed expansion range first (a sibling, dws__ShowClusterStorageExpandRange, exists for exactly that), no prerequisites, and no statement of when not to use this versus other scaling tools. Usage is only implied.

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