Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_change_mongodb_mongos_count

Idempotent

Changes the Mongos server count for a SHARDED_CLUSTER MongoDB instance and supports dry-run preview before adding billed servers.

Instructions

Change the number of Mongos 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>",
      "mongosServerCount": "<mongosServerCount>"
    },
    "name": "ncloud_change_mongodb_mongos_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNoIf true, returns a preview without changing anything. Adding servers adds billed servers immediately.
mongosServerCountYesNumber of mongos servers (2-5)
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. Changed1 schema field changedv2.2.0
    • 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.8/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 safety is partly covered. The description adds the cluster-type restriction and the preview path, but says nothing about operational impact of a change (e.g., whether topology is restarted or whether counts can be reduced), and the billing warning lives only in the schema.

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, zero filler, with the operation and its scope constraint front-loaded before the preview tip.

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 three-parameter mutation tool with no output schema, the definition covers scope, action, and preview. The remaining gap is impact disclosure on the running cluster, which is modest given annotations already flag non-destructive idempotent behavior.

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%, including the dryRun preview semantics and the 2-5 range on mongosServerCount, so the schema carries nearly all parameter meaning. The description only restates the dryRun preview, which is why 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?

Specific verb ("Change") plus a precisely scoped resource ("number of Mongos servers in a MongoDB instance"), which inherently separates it from shard-count, secondary-count, and config-count siblings. It does not explicitly name an alternative, but the resource noun does the differentiating work.

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?

States the applicability condition (SHARDED_CLUSTER only) and gives a concrete usage mode (dryRun=true for preview). It stops short of telling the agent what to do for non-sharded clusters or which sibling to use instead, so it is clear context rather than full routing guidance.

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