Skip to main content
Glama

sa__EnableAlertRule

Enables a specified alert rule in Huawei Cloud SA for a project and workspace so monitoring alerts become active.

Instructions

[SA] Enable 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>",
      "workspace_id": "<workspace_id>"
    },
    "name": "sa__EnableAlertRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesproject_id
workspace_idYesworkspace_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/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 behavioral burden, and it discloses nothing: not whether the operation is idempotent, what happens if the rule is already enabled, whether permissions are required, or whether the rule begins evaluating immediately. For a state-changing tool this is a serious omission.

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?

Four words with zero redundancy and the operation is front-loaded, so nothing needs trimming. The terseness is a symptom of under-specification rather than of disciplined concision, which caps the score at a middling level.

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 mutation tool with no annotations and no output schema, the definition leaves out everything an agent would need beyond the schema, including any rule identifier in the parameter set that would let the caller target a specific rule. It is not complete enough to call this tool confidently.

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% (both project_id and workspace_id are documented, albeit minimally, with types, lengths and examples), so the schema does the heavy lifting and the baseline of 3 applies. The description adds no meaning beyond the schema.

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?

"[SA] Enable alert rule" pairs a specific verb (enable) with a specific resource (alert rule), and the existence of a sibling DisableAlertRule makes the direction of the state change unambiguous. However, the description is essentially the tool name restated, and adds no scope information (which rule, under what conditions) beyond the title itself.

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 prerequisites, and no explicit routing to alternatives such as DisableAlertRule, ShowAlertRule, or UpdateAlertRule. The only implicit guidance comes from the verb 'enable' contrasted against the sibling names.

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