Skip to main content
Glama

lts__UpdateAlarmRuleStatus

Updates a Huawei Cloud LTS alarm rule's status to RUNNING or STOPPING by rule ID and project ID, letting you enable or suspend alerting as needed.

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": {
      "alarm_rule_id": "<alarm_rule_id>",
      "project_id": "<project_id>",
      "status": "<status>",
      "type": "<type>"
    },
    "name": "lts__UpdateAlarmRuleStatus"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes类型
statusYes状态(RUNNING/STOPPING)
project_idYes
alarm_rule_idYes告警规则ID

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 carries the full behavioral burden, yet it only says the status changes. It does not state that this is a mutation, whether the change is reversible, whether STOPPING suspends evaluation of the rule, or whether any permission or state precondition applies.

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?

A single short phrase is technically waste-free and the action is front-loaded, but it is terse to the point of under-specification rather than genuinely concise. There is no structure beyond the verb-object.

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 four-required-parameter mutation tool with no annotations, no output schema, and no return-value documentation, one sentence is not enough. The agent lacks any signal about side effects, idempotency, or the meaning of the RUNNING/STOPPING transition.

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 coverage is 75% and the schema already documents type, status (RUNNING/STOPPING), and alarm_rule_id; only project_id lacks a description. The description adds no parameter meaning at all, so the schema does the work and the baseline of 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 'Change alarm rule status' gives a generic verb plus resource, but '[LTS]' is only a product tag and nothing distinguishes this from sibling updaters such as lts__UpdateKeywordsAlarmRule or lts__UpdateSqlAlarmRule. An agent can guess the intent but not which alarm-rule flavor it applies to.

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 the alternative update tools in the LTS family, and no prerequisite such as needing the rule to exist or the project to be accessible. The agent must infer everything from the name.

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