Skip to main content
Glama

gaussdb__RestoreOldInstance

Restores GaussDB backup data to a current or existing instance from a backup ID or point-in-time timestamp.

Instructions

[GAUSSDB] 备份恢复到当前实例或已有实例。

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": {
      "project_id": "<project_id>",
      "source_instance_id": "<source_instance_id>",
      "target_instance_id": "<target_instance_id>",
      "type": "<type>"
    },
    "name": "gaussdb__RestoreOldInstance"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes表示恢复方式,枚举值:
backup_idNo用于恢复的备份ID。当使用备份文件恢复时需要指定该参数。
project_idYes租户在某一region下的project ID。
restore_timeNo恢复数据的时间点,格式为UNIX时间戳,单位是毫秒,时区为UTC。
source_instance_idYes源实例ID。
target_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 burden, yet it discloses nothing beyond the bare operation: not whether the restore overwrites existing data on the target, whether it is reversible, whether downtime or a reboot is involved, nor what permissions are needed. Only the faint implication that this mutates instance data is conveyed.

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?

It is a single short sentence with no wasted words, which is good, but it is terse to the point of under-specification rather than being efficiently structured. There is no front-loaded summary of consequences or prerequisites to anchor the agent.

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 six-parameter, four-required mutation operation with no annotations and no output schema, so the description must do more work. One sentence naming the operation leaves the agent without the safety, prerequisite, or outcome context needed to invoke a restore correctly.

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 schema already documents all six parameters and the baseline is 3. The description adds no extra meaning — notably it does not clarify the 'type' parameter, whose schema description is truncated ('表示恢复方式,枚举值:') with no enum values listed, nor does it explain the relationship between backup_id and restore_time.

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 states a specific verb and resource ('备份恢复' / restore a backup) and a scope ('到当前实例或已有实例' / to the current or an existing instance), which maps directly onto the target_instance_id parameter. It does not, however, distinguish this tool from similarly named restore siblings such as gaussdbfornosql__RestoreExistingInstance or rds__RestoreExistInstance, so it stops short of a 5.

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 choose this tool over alternatives, no stated prerequisites (e.g., the target instance must exist and be in a restorable state), and no mention of when not to use it. The agent must infer usage entirely from the name and schema.

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