Skip to main content
Glama

css__ChangeSecurityGroup

Modify the security group assigned to an existing CSS cluster using the cluster ID, project ID, and desired security group IDs.

Instructions

[CSS] 该接口可以在集群创建成功后,修改安全组。

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_group_ids": "<security_group_ids>"
    },
    "name": "css__ChangeSecurityGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
cluster_idYes待修改安全组的集群ID。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。
security_group_idsYes期望安全组的ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden of behavioral disclosure. It says the call mutates security-group assignment but never states whether the change is disruptive to existing connections, whether the cluster must be running, what permissions are required, or whether the operation is reversible — all critical for a network-security mutation.

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 zero redundant wording. It is efficient, though its brevity contributes to the gaps noted in the other dimensions.

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 three-parameter mutation with no annotations and no output schema, the description should at minimum explain the effect on the cluster and the response behavior. It provides only the bare purpose, leaving the agent without enough context to invoke it confidently in production.

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%, with each parameter (cluster_id, project_id, security_group_ids) documented in the schema itself. The description adds no extra semantics such as whether security_group_ids replaces or appends to the existing group set, so the baseline 3 is appropriate.

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 concrete verb plus resource: modify ('修改') the security group of a CSS cluster. The '[CSS]' prefix and 'after the cluster is created' scope distinguish it from generic security-group tools. It stops short of naming or contrasting with the similarly named siblings such as dws__ChangeSecurityGroup or sfsturbo__ChangeSecurityGroup.

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 precondition (the cluster must already exist), which is meaningful timing guidance. However, there is no statement of when-not to use it, no mention of required cluster state (running vs. stopped), and no guidance on choosing among the many sibling security-group operations.

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