Skip to main content
Glama

workspace__ListAlarmStatistics

Retrieves alarm counts grouped by severity level for a specified project, enabling monitoring and prioritization of alerts.

Instructions

[WORKSPACE] 返回各级别告警数。

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

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。

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 entire behavioral burden, and it discloses little. It implies a read-only aggregation but never states that explicitly, nor does it mention permissions required on project_id, whether results are scoped to the whole project or a subset, or what the severity buckets look like. With no output schema either, the burden is heavier than the one clause supports.

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?

One short sentence, front-loaded with the domain tag and the outcome. Nothing is redundant, though the extreme brevity leaves it closer to under-specified than optimally structured.

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?

This is a low-complexity, single-parameter tool whose parameter is fully documented in the schema, so the definition is nearly adequate. However, with no annotations and no output schema, the phrase '各级别告警数' is the only hint at the return shape, and scoping or permission behavior is left entirely unstated.

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?

There is a single parameter (project_id) and schema description coverage is 100%, with the schema already documenting it as '项目ID。'. The description adds no additional meaning about the parameter, so the baseline of 3 applies rather than a higher score.

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 and resource in one clause: it returns (返回) alarm counts broken out by severity level (各级别告警数). That is concrete enough for an agent to know this is a statistics/aggregation read rather than a rule or instance listing. It offers no differentiation from the many alarm-related siblings (e.g. aom__ListAlarmRule, dws__ListAlarmStatistic), which keeps it below 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?

There is no guidance on when to choose this tool over alternatives, no preconditions, and no exclusions. The only contextual cue is the '[WORKSPACE]' prefix, which implies a workspace-scoped domain but does not say when the tool applies versus the sibling statistics or alarm-listing tools.

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