Skip to main content
Glama

gaussdbfornosql__CreateDisasterRecovery

Creates a disaster recovery relationship between two GaussDB NoSQL instances; call once for each instance, and both calls must succeed to establish the link.

Instructions

[GAUSSDBFORNOSQL] 搭建实例与特定实例的容灾关系。 该接口需要对搭建容灾关系的两个实例分别各调用一次,2次接口都调用成功才能成功搭建容灾关系。

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": {
      "alias": "<alias>",
      "disaster_recovery_instance": "<disaster_recovery_instance>",
      "instance_id": "<instance_id>",
      "instance_role": "<instance_role>",
      "password": "<password>",
      "project_id": "<project_id>"
    },
    "name": "gaussdbfornosql__CreateDisasterRecovery"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo容灾ID。
aliasYes搭建容灾关系的别名。
passwordYes建立容灾关系所需要的容灾密码,搭建同一容灾关系的两次调用容灾密码必须保持一致。 容灾密码为容灾集群内部数据通信所用,不能用于客户端连接使用。
project_idYes租户在某一region下的project ID。
instance_idYes实例ID。
instance_roleYes指定当前实例的容灾角色。取值为master或slave,表示在容灾关系中角色为主或备。
disaster_recovery_instanceYes与当前实例建立容灾关系的容灾实例信息。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden and does disclose one non-obvious trait: the two-call, both-must-succeed protocol. That is genuinely useful and not inferable from structured fields. It omits other important traits for a mutation tool, such as whether the operation is asynchronous, what state exists after a partial failure, and what permissions or preconditions are required.

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

Conciseness5/5

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

Two short sentences, zero filler, and the multi-call constraint is stated up front right after the purpose. Nothing needs to be trimmed.

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 six-required-parameter mutation tool with a nested object and no annotations or output schema, the definition covers the critical calling protocol but leaves the agent without information on return values, asynchronous behavior, and recovery from partial failure. Adequate for invocation, but a few gaps remain given the tool's complexity.

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 the nested disaster_recovery_instance object is fully documented in the schema, including the constraint that the two calls must use the same password. The description adds no parameter-level detail beyond what the schema already provides, so the baseline of 3 applies. The two-call note only indirectly clarifies instance_role, since each call passes a different role.

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 specific verb and resource: establish a disaster recovery relationship between an instance and a specific peer instance ('搭建实例与特定实例的容灾关系'). This is clearly distinguishable from the delete/check/settings siblings by the operation implied. It does not explicitly name any sibling or contrast with one, so it lands at 4 rather than 5.

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?

It gives the single most important usage rule: the endpoint must be invoked once per instance in the pair, and both calls must succeed for the relationship to be established. That is a concrete context for how to call it. It does not state when this should be used instead of alternatives, nor what to do if the first call succeeds and the second fails.

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