Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_change_mongodb_config_count

Idempotent

Change the number of Config servers in a SHARDED_CLUSTER MongoDB instance, with an optional dryRun preview before applying.

Instructions

Change the number of Config servers in a MongoDB instance (SHARDED_CLUSTER only). Use dryRun=true to preview

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": {
      "cloudMongoDbInstanceNo": "<cloudMongoDbInstanceNo>",
      "configServerCount": "<configServerCount>"
    },
    "name": "ncloud_change_mongodb_config_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNoIf true, returns a preview without changing anything. Adding servers adds billed servers immediately.
configServerCountYesNumber of config servers (3-7)
cloudMongoDbInstanceNoYesCloud MongoDB instance number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed2 schema fields changedv2.2.0
    • changedInput schema / properties / configServerCount / description
      Previous value: -"Number of config servers"New value: +"Number of config servers (3-7)"
    • addedInput schema / properties / dryRun
      Added value: +{
      +  "default": false,
      +  "description": "If true, returns a preview without changing anything. Adding servers adds billed servers immediately.",
      +  "type": "boolean"
      +}
  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 already declare idempotentHint=true and destructiveHint=false, and the description adds the non-obvious precondition that the cluster must be SHARDED_CLUSTER. However, it says nothing about the operational impact of resizing config servers (restarts, availability, whether scaling down is allowed), which is the main behavioral risk an agent should know before mutating a database tier.

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 short sentences, front-loaded with the action and the scope restriction, with the preview hint trailing. Nothing is padded or redundant.

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 3-parameter mutation tool with annotations and full schema coverage, the definition covers purpose, precondition, and preview. It omits the operational consequences of changing config server count and does not indicate what a preview response looks like, leaving a meaningful gap for a destructive-adjacent operation.

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%, and the schema already documents the 3-7 range for configServerCount and the preview-plus-billing semantics of dryRun. The description's 'Use dryRun=true to preview' only restates what the schema says, so the 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?

States a specific verb and resource ('Change the number of Config servers in a MongoDB instance') and adds a scope qualifier ('SHARDED_CLUSTER only'), which separates it from the sibling count-changing tools (shard, mongos, secondary) by resource. It does not explicitly name those siblings, so it stops short of a 5.

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

Usage Guidelines4/5

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

Gives a clear applicability condition (SHARDED_CLUSTER only) and a recommended preview pattern ('Use dryRun=true to preview'). It does not name an alternative tool for non-sharded clusters or state what to do if the precondition fails, but the context for when to call it is unambiguous.

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