Skip to main content
Glama

aom__ShowAlarmRule

Retrieves details for a single AOM threshold alarm rule using its rule ID and project ID, so you can inspect monitoring rule configuration and status.

Instructions

[AOM] 该接口用于查询单条阈值规则。

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>"
    },
    "name": "aom__ShowAlarmRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes租户从IAM申请到的projectid,一般为32位字符串。
alarm_rule_idYes阈值规则ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 disclosure. It never states that this is a non-mutating read, what happens if the rule ID does not exist, whether permissions beyond project membership are required, or what the response contains. Only the bare word 'query' signals the read-only nature.

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?

It is a single short sentence with no filler and the resource is front-loaded after the bracketed service tag. However, that brevity comes at the cost of under-specification rather than tight editing.

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?

This is a simple two-parameter lookup tool with no output schema, so the bar is modest. Still, the description says nothing about return contents, error behavior on a missing rule, or how it relates to the list/create/delete siblings, leaving real gaps for an agent.

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%, and both required parameters (project_id, alarm_rule_id) are documented in the input schema, so the baseline is 3. The description adds no extra meaning about parameter format, ID provenance, or scoping beyond what the schema already says.

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 (查询) a single (单条) threshold rule (阈值规则). 'Single' implicitly distinguishes it from the sibling list operation aom__ListAlarmRule, so an agent can identify the intended resource. It does not name a sibling outright, so it falls short of a 5.

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 explicit when-to-use guidance, no mention of alternatives such as aom__ListAlarmRule for multiple rules or aom__ShowActionRule for a different rule type, and no stated preconditions. At best, usage is implied by the phrase 'query a single threshold rule'.

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