Skip to main content
Glama

dws__RotateKey

Rotate the encryption key for a DWS cluster to refresh key material; provide cluster and project IDs, plus an optional master key ID to target the rotation.

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

Input Schema

NameRequiredDescriptionDefault
cluster_idYes**参数解释**:
project_idYes**参数解释**:
master_key_idNo**参数解释**:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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 behavioral burden, yet it only says a rotation happens. It does not disclose whether the operation is disruptive, whether the old key is retained, whether data re-encryption occurs, required authorization, or whether the action is reversible. For a security-sensitive mutation this is a major gap.

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?

One short, front-loaded sentence with no filler, which is good structure. However, the size is not 'appropriate' — it is underspecified for a destructive key-management operation rather than efficiently concise.

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?

A three-parameter mutation tool with no annotations, no output schema, and vacuous parameter descriptions needs the description to explain effects, prerequisites, and parameter roles. Almost none of that is present, leaving the agent unable to call it safely without guessing.

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 description never mentions cluster_id, project_id, or master_key_id. Although the coverage metric reports 100%, the schema's parameter descriptions are empty placeholders ('**参数解释**:'), so in practice neither source explains what any parameter means — notably whether master_key_id is optional and what omitting it does. The nominal baseline of 3 is not warranted here because the schema text carries no actual meaning.

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 and resource: rotating (轮转) an encrypted cluster key (加密集群密钥), scoped to DWS. That is far more precise than the name alone and is unlikely to be confused with the signature-key siblings, but it does not explicitly differentiate itself from any alternative, so it falls 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?

There is no when-to-use guidance, no prerequisites (permissions, cluster state, whether rotation can be scheduled), and no mention of alternatives. An agent must infer entirely from the tool name when rotation is appropriate.

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