Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_change_mongodb_secondary_count

Idempotent

Adjust the number of Secondary member and arbiter servers in a MongoDB replica set, with an optional dry-run preview before applying changes.

Instructions

Change the number of Secondary (Member/Arbiter) servers in a MongoDB replica set (members + arbiter = 3-7). 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>",
      "memberServerCount": "<memberServerCount>",
      "arbiterServerCount": "<arbiterServerCount>"
    },
    "name": "ncloud_change_mongodb_secondary_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNoIf true, returns a preview without changing anything. Adding servers adds billed servers immediately.
memberServerCountYesNumber of member servers (2-7)
arbiterProductCodeNoArbiter server product code
arbiterServerCountYesNumber of arbiter servers (0-1)
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.6/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 the safety profile is covered. The description adds the 3-7 total replica constraint and the preview option, but says nothing about the effect of scaling (billing, availability, or whether it can be reverted), which is the main behavioral concern for a count change.

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 what changes and followed by the preview hint. Nothing is redundant or padded.

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?

The tool is a mutation over a fully documented 5-parameter schema with no output schema, and the description covers the valid range and preview path. It omits what happens on scale-down, whether restart or downtime occurs, and the billing effect (which only appears buried in the dryRun schema field).

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 would be 3, but the description adds a cross-field constraint not present in the schema: schema states member 2-7 and arbiter 0-1 independently, while the description clarifies members + arbiter must total 3-7. That is real semantic value beyond the structured fields.

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?

Names a specific verb (Change) and resource (Secondary Member/Arbiter servers in a MongoDB replica set), which implicitly separates it from the mongos, shard, and config count siblings. It never explicitly routes the agent away from 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 Guidelines3/5

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

The only usage instruction is 'Use dryRun=true to preview', which is actionable but narrow. There is no guidance on when to use this tool versus the other replica-set count tools, nor any stated prerequisites such as instance state or required permissions.

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