Skip to main content
Glama
kirisawa-subaru

miband-health-mcp

set_band_alarm

Destructive

Set or update a Mi Band alarm by time and weekday, preserving other alarms and verifying the write with a read-back.

Instructions

Create or update one band alarm, preserving other alarms and verifying by read-back.

time is HH:MM in the band's local wall clock. weekdays uses ISO Monday=1..Sunday=7; [] means once, all seven means daily. Omit alarm_id to create; provide a listed ID to update that existing alarm. Supply the complete desired time/weekdays/enabled values. timezone labels the wall clock; it does not change the band's timezone. A lost write response is reconciled by reading back, never by blindly repeating the write. timeout_seconds: 5..90.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeYes
enabledNo
alarm_idNo
timezoneNo
weekdaysYes
timeout_secondsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.8/5.0
Behavior5/5

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

The description adds substantial behavioral detail beyond the annotations: it preserves other alarms, verifies by read-back, reconciles lost writes without blindly retrying, and clarifies that timezone labels the wall clock without changing the band's timezone. This is exactly the kind of context an agent needs beyond readOnly/destructive hints.

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?

The description is dense but every sentence carries necessary operational detail. It is front-loaded with the main action, then systematically covers time, weekdays, alarm_id, timezone, write reconciliation, and timeout. No filler or redundancy.

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?

Given six parameters, no schema descriptions, and only basic annotations, this description provides complete guidance for calling the tool correctly. It covers create vs. update, value semantics, edge cases like one-time vs. daily alarms, and failure handling. An output schema exists, so return-value details are not required.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description compensates fully: it explains time format (HH:MM), weekday numbering (ISO 1=Monday..7=Sunday), the meanings of [] and all seven days, the role of alarm_id, timezone semantics, and the timeout range 5..90. This is strong semantic guidance for every meaningful parameter.

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 action ('Create or update one band alarm') with a clear resource and scope. It also distinguishes itself from siblings like set_band_reminder by focusing on band alarms, and from delete_band_schedule by covering create/update rather than deletion.

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?

It clearly explains when to create vs. update: omit alarm_id to create, provide a listed ID to update. It gives context on preserving other alarms and using complete desired values, though it does not explicitly name alternative tools or when not to use this one.

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