Skip to main content
Glama

dws__ListAlarmStatistic

Queries DWS alarm statistics by project ID and time zone to support monitoring and analysis of cloud alarm data.

Instructions

[DWS] 查询告警统计。

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>",
      "time_zone": "<time_zone>"
    },
    "name": "dws__ListAlarmStatistic"
  }
}

Input Schema

NameRequiredDescriptionDefault
time_zoneYes时区
project_idYes租户凭证ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it discloses nothing: not whether the call is read-only, what time window the statistics cover by default, what aggregation is returned, or whether results are scoped to a tenant or a project. For a statistics endpoint with a required tenant credential and time zone, this is a serious behavioral gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is one short clause and is not verbose, but the brevity comes from under-specification rather than discipline. It is not clearly front-loaded because it carries no structure to front-load.

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 two required parameters, no annotations, and no output schema, the description needs to explain what statistics the tool returns and how the time zone shapes the query result. It supplies none of that. The schema does cover parameter names, which is why this is not a 1.

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 both project_id ("租户凭证ID") and time_zone ("时区") documented inline, so the baseline of 3 applies. The description adds no meaning beyond the schema, e.g. what the time zone affects.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"查询告警统计" only restates the tool name (ListAlarmStatistic) in Chinese; it adds no scope, granularity, or unit of the statistics. Nothing distinguishes it from siblings like dws__ListAlarmDetail or dws__ListTablesStatistic, so an agent cannot tell which alarm-related listing to pick.

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 when-to-use or when-not-to-use guidance, and no alternative is named. The only hint about context comes from the required project_id and time_zone parameters in the schema, not from the description.

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