Skip to main content
Glama

aom__ListInstantQueryAomPromPost

Queries Huawei Cloud AOM metrics by evaluating a PromQL expression at a specific Unix timestamp for a project, returning the instant query result.

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

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.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the HTTP method (POST) and implies a read-only query, but omits what happens on errors, pagination/response shape, and permission requirements — meaningful gaps for a query endpoint with zero annotation coverage.

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, front-loaded sentence with no wasted wording. It states the HTTP method, the query language, and the temporal scope efficiently, though it could have used the space to note the GET/range alternatives.

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?

With no output schema, the description should say what a successful query returns, and it does not. For a 3-parameter read tool with 100% schema coverage it is minimally adequate, but the absence of return-value context and sibling routing leaves it incomplete.

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 coverage is 100%, so the schema already documents project_id, query, and time. The description adds only that PromQL is the query language and the time is a specific instant, which is largely redundant with the schema's own field descriptions. Baseline 3 applies.

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 (query/POST) and resource (PromQL instant query result at a specific point in time). The phrase "特定时间点" (specific point in time) implicitly distinguishes it from range queries, but the description never names the GET variant or explains the POST/GET distinction, so sibling differentiation is only partial.

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?

Usage is only implied by the term "instant query" and "POST method." There is no explicit when-to-use guidance, no mention of when to prefer the GET variant (aom__ListInstantQueryAomPromGet) or the range variant (aom__ListRangeQueryAomPromPost), and no preconditions such as auth or rate limits.

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