Skip to main content
Glama

rds__CreatePostgresqlDatabase

Creates a PostgreSQL database in a specified RDS instance with options for owner, character set, locale, template, comment, and public schema privilege control.

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

Input Schema

NameRequiredDescriptionDefault
nameYes数据库名称。
ownerNo数据库所属用户,缺省时默认是root,不能和系统用户重名,且必须是已存在的用户。
commentNo数据库备注。
lc_ctypeNo数据库分类集。默认en_US.UTF-8。
templateNo数据库模板名称,可选值template0,template1。默认template1。
lc_collateNo数据库排序集。默认en_US.UTF-8。
project_idYes项目ID。
instance_idYes实例ID。
character_setNo数据库字符集。默认UTF8。
is_revoke_public_privilegeNo是否回收public schema的PUBLIC CREATE权限。

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 carries the full behavioral burden. It states only that a database is created in an instance; it does not disclose required permissions, side effects, idempotency, or what happens on name collisions, which are important for a mutation tool with ten parameters.

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 wasted wording. It is concise and easy to parse, though its brevity borders on under-specification rather than optimal sizing for a ten-parameter mutation tool.

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?

For a ten-parameter create operation with no annotations and no output schema, the description is too sparse. While the schema documents parameters well, the description omits behavioral context such as authorization, side effects, and constraints that an agent would need before invoking this mutation tool.

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 explains parameters such as owner, template, character_set, and is_revoke_public_privilege. The description adds no parameter-level meaning beyond the schema, making the baseline score of 3 appropriate.

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 in Chinese — '创建数据库' (create database) — and adds the scope '在指定实例中' (in the specified instance). It is clear enough to distinguish a create operation, but it does not differentiate this PostgreSQL-specific tool from generic or SQL Server siblings such as CreateDatabase or CreateSqlserverDatabase.

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 description gives no explicit when-to-use guidance, no prerequisites, and no alternatives. It is implied that this tool creates a database in an instance, but there is no guidance on when to choose this over CreateDatabase or CreateSqlserverDatabase, or when not to use it.

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