Skip to main content
Glama

dws__RestoreDisaster

Performs disaster recovery for a DWS primary/standby cluster after an abnormal switchover, restoring the setup once the standby cluster is available.

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does convey that this is a state-changing failback-style operation gated on the standby cluster's availability, which is real behavioral context. It says nothing about what the operation changes, whether it is reversible, permission requirements, or what happens if the standby is not yet ready – significant omissions for an unannotated mutation endpoint.

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?

A single front-loaded sentence that states the operation and its triggering condition with no filler. The only waste is the redundant "[DWS]" vendor prefix, which carries no decision value for an agent.

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 two-parameter, fully required endpoint with complete schema coverage and no output schema, the description covers purpose and precondition adequately. It leaves an agent without any statement of the outcome, side effects, or idempotency for what is clearly a sensitive DR failback operation, and offers no pointer to how the disaster_recovery_id is obtained.

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 100%, with disaster_recovery_id labeled as the disaster recovery ID and project_id present as a path parameter, so the baseline is 3. The description adds no parameter-level meaning – no note on where the disaster_recovery_id comes from (for example, from dws__ListDisasterRecover) and no clarification of project_id, whose schema description is only an empty placeholder heading.

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 concrete operation on a concrete resource: a disaster-recovery restore performed on a primary/standby cluster pair after an abnormal switchover, once the standby cluster is available again. That is well beyond a restatement of the name. It does not, however, contrast itself with close siblings such as dws__StartDisasterRecovery or dws__RestoreCluster, so an agent must infer the boundary from the name alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description supplies an explicit precondition for use – the abnormal switchover has already happened and the standby cluster has returned to an available state – which is exactly the context an agent needs to pick this tool over the plain start/switchover variants. It stops short of naming an alternative or stating when not to call it, so it earns a 4 rather than a 5.

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