Skip to main content
Glama

dws__UpdateDisasterInfo

Updates an existing DWS disaster recovery configuration by ID, including status, sync period, cluster roles, reset action, and request sending.

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

Input Schema

NameRequiredDescriptionDefault
project_idYes**参数解释**:
disaster_recoveryNo容灾配置信息
disaster_recovery_idYes容灾ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden, yet it only restates that this is an update. It does not say whether the change is reversible, what permissions are needed, what happens to fields omitted from disaster_recovery, or how reset_action and dr_status interact — all critical for a mutation tool.

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?

One short sentence with no wasted words, but its brevity comes from under-specification rather than economy — there is no front-loaded detail about effect, scope, or parameters.

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 nested-object mutation with no annotations, no output schema, and around a dozen related DR siblings, this definition is far too thin. An agent could not reliably decide when to call it or what values to send without guessing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The 100% coverage figure is nominal: project_id's schema description is an empty template ("**参数解释**:") and the nested fields (dr_status, reset_action, primary_to_role, standby_to_role) document only a label, not allowed values. The description supplies none of that missing meaning, so it adds no value over the schema for a nested-object mutation.

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 names a verb (更新) and a resource (容灾配置), so the general intent is graspable, but it adds nothing beyond the tool name itself and gives no hint of scope, e.g. whether it changes status, sync period, or roles. It also fails to distinguish this from sibling DR operations such as CreateDisasterRecovery, PauseDisasterRecovery, or StartDisasterRecovery.

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 preconditions (e.g. the DR pair must be in a particular state), and no mention of how this differs from the many other disaster-recovery siblings. The agent must infer everything from the name and schema.

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