Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_create_metrics_group

Create a Cloud Insight metrics group to define monitored metrics, thresholds, and event levels for Naver Cloud resources, enabling rule-based monitoring.

Instructions

Create a new Cloud Insight rule template (감시 항목 그룹 / metrics group).

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>",
      "metricsGroupItems": "<metricsGroupItems>"
    },
    "name": "ncloud_create_metrics_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
prodKeyYesProduct key (cw_key) for the target service
prodTypeNoProduct type: system (Ncloud product) or custom (Custom Schema)
groupDescNoDescription (<= 300 chars)
groupNameYesName of the metrics group (1-100 chars)
temporaryGroupNotrue: create the Event Rule without creating a metrics group (default false)
metricsGroupItemsYesMetric items (at least one)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / metricsGroupItems / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / metricsGroupItems / items / properties / dimensions / items / additionalProperties
      Removed value: -false
  2. Changed7 schema fields changedv2.0.1
    • addedInput schema / properties / groupDesc
      Added value: +{
      +  "description": "Description (<= 300 chars)",
      +  "type": "string"
      +}
    • changedInput schema / properties / groupName / description
      Previous value: -"Name of the metrics group"New value: +"Name of the metrics group (1-100 chars)"
    • removedInput schema / properties / metricList
      Removed value: -{
      -  "description": "List of metric 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 before triggering",
      -        "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 / metricsGroupItems
      Added value: +{
      +  "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"
      +}
    • addedInput schema / properties / prodType
      Added value: +{
      +  "description": "Product type: system (Ncloud product) or custom (Custom Schema)",
      +  "enum": [
      +    "system",
      +    "custom"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / temporaryGroup
      Added value: +{
      +  "default": false,
      +  "description": "true: create the Event Rule without creating a metrics group (default false)",
      +  "type": "boolean"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "prodKey",
      -  "groupName",
      -  "metricList"
      -]New value: +[
      +  "prodKey",
      +  "groupName",
      +  "metricsGroupItems"
      +]
  3. First observedv1.10.1

TDQS

C2.9/5.0
Behavior2/5

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

The only annotation is destructiveHint=false, which covers little. The description does not disclose notable behavior implied by the schema, such as temporaryGroup=true creating only an Event Rule without a metrics group, validation limits, permission requirements, or whether a newly created group is immediately active.

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?

A single front-loaded sentence with the verb first and no filler; the parenthetical translation is useful rather than wasteful. Very short, but nothing in it is redundant with structured fields.

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?

The tool takes six parameters including a required array of nested metric-item objects with enums and threshold logic, has only a single weak annotation, and no output schema. For that complexity the description is far too thin — it omits the create semantics of temporaryGroup, the relationship to rule groups, and what is produced on success.

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 all six top-level parameters and the nested metricsGroupItems fields are already documented in the schema. The description adds no parameter meaning beyond restating the resource concept, so baseline 3 applies.

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 uses a specific verb ('Create') plus a specific resource ('Cloud Insight rule template (감시 항목 그룹 / metrics group)'), and the bilingual naming helps an agent match the concept to the metrics-group resource family. It does not explicitly contrast with sibling creators such as ncloud_create_rule_group or ncloud_update_metrics_group, so it stops short of full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this tool rather than ncloud_update_metrics_group or the other create_*_group siblings, and no prerequisites or preconditions are given (e.g., needing an existing prodKey/service). Usage must be inferred entirely from the name and description.

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