Skip to main content
Glama

rds__CreateInstance

Create a Huawei Cloud RDS database instance with chosen engine, flavor, VPC, subnet, security group, storage, HA mode, and billing; supports batch creation, backup restore, and read replicas.

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>",
      "datastore": "<datastore>",
      "flavor_ref": "<flavor_ref>",
      "name": "<name>",
      "project_id": "<project_id>",
      "region": "<region>",
      "security_group_id": "<security_group_id>",
      "subnet_id": "<subnet_id>",
      "volume": "<volume>",
      "vpc_id": "<vpc_id>"
    },
    "name": "rds__CreateInstance"
  }
}

Input Schema

NameRequiredDescriptionDefault
haNoHA配置参数,创建HA实例时使用。
nameYes实例名称。
portNo数据库端口信息。
tagsNo标签列表。单个实例总标签数上限20个。
countNo批量创建实例的数量,取值范围为1~50。
regionYes区域ID。创建主实例时必选,其它场景不可选。
volumeYes
vpc_idYes虚拟私有云ID。创建只读实例时不可选(只读实例的网络属性默认和主实例相同),其它场景必选。
dry_runNo是否只预检此次请求,仅支持MySQL。
data_vipNo指定实例的内网IP,目前仅支持设置IPv4地址。
passwordNo数据库密码。创建只读实例时不可选,其它场景必选。
collationNo仅限Microsoft SQL Server实例创建使用。对于MySQL和PostgreSQL实例,该参数无意义。取值范围:根据查询SQL Server可用字符集的字符集查询列表查询可设置的字符集。
datastoreYes数据库信息。
subnet_idYes子网的网络ID信息。创建只读实例时不可选(只读实例的网络属性默认和主实例相同),其它场景必选。
time_zoneNo时区。
dsspool_idNoDec用户专属存储ID,每个az配置的专属存储不同,Dec用户创建实例时,对于数据库实例类型不是单机或只读的实例,需要分别为实例所有节点指定dsspoolId,并用逗号隔开。
flavor_refYes规格码,取值范围:非空。
project_idYes项目ID。
charge_infoNo计费类型信息,支持包年包月和按需,默认为按需。
replica_of_idNo只读实例的主实例ID。创建只读实例时必选,其它场景不可选。
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_idYes安全组ID。创建只读实例时不可选(只读实例的网络属性默认和主实例相同),其它场景必选。
disk_encryption_idNo用于磁盘加密的密钥ID,默认为空。
unchangeable_paramNo不可变更参数列表。该对象中的参数,在数据库初始化之前指定,指定后不支持修改。
enterprise_project_idNo企业项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/5.0
Behavior1/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 provides none of it. It says nothing about billing consequences, that dry_run only pre-checks (MySQL only), that the call may be long-running or fail on quota, or what permissions and project scoping are required for a 30-parameter mutating operation.

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?

The single short sentence contains no filler, but its brevity comes from omission rather than economy. There is no structure to front-load because nothing beyond the tool name is stated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 30-parameter, 10-required-parameter creation tool with nested objects, conditional requirements (region/replica_of_id mutually exclusive, serverless_info required for Serverless, ha required for HA), and no annotations or output schema, a one-line description is completely inadequate. None of the conditional invocation logic an agent needs is present.

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 parameter meanings, enums, and constraints are already well documented in the schema. The description adds no parameter-level meaning beyond that, which matches the baseline for high-coverage schemas.

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?

"创建数据库实例" names a concrete verb and resource, so the basic operation is understandable. But it is essentially a translation of the tool name CreateInstance and gives no way to distinguish it from close siblings such as rds__CreateInstanceIam5 or rds__CreateRestoreInstance, which also create instances via different paths.

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, no indication of prerequisites, and no mention of when an agent should pick CreateInstanceIam5 or a restore-flavored sibling instead. The agent must infer selection from the name 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