Skip to main content
Glama

sa__UpdateAlertRule

Update an existing alert rule's query, severity, schedule, triggers, or status in Huawei Cloud SA to keep monitoring thresholds aligned with current needs.

Instructions

[SA] Update alert rule

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>",
      "rule_id": "<rule_id>",
      "workspace_id": "<workspace_id>"
    },
    "name": "sa__UpdateAlertRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoquery
statusNostatus. ENABLED, DISABLEDENABLED
rule_idYesrule_id
scheduleNo
severityNoseverity. TIPS, LOW, MEDIUM, HIGH, FATALTIPS
triggersNotriggers
rule_nameNorule_name
alert_typeNoalert_type
project_idYesproject_id
query_typeNoquery_type. SQL, CBSL.SQL
simulationNosimulation
descriptionNodescription
suppressionNosuppression
workspace_idYesworkspace_id
event_groupingNoevent_grouping
accumulated_timesNoaccumulated_times
custom_propertiesNocustom_properties

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden for a 17-parameter mutation tool, and it discloses nothing. It does not explain merge vs. replace semantics, permission or scope requirements, side effects on active alerts, or the meaning of the "simulation" and "suppression" flags that default to true.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three words contain no filler, but the brevity reflects under-specification rather than concision. The "[SA]" prefix is noise and there is no structure to help an agent parse intent or scope.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 17 parameters, nested objects, no annotations, and no output schema, this description is far too thin. An agent learns nothing about the update semantics, required scope, or the effect of the defaulted simulation/suppression flags before committing a mutation.

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 94%, so the schema already documents all 17 parameters, including nested schedule and triggers objects, and the definition adds no further meaning. The baseline of 3 applies when the schema does the heavy lifting and the description contributes nothing extra.

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

Purpose2/5

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

The description is only "[SA] Update alert rule", which is essentially a literal restatement of the tool name UpdateAlertRule. It states a verb and resource, but adds no information about what an update actually changes, and nothing distinguishes it from siblings like EnableAlertRule, DisableAlertRule, or UpdatePlaybookRule.

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 versus the many sibling alert-rule tools; the definition only implies usage through the word "Update". It never says whether this is a full replacement or a partial edit, nor when Enable/Disable should be preferred.

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