Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_update_rule_group

Idempotent

Update an existing Cloud Insight event rule group's metrics, monitors, notifications, and policies; the group name cannot be changed, so pass the current name.

Instructions

Update an existing Cloud Insight event rule group. groupName cannot be changed — pass the current name.

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": {
      "ruleGroupId": "<ruleGroupId>",
      "prodKey": "<prodKey>",
      "groupName": "<groupName>",
      "metricsGroupKey": "<metricsGroupKey>",
      "monitorGroupKey": "<monitorGroupKey>"
    },
    "name": "ncloud_update_rule_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
prodKeyYesProduct key (cw_key) for the target service
groupDescNoDescription (<= 300 chars)
groupNameYesName of the rule group (1-1000 chars)
ruleGroupIdYesRule group (Event Rule) ID to update
asgPolicyListNoAuto Scaling group policies
metricsGroupKeyYesMetrics group (rule template) IDs to apply (at least one)
monitorGroupKeyYesMonitor group (target group) IDs to monitor (at least one)
suspendRuleItemsNoRule items to suspend ([{resourceId, metricGroupItemId}])
recipientNotificationsNoNotification recipient groups
personalNotificationRecipientsNoPersonal notification recipients

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / asgPolicyList / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / personalNotificationRecipients / items / $ref
      Removed value: -"#/properties/recipientNotifications/items"
    • addedInput schema / properties / personalNotificationRecipients / items / properties
      Added value: +{
      +  "enableNotiWhenEventClose": {
      +    "description": "Send a notification when the event closes",
      +    "type": "boolean"
      +  },
      +  "groupName": {
      +    "description": "Notification recipient group name",
      +    "type": "string"
      +  },
      +  "groupNum": {
      +    "description": "Notification recipient group number",
      +    "type": "number"
      +  },
      +  "notifyTypes": {
      +    "description": "Notification methods (SMS, EMAIL)",
      +    "items": {
      +      "enum": [
      +        "SMS",
      +        "EMAIL"
      +      ],
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "reminderTime": {
      +    "description": "Reminder interval in minutes (5-720)",
      +    "type": "number"
      +  }
      +}
    • addedInput schema / properties / personalNotificationRecipients / items / type
      Added value: +"object"
    • removedInput schema / properties / recipientNotifications / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / suspendRuleItems / items / additionalProperties
      Removed value: -false
  2. Changed15 schema fields changedv2.0.1
    • addedInput schema / properties / asgPolicyList
      Added value: +{
      +  "description": "Auto Scaling group policies",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "autoScalingGroupNo": {
      +        "description": "Auto Scaling group number",
      +        "type": "number"
      +      },
      +      "autoScalingPolicyNo": {
      +        "description": "Auto Scaling policy number",
      +        "type": "number"
      +      },
      +      "policyName": {
      +        "description": "Auto Scaling policy name",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / cfgRuleList
      Removed value: -{
      -  "description": "Updated rule configurations",
      -  "items": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "aggregation": {
      -        "description": "Aggregation type",
      -        "enum": [
      -          "AVG",
      -          "MIN",
      -          "MAX",
      -          "SUM",
      -          "COUNT"
      -        ],
      -        "type": "string"
      -      },
      -      "condition": {
      -        "description": "Threshold condition",
      -        "enum": [
      -          "GT",
      -          "GTE",
      -          "LT",
      -          "LTE",
      -          "EQ"
      -        ],
      -        "type": "string"
      -      },
      -      "duration": {
      -        "description": "Duration in minutes",
      -        "type": "number"
      -      },
      -      "eventLevel": {
      -        "description": "Event severity level",
      -        "enum": [
      -          "CRITICAL",
      -          "WARNING",
      -          "INFO"
      -        ],
      -        "type": "string"
      -      },
      -      "metricGroupItemId": {
      -        "description": "Metric item ID",
      -        "type": "string"
      -      },
      -      "threshold": {
      -        "description": "Threshold value",
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "metricGroupItemId",
      -      "condition",
      -      "threshold",
      -      "duration",
      -      "eventLevel"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • addedInput schema / properties / groupDesc
      Added value: +{
      +  "description": "Description (<= 300 chars)",
      +  "type": "string"
      +}
    • changedInput schema / properties / groupName / description
      Previous value: -"New name for the rule group"New value: +"Name of the rule group (1-1000 chars)"
    • removedInput schema / properties / metricsGroupId
      Removed value: -{
      -  "description": "New metrics group ID",
      -  "type": "string"
      -}
    • addedInput schema / properties / metricsGroupKey
      Added value: +{
      +  "description": "Metrics group (rule template) IDs to apply (at least one)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "minItems": 1,
      +  "type": "array"
      +}
    • removedInput schema / properties / monitorGroupId
      Removed value: -{
      -  "description": "New monitor group ID",
      -  "type": "string"
      -}
    • addedInput schema / properties / monitorGroupKey
      Added value: +{
      +  "description": "Monitor group (target group) IDs to monitor (at least one)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / personalNotificationRecipients
      Added value: +{
      +  "description": "Personal notification recipients",
      +  "items": {
      +    "$ref": "#/properties/recipientNotifications/items"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / prodKey
      Added value: +{
      +  "description": "Product key (cw_key) for the target service",
      +  "type": "string"
      +}
    • removedInput schema / properties / recipientNotification
      Removed value: -{
      -  "description": "Updated notification recipients",
      -  "items": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "notificationType": {
      -        "description": "Notification type",
      -        "enum": [
      -          "EMAIL",
      -          "SMS",
      -          "WEBHOOK"
      -        ],
      -        "type": "string"
      -      },
      -      "recipient": {
      -        "description": "Notification recipient",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "notificationType",
      -      "recipient"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • addedInput schema / properties / recipientNotifications
      Added value: +{
      +  "description": "Notification recipient groups",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "enableNotiWhenEventClose": {
      +        "description": "Send a notification when the event closes",
      +        "type": "boolean"
      +      },
      +      "groupName": {
      +        "description": "Notification recipient group name",
      +        "type": "string"
      +      },
      +      "groupNum": {
      +        "description": "Notification recipient group number",
      +        "type": "number"
      +      },
      +      "notifyTypes": {
      +        "description": "Notification methods (SMS, EMAIL)",
      +        "items": {
      +          "enum": [
      +            "SMS",
      +            "EMAIL"
      +          ],
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "reminderTime": {
      +        "description": "Reminder interval in minutes (5-720)",
      +        "type": "number"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / ruleGroupId / description
      Previous value: -"Rule group ID to update"New value: +"Rule group (Event Rule) ID to update"
    • addedInput schema / properties / suspendRuleItems
      Added value: +{
      +  "description": "Rule items to suspend ([{resourceId, metricGroupItemId}])",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "metricGroupItemId": {
      +        "description": "Metric item ID",
      +        "type": "string"
      +      },
      +      "resourceId": {
      +        "description": "Monitoring target ID",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "resourceId",
      +      "metricGroupItemId"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "ruleGroupId"
      -]New value: +[
      +  "ruleGroupId",
      +  "prodKey",
      +  "groupName",
      +  "metricsGroupKey",
      +  "monitorGroupKey"
      +]
  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 partly covered. The description adds the non-obvious immutability of groupName, which is real value; however, it says nothing about whether omitted optional fields are cleared or preserved (partial vs. full replace), which is critical for a 10-parameter update mutation.

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 sentences, both front-loaded and functional: the purpose first, then the key constraint. No filler wording whatsoever.

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 ten-parameter mutation with five required fields and no output schema, the description covers purpose and one constraint but omits the most consequential unknown: whether unspecified fields are reset. An agent could plausibly destroy configuration without that answer.

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 is 3 and the schema already documents all ten parameters including the nested policy and notification objects. The description goes beyond the schema by clarifying that the required groupName field is an identifier that must match the current value rather than a settable field, which the schema text does not convey.

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: "Update an existing Cloud Insight event rule group." This clearly separates it from siblings like ncloud_create_rule_group, ncloud_delete_rule_group, and ncloud_get_rule_group, though it does not name any of them explicitly.

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?

Usage is only implied by the tool name and the fact that it operates on an "existing" group; there is no explicit statement of when to use this instead of create, copy, or delete. The one genuine guideline present is the constraint that groupName is immutable and the current name must be passed.

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