Skip to main content
Glama

css__ChangeMode

Switch a CSS cluster's security mode by enabling or disabling security and HTTPS for a specified cluster ID and project.

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": {
      "authorityEnable": "<authorityEnable>",
      "cluster_id": "<cluster_id>",
      "httpsEnable": "<httpsEnable>",
      "project_id": "<project_id>"
    },
    "name": "css__ChangeMode"
  }
}

Input Schema

NameRequiredDescriptionDefault
adminPwdNo安全模式下集群密码。
cluster_idYes指定修改的集群ID。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。
httpsEnableYes是否开启HTTPS。
authorityEnableYes是否开启安全模式。

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 burden, and it discloses almost nothing: it never says that enabling security mode likely requires the adminPwd field, that the change is a cluster-level mutation that may be disruptive or hard to reverse, or what permissions are needed. Only the bare fact that a mode is being toggled is conveyed.

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?

It is a single short sentence with the resource front-loaded and zero filler. The brevity is efficient, though it tips into under-specification rather than tight communication.

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 5-parameter, 4-required mutation of cluster security configuration with no annotations and no output schema, so the description should explain preconditions, side effects, and required credentials. Instead it offers one sentence, leaving the agent without enough information to call it safely.

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 each of the five parameters (adminPwd, cluster_id, project_id, httpsEnable, authorityEnable) is already documented in the schema, making the baseline 3 appropriate. The description adds no extra semantics, such as the interaction between authorityEnable and the now-required adminPwd.

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 (切换/switch) and a specific resource (集群的安全模式/cluster security mode), so an agent knows it toggles a cluster-level security setting. It does not distinguish this from nearby CSS operations such as css__ChangeSecurityGroup or other cluster-mode switches, so it stops short of the top score.

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 guidance on when to use this tool, when to prefer an alternative, or what preconditions must hold. Nothing tells the agent that this is the right call when onboarding a cluster into secure mode rather than e.g. changing its security group.

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