Skip to main content
Glama

aom__PushEvents

Reports events and alarms to Huawei Cloud AOM for a project; set action=clear to clear alarms instead of reporting.

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": {
      "events": "<events>",
      "project_id": "<project_id>"
    },
    "name": "aom__PushEvents"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNo接口请求动作。action=clear代表清除告警,不传或者传其他值默认为上报动作。
eventsYes事件或者告警详情。
project_idYes租户从IAM申请到的projectid,一般为32位字符串。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and provides almost none: nothing on write/mutation semantics, idempotency when re-reporting the same event id, default 3-day auto-clear unless timeout is set, rate limits, or what the call returns. The only behavioral detail in the whole definition (action=clear switching the tool from report to alarm-clearing) appears solely in the schema, not the description.

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?

A single short sentence with no wasted words, but it is terse to the point of under-specification for a write endpoint that ingests a nested array of event objects. Front-loading is fine; content is thin.

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?

This is a mutation/ingestion tool with no annotations and no output schema, and its most consequential behavior — the action=clear mode that removes alarms, plus the default 3-day expiry — is never surfaced in the description. For a 3-parameter write endpoint with a rich nested payload, the description leaves an agent without enough to call it correctly in the clear-alarm case.

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%, so the schema already documents project_id, events, and the action enum thoroughly. The description adds no parameter-level meaning of its own, which is the expected baseline of 3 when the schema does the heavy lifting.

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 (上报 / report) and resource (事件、告警 / events and alarms) scoped to the corresponding user, so an agent can tell it is an ingestion endpoint. It does not differentiate itself from sibling write endpoints such as ces__CreateEvents or aom__AddEvent2alarmRule, 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 guidance on when to call this tool versus the many sibling event tools, no prerequisites (e.g., that project_id comes from IAM), and no mention that the very same tool can clear alarms via action=clear. The agent must infer everything from the name and schema.

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