Skip to main content
Glama

aom__ListRangeQueryAomPromPost

Query Huawei Cloud AOM metrics using PromQL over a defined time range and return computed results at each step interval.

Instructions

[AOM] 该接口使用POST方法查询PromQL(Prometheus Query Language)在一段时间返回内的计算结果。

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": {
      "end": "<end>",
      "project_id": "<project_id>",
      "query": "<query>",
      "start": "<start>",
      "step": "<step>"
    },
    "name": "aom__ListRangeQueryAomPromPost"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYes结束时间戳(Unix时间戳格式,单位:秒)。
stepYes查询时间步长,时间区内每step秒执行一次。
queryYesPromQL表达式(参考https://prometheus.io/docs/prometheus/latest/querying/basics/)。
startYes起始时间戳(Unix时间戳格式,单位:秒)。
project_idYes租户从IAM申请到的projectid,一般为32位字符串。

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 behavioral burden. It discloses only that the call is POST-based and range-scoped; it says nothing about authentication/tenant scoping, rate limits, result size, or what the response shape is (a matrix of samples). For a 5-parameter query tool with zero annotation coverage, this is a notable gap.

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 efficient sentence with the action and scope front-loaded and no filler. It is perhaps too terse, but nothing is wasted.

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 no output schema and no annotations, the description should explain the return value (time series matrix) and the relationship to the sibling instant/GET variants. Instead it stops at restating the HTTP method and that a time range is involved, leaving the agent under-informed about results and alternatives.

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 all five parameters (start, end, step, query, project_id) are already fully documented in the schema, including units and formats. The description adds no additional parameter meaning, which is acceptable given the schema does the work — baseline 3.

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 (查询/query) and resource (PromQL calculation results) and adds the scope '在一段时间内' (over a time range), which implicitly distinguishes it from instant queries. However, it never names the sibling tools (ListRangeQueryAomPromGet, ListInstantQueryAomPromPost), so the agent must infer the range-vs-instant and GET-vs-POST split itself.

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 over the GET variant or the instant-query variants, and no stated prerequisites beyond what the schema already says. The agent is left to infer that POST should be chosen for long or complex PromQL expressions.

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