Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_add_postgresql_users

Add users to a Cloud DB for PostgreSQL instance with credentials and client CIDR ranges that restrict connection sources; avoid using 0.0.0.0/0.

Instructions

Add users to a Cloud DB for PostgreSQL instance. clientCidr limits where the user can connect from — avoid 0.0.0.0/0.

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

Input Schema

NameRequiredDescriptionDefault
cloudPostgresqlUserListYesList of users to add
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. Changed3 schema fields changedv2.2.0
    • addedInput schema / properties / cloudPostgresqlUserList / items / properties / clientCidr
      Added value: +{
      +  "description": "Client CIDR allowed to connect (e.g. 10.0.0.0/16)",
      +  "type": "string"
      +}
    • addedInput schema / properties / cloudPostgresqlUserList / items / properties / isReplicationRole
      Added value: +{
      +  "default": false,
      +  "description": "Grant the replication role (default false)",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / cloudPostgresqlUserList / items / required
      Previous value: -[
      -  "name",
      -  "password"
      -]New value: +[
      +  "name",
      +  "password",
      +  "clientCidr"
      +]
  3. First observedv1.10.1

TDQS

A3.7/5.0
Behavior3/5

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

Annotations only supply destructiveHint=false, so the description carries most of the burden. It adds a genuine security caveat about clientCidr, but says nothing about password handling, whether added users can be removed only via the delete counterpart, permission requirements, or what the call returns.

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

Conciseness5/5

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

Two sentences, zero waste, with the core action stated first and the security caveat second. Nothing is padded or repeated from the schema.

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

Completeness4/5

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

For a two-parameter, fully documented create tool with no output schema, the description covers the action and the one parameter that carries real risk. Only the missing differentiation from the change/delete siblings keeps it from being complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description goes beyond the schema's neutral "Client CIDR allowed to connect" by explaining that clientCidr restricts connection origin and warning against 0.0.0.0/0 — actionable meaning the schema does not convey.

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?

"Add users to a Cloud DB for PostgreSQL instance" names a specific verb (add) and resource (PostgreSQL users), which distinguishes it from the sibling change/delete/list user tools by verb alone. It does not explicitly contrast with ncloud_change_postgresql_users, but the operation is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the verb 'add' — an agent can infer this creates new users rather than modifying existing ones. There is no explicit when-to-use guidance, no note about what to do if a user already exists (change vs add), and no stated prerequisites such as the instance needing to exist.

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