Skip to main content
Glama

dws__SwitchoverDisasterRecovery

Initiates a DWS disaster recovery switchover to fail over workloads to the standby environment using the specified disaster recovery ID and project ID.

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__SwitchoverDisasterRecovery"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes**参数解释**:
disaster_recovery_idYes容灾ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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, but it discloses nothing. For a destructive, role-swapping operation, it does not state whether existing replication is stopped, whether the change is reversible, what permissions are required, or what happens to in-flight traffic.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single front-loaded sentence with no wasted words, but its brevity comes from under-specification rather than from efficiency. For a destructive two-parameter operation, this length is too thin to be considered well-sized.

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?

With no annotations and no output schema, the description must explain the impact, preconditions, and result of the switchover. It explains none of them, so an agent lacks what it needs to call this destructive operation 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 both parameters are documented in the schema and the baseline is 3. The description adds no meaning about what disaster_recovery_id selects or what project_id scopes. Note that project_id's schema text is only an empty '参数解释' marker, which offers no extra detail the description could have supplied.

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 states a verb and resource ('performs a disaster recovery switchover'), which is more than a tautology. However, it does not distinguish this operation from the sibling dws__SwitchFailoverDisaster, nor does it explain the direction or scope of the switchover. An agent can form a rough idea of the purpose but cannot tell this tool apart from closely related DR tools.

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 when-to-use guidance, no prerequisite conditions (for example, that a DR relationship must already exist and be healthy), and no mention of alternatives. It does not say when the switchover should be triggered instead of a failover or restore operation.

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