Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_create_rule_directly

Create a Cloud Insight event rule by specifying monitor targets and metric thresholds inline, so no pre-created monitor or metrics groups are required.

Instructions

Create a Cloud Insight event rule by directly specifying the monitor group (targets) and metrics group (rule template) inline, without pre-created groups.

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>",
      "monitorGroup": "<monitorGroup>",
      "metricsGroup": "<metricsGroup>"
    },
    "name": "ncloud_create_rule_directly"
  }
}

Input Schema

NameRequiredDescriptionDefault
prodKeyYesProduct key (cw_key)
groupDescNoDescription (<= 300 chars)
groupNameYesName of the rule group (1-100 chars)
asgPolicysNoVPC Auto Scaling group policies
cfTriggersNoCloud Functions trigger names
metricsGroupYesMetrics group definition (CreateOrUpdateMetricsGrpDto)
monitorGroupYesMonitor group definition (MonitorGrpDto)
classicAsgPolicysNoClassic Auto Scaling group policies
recipientNotificationsNoNotification recipient groups
personalNotificationRecipientsNoPersonal notification recipients

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / asgPolicys / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / classicAsgPolicys / items / $ref
      Removed value: -"#/properties/asgPolicys/items"
    • addedInput schema / properties / classicAsgPolicys / items / properties
      Added value: +{
      +  "autoScalingGroupNo": {
      +    "description": "Auto Scaling group number",
      +    "type": "number"
      +  },
      +  "autoScalingPolicyNo": {
      +    "description": "Auto Scaling policy number",
      +    "type": "number"
      +  },
      +  "policyName": {
      +    "description": "Auto Scaling policy name",
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / classicAsgPolicys / items / type
      Added value: +"object"
    • removedInput schema / properties / metricsGroup / additionalProperties
      Removed value: -false
    • removedInput schema / properties / metricsGroup / properties / metricsGroupItems / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / metricsGroup / properties / metricsGroupItems / items / properties / dimensions / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / monitorGroup / additionalProperties
      Removed value: -false
    • removedInput schema / properties / monitorGroup / properties / monitorGroupItemList / 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
  2. Changed13 schema fields changedv2.0.1
    • addedInput schema / properties / asgPolicys
      Added value: +{
      +  "description": "VPC 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"
      +}
    • addedInput schema / properties / cfTriggers
      Added value: +{
      +  "description": "Cloud Functions trigger names",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / cfgRuleList
      Removed value: -{
      -  "description": "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 / classicAsgPolicys
      Added value: +{
      +  "description": "Classic Auto Scaling group policies",
      +  "items": {
      +    "$ref": "#/properties/asgPolicys/items"
      +  },
      +  "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-100 chars)"
    • addedInput schema / properties / metricsGroup
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Metrics group definition (CreateOrUpdateMetricsGrpDto)",
      +  "properties": {
      +    "groupDesc": {
      +      "description": "Description (<= 300 chars)",
      +      "type": "string"
      +    },
      +    "groupName": {
      +      "description": "Name of the metrics group (1-100 chars)",
      +      "type": "string"
      +    },
      +    "metricsGroupItems": {
      +      "description": "Metric items (at least one)",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "calculation": {
      +            "description": "Aggregation of the metric",
      +            "enum": [
      +              "COUNT",
      +              "SUM",
      +              "MAX",
      +              "MIN",
      +              "AVG"
      +            ],
      +            "type": "string"
      +          },
      +          "condition": {
      +            "description": "Threshold operator (LT, LE, EQ, GE, GT)",
      +            "enum": [
      +              "LT",
      +              "LE",
      +              "EQ",
      +              "GE",
      +              "GT"
      +            ],
      +            "type": "string"
      +          },
      +          "desc": {
      +            "description": "Metric description",
      +            "type": "string"
      +          },
      +          "dimensions": {
      +            "description": "Dimension filters, e.g. [{dim:\"type\", val:\"svr\"}]",
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "dim": {
      +                  "description": "Dimension name defined in the schema (e.g. \"type\")",
      +                  "type": "string"
      +                },
      +                "val": {
      +                  "description": "Dimension value (e.g. \"svr\")",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "dim",
      +                "val"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "duration": {
      +            "description": "Duration (>= 1)",
      +            "type": "number"
      +          },
      +          "eventLevel": {
      +            "description": "Event level",
      +            "enum": [
      +              "INFO",
      +              "WARNING",
      +              "CRITICAL"
      +            ],
      +            "type": "string"
      +          },
      +          "metric": {
      +            "description": "Metric name (e.g. avg_cpu_used_rto)",
      +            "type": "string"
      +          },
      +          "metricGroupItemId": {
      +            "description": "Metric group item ID (when updating an existing item)",
      +            "type": "string"
      +          },
      +          "threshold": {
      +            "description": "Threshold value",
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "metric",
      +          "eventLevel",
      +          "condition",
      +          "calculation",
      +          "duration",
      +          "threshold"
      +        ],
      +        "type": "object"
      +      },
      +      "minItems": 1,
      +      "type": "array"
      +    },
      +    "prodKey": {
      +      "description": "Product key (cw_key) for the target service",
      +      "type": "string"
      +    },
      +    "prodType": {
      +      "description": "Product type: system (Ncloud product) or custom (Custom Schema)",
      +      "enum": [
      +        "system",
      +        "custom"
      +      ],
      +      "type": "string"
      +    },
      +    "temporaryGroup": {
      +      "default": false,
      +      "description": "true: create the Event Rule without creating a metrics group (default false)",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "prodKey",
      +    "groupName",
      +    "metricsGroupItems"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / monitorGroup
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Monitor group definition (MonitorGrpDto)",
      +  "properties": {
      +    "groupDesc": {
      +      "description": "Description of the monitor group",
      +      "type": "string"
      +    },
      +    "groupName": {
      +      "description": "Name of the monitor group",
      +      "type": "string"
      +    },
      +    "monitorGroupItemList": {
      +      "description": "Monitoring targets ([{resourceId, nrn?}])",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "nrn": {
      +            "description": "Resource NRN (Resource Manager)",
      +            "type": "string"
      +          },
      +          "resourceId": {
      +            "description": "Monitoring target resource ID (e.g. server instance number)",
      +            "type": "string"
      +          },
      +          "resourceName": {
      +            "description": "Resource name",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "resourceId"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "prodKey": {
      +      "description": "Product key (cw_key) for the target service",
      +      "type": "string"
      +    },
      +    "prodName": {
      +      "description": "Product name",
      +      "type": "string"
      +    },
      +    "temporaryGroup": {
      +      "description": "true: create the Event Rule without creating a monitor group",
      +      "type": "boolean"
      +    },
      +    "type": {
      +      "description": "Target group type: NORMAL (default) or ASG (Auto Scaling Group)",
      +      "enum": [
      +        "NORMAL",
      +        "ASG"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "prodKey",
      +    "monitorGroupItemList"
      +  ],
      +  "type": "object"
      +}
    • 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",
      -  "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"
      +}
    • removedInput schema / properties / resourceList
      Removed value: -{
      -  "description": "Array of resource dimension objects to monitor",
      -  "items": {
      -    "additionalProperties": {
      -      "type": "string"
      -    },
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "groupName",
      -  "prodKey",
      -  "resourceList",
      -  "cfgRuleList"
      -]New value: +[
      +  "prodKey",
      +  "groupName",
      +  "monitorGroup",
      +  "metricsGroup"
      +]
  3. First observedv1.10.1

TDQS

A3.6/5.0
Behavior2/5

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

Beyond destructiveHint=false, the description says little about behavior: it does not explain that monitor/metrics groups may be created unless temporaryGroup is set, nor does it cover permissions, side effects, notification dispatch, or reversibility. For a complex create operation with only one annotation, this is a major transparency gap.

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?

The definition is one front-loaded sentence with no redundant wording. It packs the resource, method, and inline-group distinction efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a 10-parameter nested create tool with no output schema and minimal annotations. The description omits important operational context, especially the temporaryGroup behavior and what gets created or changed by the call, so it is not complete enough for the tool's complexity.

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 baseline is 3. The description adds a useful mapping of monitorGroup to targets and metricsGroup to rule template, but it says nothing about prodKey, groupName, notification recipients, ASG policies, or temporaryGroup beyond what the schema already documents.

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?

The description states a specific verb and resource, 'Create a Cloud Insight event rule', and distinguishes the inline approach from workflows using pre-created groups. An agent can identify the tool's core purpose without opening the 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?

The phrase 'directly specifying the monitor group (targets) and metrics group (rule template) inline, without pre-created groups' gives clear context for when to use this tool. It does not explicitly name an alternative sibling or state when not to use it, so it stops short of full routing guidance.

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