Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_get_postgresql_target_subnets

Read-only

Lists subnets in a VPC that can host a new Cloud DB for PostgreSQL instance for a specified image, so you can choose a valid target subnet.

Instructions

List subnets in a VPC that can host a new Cloud DB for PostgreSQL instance of the given image

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": {
      "vpcNo": "<vpcNo>",
      "cloudPostgresqlImageProductCode": "<cloudPostgresqlImageProductCode>"
    },
    "name": "ncloud_get_postgresql_target_subnets"
  }
}

Input Schema

NameRequiredDescriptionDefault
vpcNoYesVPC number
isPublicNotrue = public subnets only, false = private subnets only
regionCodeNoRegion code (see ncloud_get_regions). Defaults to current region.
cloudPostgresqlImageProductCodeYesPostgreSQL image product code

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed6 schema fields changedv2.2.0
    • addedInput schema / properties / cloudPostgresqlImageProductCode
      Added value: +{
      +  "description": "PostgreSQL image product code",
      +  "type": "string"
      +}
    • removedInput schema / properties / cloudPostgresqlInstanceNo
      Removed value: -{
      -  "description": "Cloud PostgreSQL instance number",
      -  "type": "string"
      -}
    • addedInput schema / properties / isPublic
      Added value: +{
      +  "description": "true = public subnets only, false = private subnets only",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / regionCode / description
      Previous value: -"Region code (e.g. KR, SGN, JPN). Defaults to current region."New value: +"Region code (see ncloud_get_regions). Defaults to current region."
    • addedInput schema / properties / vpcNo
      Added value: +{
      +  "description": "VPC number",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "cloudPostgresqlInstanceNo"
      -]New value: +[
      +  "vpcNo",
      +  "cloudPostgresqlImageProductCode"
      +]
  3. First observedv1.10.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so safety is covered. The description adds one genuinely useful behavioral trait — results are filtered by image compatibility, not just VPC membership — but says nothing about ordering, pagination, or what an empty result implies (no eligible subnet vs. bad input).

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?

Single sentence, front-loaded with the verb and resource, with the constraining qualifier attached immediately. No filler or repetition of the tool name beyond what is needed.

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?

There is no output schema, so the description could reasonably say what a returned subnet entry looks like or how the image compatibility is determined. For a four-parameter read-only lookup this is adequate but leaves the eligibility mechanism and result shape unexplained.

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 baseline is 3. The description adds only that the image product code drives eligibility ('of the given image'); it does not clarify the interaction between vpcNo, regionCode, and isPublic, which the schema already documents adequately.

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?

States a specific verb and resource (list subnets) plus a meaningful qualifier: only subnets that can host a new PostgreSQL instance of a given image. That qualifier separates it from the general ncloud_list_subnets and from the other engine-specific target-subnet tools without naming them, though no sibling is called out explicitly.

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?

The phrase 'can host a new ... instance' implies this is a pre-creation eligibility lookup, but the description never states when to use it rather than ncloud_list_subnets or when to stop (e.g., before ncloud_create_postgresql_instance). Usage is inferable but not explicit and no exclusions are given.

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