Skip to main content
Glama

sa__ShowAlertRule

Retrieves a Huawei Cloud alert rule by project, workspace, and rule ID so you can inspect its configuration and status.

Instructions

[SA] Get 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__ShowAlertRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
rule_idYesrule_id
project_idYesproject_id
workspace_idYesworkspace_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/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 disclosure burden, and it discloses nothing about permissions required, whether the call is read-only, what happens when a rule ID is missing or inaccessible, or what the response contains. Only the word "Get" weakly implies a read operation.

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 phrase with zero filler, so nothing needs trimming. However, its brevity reflects under-specification rather than disciplined economy.

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?

A three-required-parameter retrieval tool with no annotations and no output schema needs the description to explain at least what comes back and what access is needed. Neither is covered, leaving the agent unable to predict the result shape or failure modes.

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% with all three parameters (rule_id, project_id, workspace_id) documented as path parameters with format constraints and examples. The description adds no meaning beyond that, so the baseline of 3 applies.

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 reads "Get alert rule," which is essentially a restatement of the tool name ShowAlertRule. The only added token is the "[SA]" prefix, which is an undocumented service tag an agent cannot resolve. It does not distinguish this single-rule fetch from siblings such as sa__ListAlertRules, sa__ShowAlert, or sa__ShowAlertRuleTemplate.

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?

No when-to-use guidance is given, no prerequisites, and no pointer to alternatives like ListAlertRules for enumeration or ShowAlertRuleTemplate for template lookups. The agent must infer from the name alone that this retrieves one rule by ID.

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