Skip to main content
Glama

gaussdbfornosql__SwitchOver

Switches the primary and standby nodes of a GaussDB NoSQL instance to fail over or change node roles using the specified project and instance IDs.

Instructions

[GAUSSDBFORNOSQL] 切换实例的主备节点。

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": {
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "gaussdbfornosql__SwitchOver"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes租户在某一region下的project ID。
instance_idYes实例ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/5.0
Behavior2/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, and it does not meet it. It does not say that a primary/standby swap is disruptive, whether it triggers a brief connection interruption, whether it needs the instance to be healthy or idle, or whether it is reversible — all facts the agent needs before invoking an operational failover.

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?

A single short sentence with no wasted words, but the brevity comes at the cost of substance; nothing is front-loaded beyond the bare action. It is concise without being informative.

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?

This is a disruptive mutation tool with zero annotations and no output schema, which raises rather than lowers the descriptive burden. The one-line description leaves out impact, preconditions, and expected outcome, so it is not complete enough for an agent to call it 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% and both required parameters (project_id, instance_id) are documented in the schema itself. The description adds no additional meaning about the parameters, so the baseline 3 for schema-covered parameters applies.

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?

Names a specific verb (切换 / switch over) and a specific resource (实例的主备节点 / the instance's primary and standby nodes), so the agent knows this is a role swap. It does not, however, distinguish itself from close siblings such as gaussdbfornosql__SwitchToMaster, gaussdbfornosql__SwitchToSlave, or dws__SwitchOverCluster, leaving the agent to infer the difference.

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 or precondition, and no named alternative. An agent cannot tell from this text whether a switchover is the right remedy versus a switch-to-master or switch-to-slave call, nor under what circumstances it should be avoided.

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