Skip to main content
Glama

dws__ChangeSecurityGroup

Update the security groups attached to a DWS cluster using its cluster ID, project ID, and target security group IDs.

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>",
      "security_groups": "<security_groups>"
    },
    "name": "dws__ChangeSecurityGroup"
  }
}

Input Schema

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

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 behavioral burden, and it discloses almost nothing: it does not say whether security_groups replaces the existing set or merges with it, whether the change is reversible, what permissions are required, or whether the cluster must be idle. Only the mutation intent is conveyed by "修改".

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 service tag front-loaded and no wasted wording. It is efficient, though its brevity reflects under-specification rather than disciplined editing.

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 mutating, three-required-parameter tool with no annotations and no output schema, the definition is too thin. An agent cannot tell what the call does to existing security groups or what a successful response implies.

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 100%, so the baseline of 3 applies; the description adds no extra meaning about cluster_id, project_id, or the security_groups array. It notably omits the key semantic question of whether the array is a full replacement list or an addition.

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 gives a concrete verb plus resource ("修改集群安全组" / modify the cluster's security group), and the "[DWS]" prefix distinguishes it from same-named tools in sibling services such as css__ChangeSecurityGroup or sfsturbo__ChangeSecurityGroup. It does not explain what kind of modification it performs (replace vs. append), so it stops short of full clarity.

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 (e.g. cluster state, permissions), and no mention of alternatives such as the VPC-level security group tools or ECS associate/disassociate operations. The agent must infer everything about applicability.

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