Skip to main content
Glama

dws__EnableLogicalCluster

Toggles the logical cluster feature switch for a DWS cluster, controlling whether logical-cluster-related modules appear in the console. No effect if already a logical cluster.

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>",
      "enable": "<enable>",
      "project_id": "<project_id>"
    },
    "name": "dws__EnableLogicalCluster"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral weight, and it does disclose a key trait: this is a UI-visibility toggle with no functional impact on an already-logical cluster. It omits permissions/authorization needs, idempotency, and what a successful call returns, so the disclosure is useful but incomplete for a state-changing tool.

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?

Two compact sentences with the functional scope stated first and the caveat second; every clause carries information. Slightly compressed for a Chinese-language reader but no wasted text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 with no annotations and no output schema, the description explains the effect and one important no-op case, but leaves parameter meaning and the response/outcome contract unaddressed. Adequate, not complete.

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 coverage is nominally 100%, but the schema descriptions are empty stubs ('**参数解释**:') carrying no meaning. The description implies the semantics of 'enable' (a toggle) but says nothing about cluster_id or project_id beyond their names, so it neither compensates for nor worsens the baseline.

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+resource (切换逻辑集群开关 / toggle the logical cluster switch) and narrows scope by stating it only controls whether logical-cluster UI modules are displayed. That scoping meaningfully separates it from heavier siblings like ConvertToLogicalCluster or CreateLogicalCluster, though it does not name any sibling directly.

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?

It gives one explicit when-not condition: if the cluster is already a logical cluster, changing this has no effect. However, it never says when an agent should prefer this over ConvertToLogicalCluster or the Plan variants, so the routing decision is only partially supported.

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