Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_change_postgresql_users

Idempotent

Modify PostgreSQL database users by updating passwords, client CIDR access, or replication roles for a Cloud DB for PostgreSQL instance.

Instructions

Change users (password, client CIDR, replication role) for a Cloud DB for PostgreSQL instance

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": {
      "cloudPostgresqlInstanceNo": "<cloudPostgresqlInstanceNo>",
      "cloudPostgresqlUserList": "<cloudPostgresqlUserList>"
    },
    "name": "ncloud_change_postgresql_users"
  }
}

Input Schema

NameRequiredDescriptionDefault
cloudPostgresqlUserListYesList of users to modify
cloudPostgresqlInstanceNoYesCloud PostgreSQL instance number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / cloudPostgresqlUserList / items / additionalProperties
      Removed value: -false
  2. Changed4 schema fields changedv2.2.0
    • addedInput schema / properties / cloudPostgresqlUserList / items / properties / clientCidr
      Added value: +{
      +  "description": "New client CIDR allowed to connect",
      +  "type": "string"
      +}
    • addedInput schema / properties / cloudPostgresqlUserList / items / properties / isReplicationRole
      Added value: +{
      +  "description": "Grant (true) or revoke (false) the replication role",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / cloudPostgresqlUserList / items / properties / password / description
      Previous value: -"New password for the user"New value: +"New password"
    • changedInput schema / properties / cloudPostgresqlUserList / items / required
      Previous value: -[
      -  "name",
      -  "password"
      -]New value: +[
      +  "name"
      +]
  3. First observedv1.10.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so the safety profile is mostly covered. The description adds which attributes are mutable and that replication role can be granted or revoked, but says nothing about whether unspecified fields are left untouched, whether password changes disrupt active connections, or what permissions are required.

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?

A single compact sentence with the resource and scope front-loaded and no filler. It omits nothing required for identification, though it could carry one more clause of operational detail without becoming bloated.

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

Completeness3/5

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

For a mutation tool with annotations covering idempotency and destructiveness, full schema coverage, and no output schema, the description is minimally sufficient. It falls short on batch semantics (how the user list is applied) and any prerequisites or side effects an agent should anticipate before mutating credentials.

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 documents both the instance number and each field of the user list, including the boolean semantics of isReplicationRole. The description restates the three mutable fields without adding format, validation, or constraint details beyond the schema. Baseline 3 applies.

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 names a concrete verb ("Change") and resource ("users") scoped to "a Cloud DB for PostgreSQL instance," and enumerates the mutable fields (password, client CIDR, replication role). The verb "Change" plus the sibling verbs add/delete/list makes the distinction reasonably evident, though no sibling is named explicitly.

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 explicit when-to-use or when-not-to-use guidance, and no mention of prerequisites such as the instance needing to exist or users having been created first. The only usage signal is implicit in the verb "Change" (modify existing users rather than create or remove them).

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