Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_put_scaling_policy

Create or update an Auto Scaling Group scaling policy to control capacity adjustments by server count, percentage, or exact target, with cooldown and step settings.

Instructions

Create or update a scaling policy for an Auto Scaling Group. A new policyName creates a policy; to update, pass policyNo or the existing policyName.

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>",
      "adjustmentTypeCode": "<adjustmentTypeCode>",
      "scalingAdjustment": "<scalingAdjustment>"
    },
    "name": "ncloud_put_scaling_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
coolDownNoCooldown in seconds after scaling (default 300)
policyNoNoPolicy number to update (from ncloud_list_scaling_policies). Omit when creating.
policyNameNoPolicy name (1-255 chars: lowercase letters, digits, '-'). A new name creates a policy; an existing name updates it. One of policyNo / policyName is required.
minAdjustmentStepNoMinimum adjustment step (servers). Only valid with adjustmentTypeCode=PRCNT.
scalingAdjustmentYesAdjustment value: CHANG ≥ -2147483648, PRCNT ≥ -100, EXACT ≥ 0; negative values scale in for CHANG/PRCNT
adjustmentTypeCodeYesAdjustment type: CHANG (add/remove N servers), PRCNT (change by N percent), EXACT (set capacity to N). See ncloud_get_adjustment_types.
autoScalingGroupNoYesAuto Scaling Group number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / coolDown / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / minAdjustmentStep / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / scalingAdjustment / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / scalingAdjustment / minimum
      Added value: +-9007199254740991
  2. Changed13 schema fields changedv2.2.1
    • changedInput schema / properties / adjustmentTypeCode / description
      Previous value: -"Adjustment type (CHANG — exact change, PRCNT — percentage, EXACT — set to exact number)"New value: +"Adjustment type: CHANG (add/remove N servers), PRCNT (change by N percent), EXACT (set capacity to N). See ncloud_get_adjustment_types."
    • addedInput schema / properties / adjustmentTypeCode / enum
      Added value: +[
      +  "CHANG",
      +  "PRCNT",
      +  "EXACT"
      +]
    • addedInput schema / properties / coolDown
      Added value: +{
      +  "description": "Cooldown in seconds after scaling (default 300)",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • removedInput schema / properties / cooldown
      Removed value: -{
      -  "description": "Cooldown period in seconds after scaling",
      -  "type": "number"
      -}
    • changedInput schema / properties / minAdjustmentStep / description
      Previous value: -"Minimum adjustment step for percentage-based scaling"New value: +"Minimum adjustment step (servers). Only valid with adjustmentTypeCode=PRCNT."
    • addedInput schema / properties / minAdjustmentStep / minimum
      Added value: +1
    • changedInput schema / properties / minAdjustmentStep / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / policyName / description
      Previous value: -"Scaling policy name"New value: +"Policy name (1-255 chars: lowercase letters, digits, '-'). A new name creates a policy; an existing name updates it. One of policyNo / policyName is required."
    • addedInput schema / properties / policyName / pattern
      Added value: +"^[a-z](?:[a-z0-9-]{0,253}[a-z0-9])?$"
    • addedInput schema / properties / policyNo
      Added value: +{
      +  "description": "Policy number to update (from ncloud_list_scaling_policies). Omit when creating.",
      +  "type": "string"
      +}
    • changedInput schema / properties / scalingAdjustment / description
      Previous value: -"Scaling adjustment value"New value: +"Adjustment value: CHANG ≥ -2147483648, PRCNT ≥ -100, EXACT ≥ 0; negative values scale in for CHANG/PRCNT"
    • changedInput schema / properties / scalingAdjustment / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / required
      Previous value: -[
      -  "autoScalingGroupNo",
      -  "policyName",
      -  "adjustmentTypeCode",
      -  "scalingAdjustment"
      -]New value: +[
      +  "autoScalingGroupNo",
      +  "adjustmentTypeCode",
      +  "scalingAdjustment"
      +]
  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?

With no annotations, the description discloses the key mutation behavior: this creates or updates a policy, and update selection depends on an existing policyNo or policyName. It does not cover permissions, idempotency, whether updates replace or merge existing policy fields, or whether changes apply immediately, so meaningful gaps remain.

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 tight sentences, front-loaded with purpose and then the create/update rule. No filler or redundant wording.

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 7-parameter mutation with no annotations or output schema, it is enough to identify the operation and create-vs-update routing. However, it omits prerequisites and update side effects, leaving some behavioral context to the schema and external knowledge.

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%, so all 7 parameters are already documented in the input schema. The description restates policyName/policyNo creation-vs-update behavior but adds no extra syntax, constraints, or parameter guidance beyond what the schema provides.

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 concrete create-or-update action on a named resource and scope: 'scaling policy for an Auto Scaling Group'. It clearly separates create vs update by policyName but does not explicitly distinguish itself from list/delete siblings, so it is clear but not a perfect sibling-routing 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?

Provides explicit branching guidance: a new policyName creates a policy, while passing policyNo or an existing policyName updates it. It lacks when-not-to-use guidance or an explicit pointer to list/delete alternatives, so it falls short of a 5.

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