Skip to main content
Glama

Get history for one alarm

get_alarm_history
Read-only

Get Alarm History By Alarm

When to use: 알람 하나의 실행·발송 기록을 최신순으로 볼 때.

Limitations: 삭제됐거나 이 프로젝트에 없는 알람이면 404 — 같은 프로젝트의 다른 멤버가 만든 알람은 볼 수 있다. 최신순이며 한 번에 최대 100건(limit), 다음 페이지는 offset 으로 넘긴다. status 는 조건 판정(TRIGGERED 충족·OK 미충족·SKIPPED 건너뜀·ERROR 실패), delivery_status 는 수신자에게 실제로 닿았는지로 서로 다른 축이다 — 조건을 충족했어도 전달은 실패할 수 있고, null 은 발송을 시도하지 않았다는 뜻이다. 발송 본문은 포함되지 않는다. 결과 줄의 수신처 주소는 가려서 나오고, 발송 전체가 예외로 끝난 기록의 notification_results.error 는 원문 대신 alarm_notification_failed 로 나온다 — 원문 사유는 웹 이력 화면에서 본다.

Examples:

  • Q: 이 알람 지난번에 왜 안 왔어? params: {'path': {'alarm_id': 'a1b2c3d4-0000-4000-8000-000000000000'}, 'query': {'limit': 5}}

Output shape: object: {items[], total_count, limit, offset}

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

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
alarm_idYes
project-idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnly/non-destructive annotations, the description discloses 404 behavior for deleted or out-of-project alarms, cross-member visibility within a project, the 100-item cap with offset paging, the distinction between `status` (condition evaluation) and `delivery_status` (actual receipt) with `null` meaning no send was attempted, and that message bodies are excluded. It further warns that recipient addresses are masked and that failed-send errors are redacted to `alarm_notification_failed` rather than the raw reason — exactly the kind of data-shape caveat annotations cannot carry.

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?

Information is front-loaded: purpose, when-to-use, limitations, then a worked example keyed to a realistic question ('why didn't this alarm fire last time?'). The limitations block is dense but every clause carries a distinct fact; the only friction is the English/Korean mix and a slightly redundant restatement of the title in the first line.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so the description does not need to enumerate return fields, yet it still flags the non-obvious aspects of result rows (masked addresses, redacted errors) plus pagination semantics and the 404 case. For a read-only, four-parameter lookup tool this leaves no material gap an agent would trip over.

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 for four parameters. It does explain the cap on `limit` (max 100) and the paging role of `offset`, and the example shows the `alarm_id` path value, but `project-id` is never mentioned and no constraint or semantics are given for it, leaving one parameter fully undocumented.

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 header 'Get Alarm History By Alarm' and the Korean line '알람 하나의 실행·발송 기록을 최신순으로 볼 때' state a specific verb (retrieve history) and scope (a single alarm's execution/delivery records, newest first). The 'By Alarm' phrasing implicitly separates it from a bulk `list_alarm_histories`, but the description never names that sibling, so the differentiation is inferential rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'When to use' line gives a concrete trigger condition: viewing one alarm's trigger/send log in reverse chronological order. It stops short of stating when NOT to use it or pointing to the list-level alternative, so an agent must infer that a project-wide view belongs elsewhere.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources