Skip to main content
Glama

mas__SwitchoverDataSyncTask

Initiates a batch active/standby switchover for data synchronization tasks in a specified Huawei Cloud MAS namespace, enabling coordinated failover across multiple tasks.

Instructions

[MAS] 批量主备倒换

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": {
      "namespace_id": "<namespace_id>",
      "project_id": "<project_id>"
    },
    "name": "mas__SwitchoverDataSyncTask"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes
namespace_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.8/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden. It discloses nothing about whether the switchover is disruptive, whether it can be rolled back, whether running syncs are interrupted, or whether confirmation/permissions are required — all critical for an operation of this class.

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

Conciseness2/5

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

The single tag-prefixed label is technically terse but is under-specification rather than conciseness; it packs no usable information beyond the name and gives no structure for an agent to build on.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a batch, likely disruptive mutation with two undocumented required parameters, no annotations, and no output schema, the description is wholly inadequate. Nothing an agent needs in order to invoke this safely is present.

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

Parameters1/5

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

Both parameters (project_id, namespace_id) have 0% schema description coverage, and the description adds no meaning at all about what they identify or how they scope the batch switchover. The parameter burden falls entirely on an undocumented schema.

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 phrase "批量主备倒换" (batch primary/standby switchover) names a recognizable operation, and the tool name supplies the resource (data sync task). However, the description alone never states "data sync task," and it does nothing to separate this from sibling switchover tools such as drs__BatchSwitchover or dws__SwitchoverDisasterRecovery, so it is only minimally differentiating.

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. task must be in a healthy state), and no mention of alternatives. An agent must infer everything from the name, which is especially risky for a batch failover operation that appears in a catalog alongside several other switchover tools.

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