Skip to main content
Glama

get_active_alarms

Retrieve currently active Ignition alarms and their count, filtered by source, state, or priority, to quickly identify and respond to operational issues.

Instructions

Get currently active alarms.

Args: source_filter: Tag/source filter (* for all). state_filter: Alarm state filter (* for all). priority_filter: Optional priority filter. max_results: Maximum alarms to return.

Returns: Active alarm entries and their count.

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_active_alarms"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_resultsNo
state_filterNo*
source_filterNo*
priority_filterNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/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 full behavioral burden and does little with it. It never says whether results are truncated at max_results (default 1000), whether filters combine with AND semantics, or what happens when a filter matches nothing; only the implied read-only nature comes through.

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 short docstring with the purpose front-loaded and the Args/Returns blocks scannable. The Returns block is largely redundant with the output schema, but otherwise there is little waste.

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 four optional parameters, zero annotation coverage and an existing output schema, the definition covers purpose, each parameter and the return shape, which is the minimum viable set. It is still incomplete on the operationally important points of result truncation and legal filter values.

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 0%, and the description does step in by explaining each of the four parameters, including the '*' wildcard convention that the schema does not convey. However it gives no value format or valid set for state_filter and priority_filter, and never mentions the 1000 default for max_results, so it only partly compensates for the coverage gap.

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 and resource plus a scope qualifier ('currently active'), which implicitly separates it from get_alarm_history and get_alarm_statistics. It does not name or explicitly contrast with those siblings, so differentiation is left to inference.

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?

The word 'active' implies when this is appropriate versus historical alarm tools, but there is no explicit when-to-use statement, no exclusion, and no named alternative. An agent must infer the routing from the sibling list rather than from the text.

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