Skip to main content
Glama

dws__SwitchFailoverDisaster

Switches primary and standby DWS clusters during disaster recovery failover or abnormal scenarios, using the disaster recovery ID and project ID to restore service availability.

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": {
      "disaster_recovery_id": "<disaster_recovery_id>",
      "project_id": "<project_id>"
    },
    "name": "dws__SwitchFailoverDisaster"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes**参数解释**:
disaster_recovery_idYes容灾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?

No annotations are provided, so the description carries the full behavioral burden. It implies a disruptive failover mutation but says nothing about required permissions, whether the switchover is reversible, the impact on the standby cluster, or whether it can be aborted — all critical for a DR failover call.

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?

One compact sentence with the operation and its triggering scenario front-loaded; the only minor noise is the '[DWS]' vendor prefix. There is no padding or repetition.

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 two-parameter, mutating disaster-recovery failover with no annotations and no output schema, the description is too thin: it omits preconditions, consequences of the switchover, and any indication of what the call returns or how failure is reported.

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 even though the description adds nothing about parameters. Notably the schema's own project_id description is an empty stub ('**参数解释**:'), so the description could have compensated for that gap but does not.

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 specific verb and resource: performing a primary/standby cluster switchover ('主备集群切换操作') under disaster-recovery failure conditions. An agent can identify the operation, but nothing distinguishes it from the many sibling switchover tools such as dws__SwitchoverDisasterRecovery or dws__SwitchOverCluster.

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 an implied trigger condition — use this during a disaster-recovery abnormal scenario ('容灾异常场景下'). However, it never states prerequisites, when not to use it, or which of the several sibling switchover tools to pick instead, leaving the agent to infer alternatives.

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