Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_update_asg

Idempotent

Update an existing Auto Scaling Group's size limits, desired capacity, health checks, or launch configuration while keeping omitted fields; minSize/maxSize required and scaling blocks changes.

Instructions

Update an existing Auto Scaling Group. minSize and maxSize are always required (pass the current values to keep them — see ncloud_get_asg_detail); other omitted fields keep their current values. Fails while the group is scaling. A new launch configuration applies only to servers created afterwards.

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": {
      "autoScalingGroupNo": "<autoScalingGroupNo>",
      "minSize": "<minSize>",
      "maxSize": "<maxSize>"
    },
    "name": "ncloud_update_asg"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxSizeYesMaximum number of servers (0-30, ≥ minSize). Required by the API even when unchanged.
minSizeYesMinimum number of servers (0-30, ≤ maxSize). Required by the API even when unchanged.
defaultCoolDownNoDefault cooldown in seconds
desiredCapacityNoDesired number of servers (between minSize and maxSize)
serverNamePrefixNoNew server name prefix (3-7 chars: lowercase letters, digits, '-')
autoScalingGroupNoYesAuto Scaling Group number to update
healthCheckTypeCodeNoHealth check type: SVR (server) or LOADB (load balancer — requires healthCheckGracePeriod)
launchConfigurationNoNoNew launch configuration number (applies to servers created after the update)
healthCheckGracePeriodNoHealth check grace period in seconds. Required when healthCheckTypeCode=LOADB.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / defaultCoolDown / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / healthCheckGracePeriod / maximum
      Added value: +9007199254740991
  2. Changed22 schema fields changedv2.2.1
    • changedInput schema / properties / defaultCoolDown / description
      Previous value: -"Default cooldown period in seconds"New value: +"Default cooldown in seconds"
    • addedInput schema / properties / defaultCoolDown / minimum
      Added value: +0
    • changedInput schema / properties / defaultCoolDown / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / desiredCapacity / description
      Previous value: -"New desired number of instances"New value: +"Desired number of servers (between minSize and maxSize)"
    • addedInput schema / properties / desiredCapacity / maximum
      Added value: +30
    • addedInput schema / properties / desiredCapacity / minimum
      Added value: +0
    • changedInput schema / properties / desiredCapacity / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / healthCheckGracePeriod / description
      Previous value: -"Health check grace period in seconds"New value: +"Health check grace period in seconds. Required when healthCheckTypeCode=LOADB."
    • addedInput schema / properties / healthCheckGracePeriod / minimum
      Added value: +0
    • changedInput schema / properties / healthCheckGracePeriod / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / healthCheckTypeCode
      Added value: +{
      +  "description": "Health check type: SVR (server) or LOADB (load balancer — requires healthCheckGracePeriod)",
      +  "enum": [
      +    "SVR",
      +    "LOADB"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / launchConfigurationNo / description
      Previous value: -"New launch configuration number"New value: +"New launch configuration number (applies to servers created after the update)"
    • changedInput schema / properties / maxSize / description
      Previous value: -"New maximum number of instances"New value: +"Maximum number of servers (0-30, ≥ minSize). Required by the API even when unchanged."
    • addedInput schema / properties / maxSize / maximum
      Added value: +30
    • addedInput schema / properties / maxSize / minimum
      Added value: +0
    • changedInput schema / properties / maxSize / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / minSize / description
      Previous value: -"New minimum number of instances"New value: +"Minimum number of servers (0-30, ≤ maxSize). Required by the API even when unchanged."
    • addedInput schema / properties / minSize / maximum
      Added value: +30
    • addedInput schema / properties / minSize / minimum
      Added value: +0
    • changedInput schema / properties / minSize / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / serverNamePrefix
      Added value: +{
      +  "description": "New server name prefix (3-7 chars: lowercase letters, digits, '-')",
      +  "pattern": "^[a-z][a-z0-9-]{1,5}[a-z0-9]$",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "autoScalingGroupNo"
      -]New value: +[
      +  "autoScalingGroupNo",
      +  "minSize",
      +  "maxSize"
      +]
  3. First observedv1.10.1

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare idempotentHint and destructiveHint=false, yet the description adds the crucial partial-update contract (omitted fields retain current values), a hard precondition (fails while scaling), and the limited blast radius of a new launch configuration (only future servers). These are exactly the mutation semantics an agent cannot infer from the structured fields.

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?

Four compact sentences, front-loaded with the action and the mandatory-parameter rule, then preconditions, then side effects. No filler and no repetition of the tool name or obvious platitudes.

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 9-parameter mutation tool with no output schema, the description covers the risky parts: required-even-if-unchanged fields, partial-update semantics, failure precondition, and launch-configuration propagation. It omits what the call returns and any permission requirements, which is a minor gap.

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%, and the description largely restates what the schema already says (min/max required even when unchanged; new launch configuration applies to future servers). It adds light value by pointing at ncloud_get_asg_detail as the source of current values, but nothing about syntax or field interactions beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource ('Update an existing Auto Scaling Group') and anchors it to a sibling read tool ('see ncloud_get_asg_detail'), so an agent can separate it from create/delete/detail operations without opening any schema.

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 concrete usage conditions: minSize/maxSize are mandatory even when unchanged, the current values must be fetched via ncloud_get_asg_detail, and the call fails mid-scaling. It stops short of explicitly naming when-not-to-use alternatives such as ncloud_create_asg, but the context is clear.

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