Skip to main content
Glama

dws__SwitchPlanStage

Switches the active stage of a workload plan in a DWS cluster, enabling you to move workload management to the specified plan stage.

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>",
      "plan_id": "<plan_id>",
      "project_id": "<project_id>",
      "stage_id": "<stage_id>"
    },
    "name": "dws__SwitchPlanStage"
  }
}

Input Schema

NameRequiredDescriptionDefault
plan_idYes**参数解释**:
stage_idYes计划阶段ID
cluster_idYes**参数解释**:
project_idYes**参数解释**:

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 provided, so the description carries the full behavioral burden. It implies a state-changing operation, but it does not state side effects, whether any existing stage assignment is replaced, required permissions, reversibility, or what the response contains.

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?

The description is a single short, front-loaded sentence with no filler. Its brevity is not a conciseness problem; the missing detail is captured under completeness.

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 four-required-parameter mutation tool with no annotations and no output schema, a one-line purpose statement is far too thin. An agent cannot confirm what switching a stage does, what the result looks like, or whether the operation is safe or reversible.

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 is 3. The description itself adds no parameter meaning, and three schema descriptions are empty placeholders ("参数解释:") while only stage_id is meaningfully labeled, so the structured data is richer than the description but still uneven.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ("switch workload plan stage"), which is enough to know the general domain. However, "switch" is ambiguous: it does not say whether the stage is being activated, swapped with another stage, or moved to a different position. Sibling tools such as UpdateWorkloadPlanStage and ShowWorkloadPlanStage are not differentiated.

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 about when to use this tool, when to prefer UpdateWorkloadPlanStage or another stage tool, or what preconditions must hold. The agent must infer everything from the name.

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