Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_change_mongodb_shard_count

Idempotent

Adds shards to a MongoDB sharded cluster by specifying a target shard count (3–5); use dryRun=true to preview changes before adding billed servers.

Instructions

Add shards to 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>",
      "shardCount": "<shardCount>"
    },
    "name": "ncloud_change_mongodb_shard_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNoIf true, returns a preview without changing anything. Adding servers adds billed servers immediately.
shardCountYesNumber of shards (3-5). Shards can only be added, not removed
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
    • 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"
      +}
    • changedInput schema / properties / shardCount / description
      Previous value: -"Number of shards"New value: +"Number of shards (3-5). Shards can only be added, not removed"
  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 prerequisite and the dryRun escape hatch, which is real value. However, the significant behavioral fact that shards can only be added and never removed, and that adding shards immediately incurs billed servers, lives only in the schema rather than the description.

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 mutation scope and the preview instruction front-loaded before any optional detail.

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 simple three-parameter mutation with a fully documented schema and no output schema, the description covers the essential gating condition and the non-destructive preview path. What is missing (add-only irreversibility, immediate billing) is at least recoverable from the schema, so the definition is close to complete.

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%: shardCount documents the 3-5 range and add-only semantics, dryRun documents the preview-plus-billing caveat, and cloudMongoDbInstanceNo is labeled. The description restates dryRun's purpose without adding format or interaction detail beyond the schema.

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 ('Add shards to a MongoDB instance') plus a scoping qualifier (SHARDED_CLUSTER only), which clearly separates it from the sibling count-change tools (mongos_count, config_count, secondary_count) that alter different components.

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 the key precondition (SHARDED_CLUSTER only) and a preview path (dryRun=true). It does not explicitly say when to choose this over the sibling count-change tools, but the shard-vs-mongos-vs-secondary distinction is largely implied by the verb+resource.

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