Skip to main content
Glama

aom__ShowMetricsData

Queries Huawei Cloud AOM monitoring metric data for a specified time range, with configurable dimensions, data granularity, and statistics.

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": {
      "metrics": "<metrics>",
      "period": "<period>",
      "project_id": "<project_id>",
      "statistics": "<statistics>",
      "timerange": "<timerange>"
    },
    "name": "aom__ShowMetricsData"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodYes监控数据粒度。取值范围(枚举):60(表示粒度为1分钟),300(表示粒度为5分钟),900(表示粒度为15分钟),3600(表示粒度为1小时)。
metricsYes指标对象列表。
fillValueNo用于对查询到的监控数据进行断点插值,默认值为-1。-1
timerangeYestimeRange用于指标查询时间范围,主要用于解决客户端时间和服务端时间不一致情况下,查询最近N分钟的数据。另可用于精确查询某一段时间的数据。
project_idYes租户从IAM申请到的projectid,一般为32位字符串。
statisticsYes统计方式。

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, yet it discloses nothing about permissions, result limits, cost/rate limits, pagination, or what happens when the time range is invalid or too wide. It implies a read-only query but never states it, and gives no detail on return shape or error behavior.

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, front-loaded sentence with no filler or repetition. However, it is arguably too terse for a 6-parameter query tool with a nested metrics array, leaving no room for the operational caveats that matter.

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?

With 5 required parameters, a nested metrics/dimensions structure, no annotations, and no output schema, the description underspecifies the tool substantially. It says nothing about the statistics array semantics, fillValue interpolation behavior, or the relationship between timerange and period, all of which an agent needs to call this correctly.

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 enums for period and detailed per-field descriptions for namespace, dimensions, and metricName, so the schema already does the heavy lifting. The description only echoes 'dimensions' and 'data period' at a high level and adds no meaning beyond the schema, making the baseline 3 appropriate.

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 names a specific verb and resource: query monitoring data for metrics within a given time range, with selectable dimensions and period. It is clear what the tool does, but it never distinguishes itself from near-identical siblings such as ces__ShowMetricData or dws__ListMetricsData.

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 use this tool versus the many sibling metric-query tools, no prerequisites (e.g., required IAM project access), and no statement of when not to use it. Usage is only implied by the one-line purpose statement.

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