Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_create_rule_group

Create Cloud Insight event rule groups to link monitor target groups with metric rule templates and optional notification recipients for monitoring alerts.

Instructions

Create a new Cloud Insight event rule group for monitoring alerts. Links existing monitor groups (targets) and metrics groups (rule templates) and optional notification recipients.

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

Input Schema

NameRequiredDescriptionDefault
dryRunNoIf true, returns a preview without creating the rule group (default: false)
prodKeyYesProduct key (cw_key) for the target service
groupDescNoDescription (<= 300 chars)
groupNameYesName of the rule group (1-1000 chars)
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. Changed13 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": "List of rule configurations defining alert conditions",
      -  "items": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "aggregation": {
      -        "description": "Aggregation type (default: AVG)",
      -        "enum": [
      -          "AVG",
      -          "MIN",
      -          "MAX",
      -          "SUM",
      -          "COUNT"
      -        ],
      -        "type": "string"
      -      },
      -      "condition": {
      -        "description": "Threshold condition (GT: >, GTE: >=, LT: <, LTE: <=, EQ: ==)",
      -        "enum": [
      -          "GT",
      -          "GTE",
      -          "LT",
      -          "LTE",
      -          "EQ"
      -        ],
      -        "type": "string"
      -      },
      -      "duration": {
      -        "description": "Duration in minutes before triggering alert",
      -        "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: -"Name of the rule group"New value: +"Name of the rule group (1-1000 chars)"
    • removedInput schema / properties / metricsGroupId
      Removed value: -{
      -  "description": "Metrics group ID (rule template) to apply",
      -  "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": "Monitor group ID (target group) to monitor",
      -  "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"
      +}
    • removedInput schema / properties / recipientNotification
      Removed value: -{
      -  "description": "Notification recipients for alerts",
      -  "items": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "notificationType": {
      -        "description": "Notification type",
      -        "enum": [
      -          "EMAIL",
      -          "SMS",
      -          "WEBHOOK"
      -        ],
      -        "type": "string"
      -      },
      -      "recipient": {
      -        "description": "Notification recipient (email, phone, or webhook URL)",
      -        "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"
      +}
    • 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: -[
      -  "groupName",
      -  "prodKey",
      -  "metricsGroupId",
      -  "monitorGroupId",
      -  "cfgRuleList"
      -]New value: +[
      +  "prodKey",
      +  "groupName",
      +  "metricsGroupKey",
      +  "monitorGroupKey"
      +]
  3. First observedv1.10.1

TDQS

B3.4/5.0
Behavior3/5

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

The single annotation (destructiveHint=false) is consistent with the description's create semantics. The description adds useful behavioral context, namely that the tool only links pre-existing groups rather than creating them, but it omits what happens on failure, whether the operation requires special permissions, whether it is idempotent, and that dryRun provides a preview-only path.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no filler, and the core purpose is front-loaded. The second sentence is a compressed list of the three linkage concepts, which is efficient though slightly dense; the optional notification recipients are mentioned but the ASG policies and suspend items are not.

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 tool with no output schema and near-minimal annotations, the description covers the main concepts but leaves the agent to discover dryRun, asgPolicyList, suspendRuleItems, and personalNotificationRecipients entirely from the schema. The 100% schema coverage keeps it workable, but the definition undersells important capabilities such as the preview mode.

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%, so the schema already documents all ten parameters including dryRun, asgPolicyList, and suspendRuleItems. The description's glosses ("monitor groups (targets)", "metrics groups (rule templates)") largely restate the schema's own parentheticals, adding only modest framing rather than new semantics.

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?

The description names a specific verb and resource ("Create a new Cloud Insight event rule group") and clarifies that the operation composes existing monitor groups, metrics groups, and notification recipients. It stops short of naming a sibling such as ncloud_create_rule_directly, so an agent must infer which creation path applies.

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 phrase "Links existing monitor groups ... and metrics groups" implies a prerequisite: those groups must already exist before this is called. There is no explicit when-to-use guidance, no exclusion against ncloud_copy_rule_group or ncloud_create_rule_directly, and no statement about when dryRun should be used first.

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