Skip to main content
Glama

gaussdbfornosql__CheckDisasterRecoveryOperation

Performs a pre-check to verify whether a GaussDB NoSQL instance can establish or release a disaster recovery relationship with a specified instance before proceeding.

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>",
      "operation": "<operation>",
      "project_id": "<project_id>"
    },
    "name": "gaussdbfornosql__CheckDisasterRecoveryOperation"
  }
}

Input Schema

NameRequiredDescriptionDefault
operationYes指定预校验的具体容灾操作。
project_idYes租户在某一region下的project ID。
instance_idYes实例ID。
disaster_recovery_instanceNo与当前实例建立容灾关系的实例信息。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add real value by defining the success semantics ('if the API returns success, the relationship can be established/removed'), but it omits whether the call is non-mutating, what permissions or state are required, and what a failure response implies.

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

Conciseness4/5

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

Two tightly written sentences with the action front-loaded and the result interpretation second. The only waste is the bracketed '[GAUSSDBFORNOSQL]' service tag, which carries no meaning for tool selection.

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?

With no annotations and no output schema, the description is the sole source for safety and behavior. It adequately explains what the check decides, and the schema fully documents the four parameters, but it leaves the mutation profile and failure handling unspecified for a tool that gates a destructive DR operation.

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 the baseline is 3. The description hints that the operation parameter covers both establish and remove cases, but adds no value about the nested disaster_recovery_instance fields (vpc_cidr, spec_code, node_ips) or valid operation values, since no enum is defined.

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+resource: validate whether an instance can establish or remove a disaster-recovery relationship with a given instance. It clearly frames this as a pre-check rather than the actual create/delete, which distinguishes it from the Create/DeleteDisasterRecovery siblings without naming them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The implied usage is a pre-flight validation before establishing or removing a DR relationship, but the description never explicitly says 'call this before CreateDisasterRecovery' or lists prerequisites. The agent must infer the sequencing from the word 校验 (validate) alone.

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