Skip to main content
Glama

get_alarm_statistics

Computes alarm statistics for a specified time range, returning event counts, acknowledgement rates, and the most active alarm sources to support Ignition alarm diagnostics.

Instructions

Compute alarm statistics for a time range.

Args: start_date: ISO-8601 start; defaults to 7 days ago. end_date: ISO-8601 end; defaults to now.

Returns: Event count, acknowledgement rate and most active sources.

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": "get_alarm_statistics"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateNo
start_dateNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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 non-mutating aggregation ("Compute ... statistics") and discloses the default time window behavior, but says nothing about permissions, cost over long ranges, or empty-result handling. That is more than nothing but not a full behavioral profile.

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

Conciseness5/5

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

Purpose is front-loaded in one line, followed by a compact Args block and a Returns block. Every sentence carries information; nothing is padding.

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 two-parameter aggregation with no annotations, the parameter and output coverage is adequate — and the Returns block is arguably redundant given an output schema exists. However, with zero annotation coverage the definition should still address read-only semantics and when this aggregation is the right choice, both of which are missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% — the schema only exposes two nullable string properties with bare titles — so the description must compensate, and it does: both parameters get ISO-8601 format plus explicit default behavior (7 days ago, now). It omits timezone assumptions and invalid-format handling, which keeps it below a 5.

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 first line states a specific verb and resource ("Compute alarm statistics") plus the scope ("for a time range"), which is enough to distinguish it from history/configuration siblings. It stops short of naming or contrasting with the closest sibling, analyze_alarm_frequency, which is the main ambiguity for an agent choosing among alarm tools.

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?

The description says what the tool computes but never says when to pick it over analyze_alarm_frequency, get_alarm_history, or get_active_alarms. There are no preconditions, no exclusions, and no stated intended scenario beyond the bare time-range scope.

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