Skip to main content
Glama

lts__ListSqlAlarmRules

列出华为云 LTS 中的 SQL 告警规则,用于监控日志查询问题并支持故障排查。

Instructions

[LTS] 该接口用于查询SQL告警

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

Input Schema

NameRequiredDescriptionDefault
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 provided, so the description carries the full behavioral burden, yet it only says the interface 'queries' SQL alarms. It discloses nothing about return contents, pagination, result ordering, required permissions, or whether a missing project yields an error. 'Query' implies a read, but even that is not made explicit.

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 with no wasted words, and the purpose is front-loaded. But the terseness comes at the cost of substance rather than being earned conciseness.

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 simple (one required path parameter, no output schema, no annotations), which lowers the bar, but the description still says nothing about what a caller receives or how results are scoped. For a read operation with zero structured behavioral data, more context is needed.

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%; the single project_id parameter is fully documented in the schema including a link for obtaining it. The description adds no additional meaning beyond that, so the baseline 3 applies.

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 gives a verb ('查询'/query) and a resource ('SQL告警'/SQL alarm), so the basic purpose is inferable. However, it does not differentiate this from sibling list operations such as lts__ListKeywordsAlarmRules or ces__ListAlarmRules, nor does it state the scope (per project, all rules, listing vs. filtering).

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 mention of alternatives, and no prerequisites. An agent must infer from the tool name and the single project_id parameter that this is a project-scoped list operation.

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