Skip to main content
Glama

aom__ListRangeQueryAomPromGet

Runs PromQL range queries over a specified start/end time and step, returning calculated metric results from Huawei Cloud AOM.

Instructions

[AOM] 该接口使用GET方法查询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__ListRangeQueryAomPromGet"
  }
}

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

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden; it does disclose that the operation uses HTTP GET, which signals a safe read-style query, and that it returns calculated results. It omits permission requirements, rate limits, response format, and any caveats about project scoping.

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?

The definition is a single front-loaded sentence with no rambling or redundant clauses. The mention of the GET method is slightly redundant with the tool name ending in 'Get', but overall it is appropriately sized.

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 five-parameter, fully required query tool with no output schema and no annotations, the description covers purpose and HTTP method but not return shape, auth context, or operational constraints. The input schema compensates for parameter documentation, making it adequate but with clear gaps.

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 are already documented in the input schema, including timestamps, step, PromQL expression, and project_id. The description adds no parameter-level meaning beyond the schema, but the baseline is 3 when schema coverage is high.

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 over a time range, and the range aspect implicitly distinguishes it from instant-query siblings. It does not explicitly name an alternative sibling, 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?

The description gives no when-to-use guidance, no exclusions, and no explicit comparison to the instant-query or POST variants. The range-versus-instant distinction is only implied by the phrase '一段时间', not articulated as usage direction.

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