Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_delete_metrics_group_force

DestructiveIdempotent

Force deletes rule templates (metrics groups) and all related event rules using groups returned by ncloud_get_rules_by_metrics_group; irreversible.

Instructions

⚠️ Destructive: Force delete rule templates (metrics groups) together with ALL event rules related to them. Pass the groups as returned by ncloud_get_rules_by_metrics_group. This is irreversible.

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>",
      "groups": "<groups>"
    },
    "name": "ncloud_delete_metrics_group_force"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupsYesMetrics groups and their related event rules ([{id, ruleGroupItemDtoList}], from ncloud_get_rules_by_metrics_group)
confirmNoMust be true to execute force deletion.
prodKeyYesProduct key (cw_key)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / groups / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / groups / items / properties / ruleGroupItemDtoList / items / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. Changed4 schema fields changedv2.0.1
    • addedInput schema / properties / groups
      Added value: +{
      +  "description": "Metrics groups and their related event rules ([{id, ruleGroupItemDtoList}], from ncloud_get_rules_by_metrics_group)",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "id": {
      +        "description": "Monitor group or metrics group ID to delete",
      +        "type": "string"
      +      },
      +      "ruleGroupItemDtoList": {
      +        "description": "Event Rules related to the group (RuleGroupItemDto[], as returned by ncloud_get_rules_by_metrics_group / ncloud_get_rules_by_monitor_group)",
      +        "items": {
      +          "additionalProperties": {},
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "ruleGroupItemDtoList"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / metricsGroupId
      Removed value: -{
      -  "description": "Metrics group ID whose related rules will be deleted",
      -  "type": "string"
      -}
    • addedInput schema / properties / prodKey
      Added value: +{
      +  "description": "Product key (cw_key)",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "metricsGroupId"
      -]New value: +[
      +  "prodKey",
      +  "groups"
      +]
  3. First observedv1.10.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, so the added value here is the specific blast radius: all related event rules are deleted, not just the group, and the effect is irreversible. That is meaningful context beyond the boolean flag. It stops short of naming required permissions or how partial failures behave.

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?

Three short sentences with the destructive warning front-loaded, then the data-source instruction, then the irreversibility note. No filler and nothing buried.

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

Completeness4/5

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

For a cascading destructive mutation with no output schema, the definition covers scope, irreversibility, and where the input payload comes from. Remaining gaps are secondary: required permissions, whether the group container itself is removed, and post-delete verification.

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% and each parameter (id, ruleGroupItemDtoList, confirm, prodKey) is already documented, including the source tool for the group payload. The description's instruction to use ncloud_get_rules_by_metrics_group output largely repeats the schema, so it adds little beyond the baseline.

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?

States a specific verb ('Force delete'), the resource ('rule templates (metrics groups)'), and the cascade scope ('together with ALL event rules related to them'), which is exactly what separates it from the non-force ncloud_delete_metrics_group sibling. An agent can pick it 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 Guidelines3/5

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

Provides a procedural precondition ('Pass the groups as returned by ncloud_get_rules_by_metrics_group') but never says when to use this force variant versus the plain delete or the by-id variant, nor what condition justifies cascading rule deletion. Usage is implied rather than routed.

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