Skip to main content
Glama

analyze_alarm_frequency

Rank the most frequent alarms over a chosen look-back period and return top sources with occurrence counts to identify recurring issues.

Instructions

Rank the most frequent alarms over the last N days.

Args: days: Look-back window in days. top_n: Number of alarms to return.

Returns: Ranked sources with occurrence counts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "analyze_alarm_frequency"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
top_nNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a read-only ranking operation and states the shape of the result ("ranked sources with occurrence counts"), but says nothing about permissions, data source, timezone of the window, or cost of a large look-back.

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?

Front-loaded summary followed by short Args and Returns blocks; every line is short and scannable. The Returns block is somewhat redundant given an output schema exists, but it costs little.

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 an output schema present, return values need not be spelled out, and the two parameters are at least described. What is missing is the surrounding context an agent needs to choose this tool confidently: no sibling differentiation, no note on how the look-back window is anchored in time, and no indication of result volume.

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 0%, so the description is the only source of parameter meaning, and it does define both: days as the look-back window and top_n as the number of alarms returned. However, it omits the defaults (7 and 10) present in the schema, and 'top_n: Number of alarms' is slightly at odds with the stated return of 'ranked sources', leaving ambiguity about whether top_n limits alarms or grouped sources.

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 opens with a specific verb and resource ("Rank the most frequent alarms") plus an explicit scope ("over the last N days"), which is far more informative than the tool name alone. It stops short of naming how it differs from near-neighbours like get_alarm_statistics or get_alarm_history, so an agent still has to infer the boundary.

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 tools are mentioned. An agent cannot tell from the text whether this replaces or complements get_alarm_statistics or get_alarm_history, leaving selection to guesswork.

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