Skip to main content
Glama

gaussdb__CreateRestoreTables

Restores selected GaussDB tables to a specified point in time, letting you map old table names to new names for targeted recovery.

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

Input Schema

NameRequiredDescriptionDefault
project_idYes租户在某一Region下的project ID。
instance_idYes实例ID,严格匹配UUID规则。
restore_timeYes备份时间点,时间戳格式。
restore_tablesYes数据库信息。
last_table_infoNo是否是最新库表。默认为false。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 behavioral burden, and it discloses almost nothing. It does not say whether existing tables are overwritten, whether the operation is asynchronous, what permissions or instance state are required, or whether the restore is reversible. For a mutating, nested-payload restore call this is a substantial gap.

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 phrase with zero waste and is trivially front-loaded, but its brevity reflects under-specification rather than efficient communication of the necessary context.

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?

Given a complex nested restore payload, no output schema, and no annotations, the description does far too little. An agent gets no sense of the operation's outcome, side effects, or ordering relative to the discovery/status tools it would normally pair with.

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% with five documented parameters (project_id, instance_id, restore_time, restore_tables, last_table_info), so the schema already explains each field including the nested old_name/new_name mapping. The description adds no semantics beyond it, making the baseline 3 appropriate.

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?

"表级时间点恢复" states a recognizable action (table-level point-in-time restore) but is essentially a restatement of the tool name CreateRestoreTables, with no indication of what is produced (a restore task? a job ID?) or how it differs from siblings like RestoreTables/ShowRestoreTables. An agent can guess the general domain but not the concrete effect.

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?

No when-to-use guidance, no prerequisites, and no exclusions. It never mentions that available tables should first be discovered via ShowRestoreAvailableTables or that prior restore jobs can be inspected with ShowRestoreTables, which are the obvious adjacent calls in the sibling set.

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