Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_get_mongodb_target_subnets

Read-only

Lists subnets in a VPC that can host a new Cloud DB for MongoDB instance for the given image, with optional public or private filtering.

Instructions

List subnets in a VPC that can host a new Cloud DB for MongoDB 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>",
      "cloudMongoDbImageProductCode": "<cloudMongoDbImageProductCode>"
    },
    "name": "ncloud_get_mongodb_target_subnets"
  }
}

Input Schema

NameRequiredDescriptionDefault
vpcNoYesVPC number
isPublicNotrue = public subnets only (API default), false = private subnets only
regionCodeNoRegion code (see ncloud_get_regions)
cloudMongoDbImageProductCodeYesMongoDB 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 / cloudMongoDbImageProductCode
      Added value: +{
      +  "description": "MongoDB image product code",
      +  "type": "string"
      +}
    • removedInput schema / properties / cloudMongoDbInstanceNo
      Removed value: -{
      -  "description": "Cloud MongoDB instance number",
      -  "type": "string"
      -}
    • addedInput schema / properties / isPublic
      Added value: +{
      +  "description": "true = public subnets only (API default), false = private subnets only",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / regionCode / description
      Previous value: -"Region code (e.g., KR, JPN, SGN)"New value: +"Region code (see ncloud_get_regions)"
    • addedInput schema / properties / vpcNo
      Added value: +{
      +  "description": "VPC number",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "cloudMongoDbInstanceNo"
      -]New value: +[
      +  "vpcNo",
      +  "cloudMongoDbImageProductCode"
      +]
  3. First observedv1.10.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile needs no restating. The description adds the useful behavioral nuance that results are filtered to viable, image-compatible subnets rather than all subnets, but it does not say what determines eligibility, whether results are empty when no subnet qualifies, or how the list is ordered.

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?

A single well-formed sentence that front-loads the operation and packs scope, resource type, and the compatibility constraint with zero filler.

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 low-complexity read-only list tool with full schema coverage and an annotation carrying the safety profile, the definition is serviceable. It still omits the eligibility criteria and the natural workflow link to ncloud_create_mongodb_instance, which is the main reason an agent would call it.

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 coverage is 100%, so all four parameters including isPublic defaults and regionCode are already documented. The description only loosely ties 'in a VPC' and 'of the given image' to two of the params, adding no syntax or value guidance 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 gives a specific verb and resource ('List subnets') and narrows scope twice: to a VPC and to subnets that can host a MongoDB instance of a given image. That is far more precise than the generic sibling 'ncloud_list_subnets' or 'ncloud_get_route_table_subnets', though it never explicitly names an alternative to steer the agent away from.

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 intended use is implied by 'can host a new Cloud DB for MongoDB instance' — the agent should infer this is the pre-creation placement lookup used before ncloud_create_mongodb_instance. However, no when-not condition or explicit alternative (e.g. list_subnets for general purposes) is stated.

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