Skip to main content
Glama

drs__BatchSwitchover

Performs batch primary/standby switchover for specified DRS jobs, enabling coordinated failover of multiple database replication tasks in a project.

Instructions

[DRS] 批量主备倒换。

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": {
      "jobs": "<jobs>",
      "project_id": "<project_id>"
    },
    "name": "drs__BatchSwitchover"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobsYes批量主备调换的任务详情ID请求列表
project_idYes租户在某一region下的project 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?

No annotations are provided, so the description carries the full behavioral burden. 'Switchover' implies a high-impact mutation, but the description says nothing about whether the operation is reversible, whether it causes downtime or connection interruption, what permissions are required, or what happens to jobs mid-switchover — significant gaps for a failover-style action.

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 definition is short, but it is under-specified rather than concise: one bracketed namespace tag plus a four-character phrase. The '[DRS]' prefix consumes space without adding information, and there is no structure to front-load any actionable detail.

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 batch mutation with no annotations and no output schema, the description should at minimum convey consequences, preconditions, and expected outcome. It conveys none of these, leaving the agent with only the operation name.

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 (the job ID list and the project ID) are already documented in the schema. The description adds no meaning about list size limits, ordering, or whether all jobs must be in a switchable state, so the baseline of 3 applies.

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 the operation ('batch primary/standby switchover') and its batch scope, which is more than a tautology. However, the '[DRS]' prefix only restates the namespace, and nothing distinguishes this from sibling switchover tools such as dws__SwitchoverDisasterRecovery or mas__SwitchoverDataSyncTask, so an agent cannot tell which switchover applies to which resource.

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 guidance on when to use this tool, when not to, or which alternative to pick. The agent is left to infer that a batch switchover is the right action from the name alone, and no prerequisites or preconditions are stated.

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