Skip to main content
Glama

Turn alarm on or off

toggle_alarm_setting
Destructive

Toggle Alarm Setting

When to use: 알람을 지우지 않고 발송만 멈추거나 다시 켤 때. use_yn 에 원하는 상태(Y=켜기, N=끄기)를 담아 보낸다.

When NOT to use: 발송 주기·시각·수신처·조건을 바꿀 때는 update_alarm_setting, 알람을 영구히 없앨 때는 delete_alarm_setting 을 쓴다. 지금 한 번 보내 보려는 용도가 아니다 — 켜도 즉시 발송되지 않는다.

Limitations: use_yn 을 주면 그 상태로 맞추고, 이미 그 상태면 아무것도 바꾸지 않는다 — 같은 요청을 다시 보내도 결과가 같다. use_yn 을 빼면 현재 상태를 반대로 뒤집어 재시도가 앞의 호출을 되돌리므로 항상 use_yn 을 보낸다. 켜면 즉시 보내지 않고 다음 발송 시각부터 저장된 수신처로 실제 발송이 나간다. 수신처가 없거나 참조 대시보드를 발송에 쓸 수 없으면 켜지지 않고 422, 그 대시보드를 읽을 권한이 없으면 403. 결과는 응답의 use_yn 이나 get_alarm_setting 으로 확인한다. 변경 기록은 마지막 수정자만 남고 되돌리기 API 는 없다 — 반대 값으로 다시 호출한다. 응답의 수신처 주소는 가려서 나온다.

Examples:

  • Q: 이 알람 잠깐 꺼줘 params: {'path': {'alarm_id': 'a1b2c3d4-0000-4000-8000-000000000000'}, 'query': {'use_yn': 'N'}}

  • Q: 꺼 둔 이 알람 다시 켜줘 params: {'path': {'alarm_id': 'a1b2c3d4-0000-4000-8000-000000000000'}, 'query': {'use_yn': 'Y'}}

Output shape: object: alarm setting after the change, with its use_yn

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>",
      "use_yn": "<use_yn>"
    },
    "name": "toggle_alarm_setting"
  }
}

Input Schema

NameRequiredDescriptionDefault
use_ynYes바꿀 상태(Y=켜기, N=끄기). 이미 그 상태면 아무것도 바꾸지 않는다. 빼면 현재 상태를 뒤집는다(웹 스위치 호환) — 그 호출은 재시도하면 되돌아간다.
alarm_idYes
project-idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=true; the description goes well beyond that by disclosing idempotent set semantics, the retry hazard of omitting use_yn (a retry reverses the prior call), the fact that enabling does not dispatch immediately, error conditions (422 for no recipients or unusable dashboard, 403 for missing read permission), the absence of any revert API, and masked recipient addresses in the response. It also explains how to verify the result (response use_yn or get_alarm_setting), which no structured field provides.

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

Conciseness3/5

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

The structure is strong and front-loaded (purpose, when-to-use, when-not, limitations, examples), but the Limitations block is dense and partly duplicates the input schema's use_yn description verbatim in meaning, and the '항상 use_yn 을 보낸다' advice is repeated after already being implied. For a three-parameter toggle, the body is longer than strictly necessary.

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

Completeness4/5

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

For a mutation tool with an output schema present, the description supplies the operational facts an agent actually needs: idempotency, retry semantics, error codes, verification path, and irreversibility handling. The only shortfall is the undocumented project-id parameter and no statement of what permission scope is required to flip an alarm at all.

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 only 33%, so the description must compensate, and it does for the critical parameter: it restates use_yn's Y/N meaning, the set-if-different behavior, and the hazard of omitting it, reinforcing the schema's own note. alarm_id is only illustrated through examples rather than explained, and the optional project-id parameter is never mentioned anywhere — that is the one real semantic gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific operation on a specific resource — changing an existing alarm's enabled state without deleting it — and explicitly names what it is not: update_alarm_setting for schedules/recipients/conditions, delete_alarm_setting for permanent removal, and preview/test-send. The examples ('잠깐 꺼줘' / '다시 켜줘') make the resource and effect unambiguous against every nearby sibling.

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

Usage Guidelines5/5

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

It has an explicit 'When to use' and 'When NOT to use' section, routes the agent to two named alternatives with the exact conditions that select them, and adds a negative case ('지금 한 번 보내 보려는 용도가 아니다 — 켜도 즉시 발송되지 않는다') that prevents a plausible misuse. This is the full when/when-not/alternative triad.

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