Skip to main content
Glama

rds__CreateInstanceIam5

Creates Huawei Cloud RDS database instances via the V5 API using IAM5 AK/SK authentication, with configuration for database engine, network, storage, and HA.

Instructions

[RDS] 创建数据库实例V5接口,仅支持IAM5的新平面认证方式(AK/SK认证方式)

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__CreateInstanceIam5"
  }
}

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自动备份策略。
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不可变更参数列表。该对象中的参数,在数据库初始化之前指定,指定后不支持修改。
subscription_agencyNo授权给Billing服务的委托URN。使用RAM共享密钥创建包周期RDS实例时,需要传入该字段。
enterprise_project_idNo企业项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral burden for a create/mutation tool. It notes the authentication method, but does not disclose billing implications, whether the call is synchronous or asynchronous, permission requirements, failure behavior, or what the operation provisions beyond the resource name.

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?

The description is a single front-loaded sentence with no filler, and the key function and authentication restriction come first. It is efficiently structured, though it is sparse relative to the tool's complexity.

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 complex creation tool with 30 parameters, 10 required fields, nested objects, no output schema, and no annotations. One sentence about V5/IAM5 authentication is far too little to prepare an agent for choosing among creation modes such as primary, read replica, HA, restore, and serverless.

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 are already well documented in the schema and the baseline is 3. The description adds no parameter-specific semantics; it only adds an authentication constraint that is not represented as an input property.

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 ('创建数据库实例', create database instance) and identifies it as the V5 interface with IAM5 AK/SK authentication. It distinguishes this from a generic create only implicitly through the V5/auth wording, not by naming or contrasting the sibling rds__CreateInstance.

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?

The only guidance is a constraint: it only supports IAM5 new-plane AK/SK authentication. That is a prerequisite, not a when-to-use rule; there is no explicit comparison with rds__CreateInstance, CreateRestoreInstance, or guidance on primary vs read-replica creation scenarios despite those being schema options.

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