Skip to main content
Glama

get_alarm_history

Retrieve historical alarm journal entries for a specified time range, optionally filtered by source, to review past alarm events and support incident analysis.

Instructions

Get alarm journal entries for a time range.

Args: start_date: ISO-8601 start timestamp. end_date: ISO-8601 end timestamp. source_filter: Tag/source filter. max_results: Maximum events to return.

Returns: Historical alarm events.

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": {
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "get_alarm_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateYes
start_dateYes
max_resultsNo
source_filterNo*

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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 full behavioral burden, yet it discloses almost nothing: nothing about permissions needed, ordering of returned events, what happens when max_results is exceeded (truncation vs pagination), or how large a range is safe. 'Returns: Historical alarm events' is the only behavioral statement and is already implied by the name and output schema.

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 purpose sentence followed by a compact args list; no filler prose. The 'Returns' line is largely redundant given an output schema exists, but it costs only one line.

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?

An output schema exists, so return values need not be spelled out. Still, for a tool with four parameters at 0% schema coverage and no annotations, the definition leaves meaningful gaps around filter syntax, default behavior, and result-cap semantics.

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%, so the description must compensate, and it partially does: it gives the ISO-8601 format for start_date/end_date and clarifies that max_results caps events returned. However, the '*' default for source_filter is unexplained, as is whether date bounds are inclusive and what happens at the max_results cap.

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 ('Get alarm journal entries') plus scope ('for a time range'), which separates it from siblings like get_active_alarms and get_alarm_statistics. It doesn't explicitly name an alternative, but the resource distinction is clear enough to select on.

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 guidance at all: no indication of when to prefer this over get_active_alarms, query_tag_history, or get_alarm_statistics, and no stated preconditions. The only hint is the phrase 'for a time range', which merely restates the required parameters.

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