Skip to main content
Glama

ces__ShowAlarm

Retrieves Huawei Cloud CES alarm rule details by alarm ID and project ID so you can inspect alert configuration and diagnose monitoring issues.

Instructions

[CES] 根据告警ID查询告警规则信息。

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_id": "<alarm_id>",
      "project_id": "<project_id>"
    },
    "name": "ces__ShowAlarm"
  }
}

Input Schema

NameRequiredDescriptionDefault
alarm_idYes告警规则的ID。
project_idYes项目编号。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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 burden of behavioral disclosure. It does not state that the operation is read-only, what happens if the alarm ID does not exist, whether permissions on project_id are required, or what the response contains. Only the minimal query semantics can be inferred from the wording.

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?

A single short sentence, front-loaded with the resource and the keying parameter, with no filler. It is efficient, though its brevity borders on under-specification rather than deliberate concision.

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

Completeness3/5

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

For a simple two-parameter, read-only lookup with full schema coverage and no output schema, the description covers the core purpose. It falls short on error behavior, permission requirements, and return expectations, which an agent would need when invoking it without any annotations to rely on.

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 alarm_id and project_id both documented in the schema, so the baseline is 3. The description adds nothing beyond the schema, such as the expected ID format or what happens when project_id and alarm_id mismatch.

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

Purpose4/5

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

The description states a specific verb and resource: query alarm rule information by alarm ID. This distinguishes it implicitly from the list-style siblings (ListAlarmRules, ListAlarmTemplates), though it never names an alternative. The naming mismatch between 'ShowAlarm' and 'alarm rule information' in the description is not resolved, leaving a slight ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'according to alarm ID query' implies this is the single-record detail lookup, as opposed to a list operation, but this is only implied. No prerequisites, no when-not-to-use, and no explicit routing to ListAlarmRules or ShowAlarmRule are provided.

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