Skip to main content
Glama

rds__CreateRestoreInstance

Restore an RDS database to a new instance from a backup or point-in-time, with configurable storage, network, HA, and billing settings.

Instructions

[RDS] 恢复到新实例。

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": {
      "availability_zone": "<availability_zone>",
      "flavor_ref": "<flavor_ref>",
      "name": "<name>",
      "project_id": "<project_id>",
      "volume": "<volume>"
    },
    "name": "rds__CreateRestoreInstance"
  }
}

Input Schema

NameRequiredDescriptionDefault
haNoHA配置参数,创建HA实例时使用。
nameYes实例名称。
portNo数据库端口信息。
tagsNo标签列表。单个实例总标签数上限20个。
regionNo区域ID。创建主实例时必选,其它场景不可选。
volumeYes
vpc_idNo虚拟私有云ID。创建只读实例时不可选(只读实例的网络属性默认和主实例相同),其它场景必选。
dry_runNo是否只预检此次请求,仅支持MySQL。
data_vipNo指定实例的内网IP,目前仅支持设置IPv4地址。
passwordNo数据库密码。创建只读实例时不可选,其它场景必选。
collationNo仅限Microsoft SQL Server实例创建使用。对于MySQL和PostgreSQL实例,该参数无意义。取值范围:根据查询SQL Server可用字符集的字符集查询列表查询可设置的字符集。
datastoreNo数据库信息。
subnet_idNo子网的网络ID信息。创建只读实例时不可选(只读实例的网络属性默认和主实例相同),其它场景必选。
time_zoneNo时区。
dsspool_idNoDec用户专属存储ID,每个az配置的专属存储不同,Dec用户创建实例时,对于数据库实例类型不是单机或只读的实例,需要分别为实例所有节点指定dsspoolId,并用逗号隔开。
flavor_refYes规格码,取值范围:非空。
project_idYes项目ID。
charge_infoNo计费类型信息,支持包年包月和按需,默认为按需。
restore_pointNo
backup_strategyNo自动备份策略。
is_auto_upgradeNo是否开启自动小版本升级,默认为false,仅支持PostgreSQL。
serverless_infoNoServerless型实例的资源扩缩范围。创建Serverless型实例时必选。
configuration_idNo参数模板ID。可调用[获取参数模板列表](https://support.huaweicloud.com/api-rds/rds_09_0301.html)接口返回的ID获取。
availability_zoneYes可用区ID。对于数据库实例类型不是单机的实例,需要分别为实例所有节点指定可用区,并用逗号隔开。
security_group_idNo安全组ID。创建只读实例时不可选(只读实例的网络属性默认和主实例相同),其它场景必选。
disk_encryption_idNo用于磁盘加密的密钥ID,默认为空。
enterprise_project_idNo企业项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations at all, the description carries the full burden and provides almost nothing. It implies a resource-creating mutation (billing, naming, quota impact) but does not say so, and it omits any mention of preconditions, idempotency, the dry_run pre-check behavior, or permission requirements.

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

Conciseness2/5

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

The single sentence is front-loaded and contains no filler, but it is under-specified rather than concise for a tool with 27 parameters and nested restore semantics. Brevity here costs the agent information it cannot recover from the description.

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 the complexity — 27 parameters, nested objects, no annotations, no output schema — one sentence about restoring to a new instance is not enough. The rich schema partially compensates, but the restore-source semantics and the required-vs-conditional parameter interactions are left entirely unexplained.

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 93%, so the schema already explains nearly every one of the 27 parameters, including the nested restore_point, charge_info, and ha objects. The description adds no parameter meaning of its own, which meets the baseline-3 expectation when the schema does the heavy lifting.

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 target, '恢复到新实例' (restore to a new instance), which is the key distinguishing fact versus the sibling tools rds__RestoreExistInstance and rds__RestoreToExistingInstance. It is clear what the tool produces, though it never names the sibling it differs from or says what is being restored from.

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: nothing tells the agent to prefer this over restoring to an existing instance, nor that a source (backup_id or restore_time) must be supplied via restore_point. The only usable signal is the implicit 'new instance' framing, which the agent must infer.

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