Skip to main content
Glama

drs__CleanAlarms

Clears DDL alarms for a Data Replication Service job by specifying the project, job, and alarm IDs, helping remove resolved DDL warnings from monitoring.

Instructions

[DRS] 清除DDL告警

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": {
      "alarm_id": "<alarm_id>",
      "job_id": "<job_id>",
      "project_id": "<project_id>"
    },
    "name": "drs__CleanAlarms"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes任务ID。
alarm_idYesDDL序列号。
project_idYes租户在某一Region下的Project ID。 获取方法请参见[获取项目ID。](https://support.huaweicloud.com/api-drs/drs_api_0106.html)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it discloses nothing beyond the action itself. It does not say whether clearing is permanent or irreversible, whether DDL alarms re-trigger, what permissions are required, or whether the job_id job must be in a specific state — all critical for a destructive-sounding operation.

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 single phrase is as short as possible and front-loads the action, with zero wasted words. But the brevity reflects under-specification rather than disciplined conciseness — it is too small for a mutation tool with three required path parameters.

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 three-parameter mutating operation with no annotations and no output schema, the description is far too thin. The agent has no information on irreversibility, error conditions, or expected outcome, so completeness is inadequate relative to 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?

All three parameters (alarm_id, job_id, project_id) are fully described in the schema at 100% coverage, including how to obtain the project ID, so the baseline is 3. The description adds no additional meaning about how these identifiers relate to the clear operation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"清除DDL告警" names a concrete verb (清除) and resource (DDL告警) scoped to DRS, so the basic action is discernible. However, it is the entire description and gives no hint about scope (single alarm vs. batch) or how it differs from the numerous sibling alarm tools such as lts__DeleteActiveAlarms or ces__ListAlarms.

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 guidance, no prerequisite conditions (for example, whether the alarm must be in a particular state), and no mention of alternatives despite many alarm-related siblings existing. The agent must infer the appropriate context entirely on its own.

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