Skip to main content
Glama

Turn an alarm on or off

turn_alarm_on_off
Idempotent

Turns an alarm on or off without changing anything else about it. Keeps the alarm and everything on it; deleting is permanent and separate. Works on alarms the person made and ones they joined; for a joined alarm it only changes whether it rings for them. Returns the alarm as it is now.

Input Schema

NameRequiredDescriptionDefault
idYesThe alarm's id.
onYestrue to turn it on, false to turn it off.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare write/idempotent/non-destructive, but the description adds real behavioral context beyond them: it keeps the alarm and all its contents, deleting is permanent and separate, and for a joined alarm it only toggles ringing for that user. It also discloses the return ('the alarm as it is now'). This is exactly the extra context 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.

Conciseness5/5

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

Four short sentences, each carrying distinct information (scope, preservation, scope of access, return). The core action is front-loaded and there is no filler.

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?

For a two-parameter toggle with full schema coverage and confirming annotations, the description supplies everything an agent needs: what changes, what is preserved, who it applies to, and the return shape. Nothing material is missing.

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 100%, so both parameters ('id' and 'on') are already fully documented in the schema. The description adds no syntax or format detail beyond restating the on/off toggle, so the baseline 3 applies.

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?

States a specific verb+resource ('Turns an alarm on or off') and immediately narrows scope ('without changing anything else about it'), which cleanly distinguishes it from update_alarm and delete_alarm. An agent can tell what it does without opening the schema.

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?

Gives clear usage context by noting it works on both owned and joined alarms, and that deleting is 'permanent and separate' – implicitly steering away from delete_alarm. It stops short of explicitly naming the alternative tools or stating when-not-to-use conditions, so it is a strong 4 rather than a 5.

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.