Skip to main content
Glama

lts__DeleteActiveAlarms

Deletes active Log Tank Service alarms for specified events using domain and project IDs, helping clear resolved or unwanted alerts from monitoring.

Instructions

[LTS] 该接口用于删除活动告警

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": {
      "domain_id": "<domain_id>",
      "events": "<events>",
      "project_id": "<project_id>"
    },
    "name": "lts__DeleteActiveAlarms"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventsYes主题信息
domain_idYesdomainIdNone
project_idYes项目ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。None

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 supplied, so the description bears the full disclosure burden, yet it says nothing about the fact that this is an irreversible mutation, whether a domain or project admin role is required, or whether events are validated first. It only restates the operation, leaving destructive behavior and permission requirements undisclosed.

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?

One short sentence, front-loaded and free of padding, so it is not verbose. But its brevity reflects under-specification rather than efficient communication, so it earns only an adequate score.

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 is a batch delete taking a nested array of event objects with eight required metadata fields, with no annotations and no output schema. For that complexity, a single sentence stating the purpose is far too thin, and key facts such as partial-failure behavior and required permissions are absent.

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 schema already documents domain_id, project_id, and every nested event metadata field, which is the baseline for a score of 3. The description adds no meaning beyond the schema, such as whether events are matched by event_id or by the full metadata tuple.

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?

The description states a specific verb and resource ("删除活动告警" / delete active alarms), which tells the agent what the tool does. However, it offers no differentiation from closely related siblings such as lts__ListActiveOrHistoryAlarms, lts__DeleteKeywordsAlarmRule, or lts__DeleteSqlAlarmRule, so the boundary between deleting alarm instances and deleting alarm rules is left to inference.

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?

The description provides no guidance on when to use this tool rather than the neighboring alarm-deletion or alarm-rule-deletion tools, and it gives no prerequisites, exclusions, or warning about when not to call it. An agent must guess based on 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