Skip to main content
Glama

lts__ListActiveOrHistoryAlarms

Queries active or historical Huawei Cloud LTS alarms with time-range, alarm-level, keyword, and pagination filters for monitoring and incident review.

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>",
      "project_id": "<project_id>",
      "type": "<type>",
      "whether_custom_field": "<whether_custom_field>"
    },
    "name": "lts__ListActiveOrHistoryAlarms"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNo排序检索条件
stepNo关键字检索条件
typeYes是活动告警还是历史告警
limitNo每页数据量
markerNo取值为上一页数据的最后一条记录的id(填写上一页数据返回得previous_marker或者next_marker值。)
searchNo关键字检索条件
end_timeNo自定义时间段结束时间(时间戳)
domain_idYesdomainIdNone
project_idYes项目ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。None
start_timeNo自定义时间段开始时间(时间戳)
time_rangeNo非自定义时间段时间范围(单位为分钟)
alarm_level_idsNo告警级别("Critical","Major","Minor","Info")
whether_custom_fieldYes是否自定义查询时间段

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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. It implies a read-only query, but says nothing about pagination behavior, time-range selection logic, required permissions, or what the response looks like. For a 13-parameter list tool with no annotations, this is a significant gap.

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?

The description is a single short sentence with no wasted wording and the [LTS] prefix plus purpose statement are front-loaded. Its brevity is efficient, though it borders on under-specification rather than excess.

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 complex 13-parameter tool with no annotations and no output schema, the description is far too sparse. It does not explain required parameters like domain_id, project_id, type, or whether_custom_field, nor does it explain how time filtering or pagination works. The schema carries parameter details, but the description leaves the agent without behavioral context.

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 parameter meanings are already documented in the input schema. The description adds no additional semantic detail about parameters such as type, whether_custom_field, time_range, start_time/end_time, or marker, so baseline 3 is appropriate.

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 ('查询告警列表' / query the alarm list), so the basic purpose is clear. However, it does not mention that it covers both active and history alarms, which is the tool's key distinction, nor does it differentiate it from other alarm-listing tools beyond the generic 'alarm list' phrase.

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 guidance on when to use this tool, when to choose active versus history alarms, or which alternatives exist. The type parameter implies a distinction, but the description itself provides no usage context or exclusions.

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