Skip to main content
Glama

aom__ListInstantQueryAomPromGet

Query PromQL expressions at a specific Unix timestamp to retrieve instant metric results for Huawei Cloud AOM projects. Use it to evaluate current or historical metric values at a point in time.

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": {
      "project_id": "<project_id>",
      "query": "<query>"
    },
    "name": "aom__ListInstantQueryAomPromGet"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeNo指定用于计算 PromQL 的时间戳,(Unix时间戳格式,单位:秒)。
queryYesPromQL表达式(参考https://prometheus.io/docs/prometheus/latest/querying/basics/)。
project_idYes租户从IAM申请到的projectid,一般为32位字符串。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden, and it adds little: GET hints at a read, but nothing is said about the shape of the returned data (instant vector vs. matrix), how empty or invalid PromQL is handled, or any limits on query cost. With no output schema, the missing return-format information is a real gap for a data-retrieval tool.

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 no waste, front-loading the cloud service tag and the core action. It is arguably under-specified rather than verbose, but nothing in it is redundant or padded.

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 three-parameter read-only PromQL query with a fully documented schema, the description covers the essential purpose. However, with no annotations and no output schema, it should say more about what comes back and how to interpret an instant query result, which an agent needs in order to use the response 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%, so all three parameters (project_id, query, time) are already documented with format hints in the schema. The description adds no parameter-level meaning beyond what the schema provides, which matches the baseline 3 when the schema does the work.

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?

States a specific verb and resource: query PromQL computed results at a specific point in time, using GET. The phrase '特定时间点' (single instant) implicitly separates it from the range-query siblings, and 'GET' separates it from the Post sibling, so the agent can tell it apart. It stops short of explicitly naming instant vs. range, which keeps it from 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The point-in-time framing implies when this tool applies versus a range query, but no explicit when-to-use, when-not-to-use, or alternative routing is given. Choosing GET vs. the Post sibling is left entirely to the agent. Usage is only implied.

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