Skip to main content
Glama

workspace__DeleteMetricNotifyRule

Deletes a metric notification rule in Huawei Cloud Workspace, removing the alert that sends notifications when a metric meets its configured threshold conditions.

Instructions

[WORKSPACE] 删除对应指标的通知规则;对应指标满足相应的规则条件时发送通知

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": {
      "project_id": "<project_id>",
      "rule_id": "<rule_id>"
    },
    "name": "workspace__DeleteMetricNotifyRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
rule_idYes通知规则ID。
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden for a destructive operation. It never states that the deletion is permanent or irreversible, what permissions are required, whether in-flight notifications are affected, or what the response contains. The trailing clause describes what the rule does when it exists rather than what deleting it does, which adds no behavioral context.

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

Conciseness3/5

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

The definition is short and front-loads the delete action, which is good. However, the semicolon clause explaining when notifications fire is tangential to the delete operation and does not help an agent execute the call.

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?

For a destructive tool with no annotations and no output schema, the description is thin: it omits irreversibility, permission requirements, and error/edge conditions (e.g., deleting a non-existent rule). The two well-documented parameters are the only aspect adequately covered.

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% — both project_id and rule_id are documented in the schema with constraints and an example. The description adds no additional meaning about how these identifiers are obtained or scoped, so the 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 states a specific verb (删除/delete) and resource (指标的通知规则/metric notification rule), so the operation is immediately identifiable. It does not explicitly contrast with the sibling Add/List/Update metric-notify-rule tools, though the name carries that 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 when-to-use or when-not-to-use guidance, no prerequisites, and no mention of the alternative tools (UpdateMetricNotifyRule vs DeleteMetricNotifyRule). The agent must infer that this is the removal path from the name alone.

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