Skip to main content
Glama

iph_dnd

Turns Do Not Disturb on before a task and restores the previous Focus state when done, so notification banners cannot intercept taps on the iPhone.

Instructions

Do Not Disturb on the phone, so a notification banner cannot take a tap. "on" before the work, "off" when it is done (puts back the Focus that was on).

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": {
      "action": "<action>"
    },
    "name": "iph_dnd"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose two non-obvious behaviors: that DND suppresses notification banners that would otherwise steal a tap, and that "off" restores the prior Focus rather than simply clearing state. That restoration detail is exactly the kind of side-effect disclosure a caller needs. It omits persistence scope (phone-wide vs this session only) and what an interrupted run leaves behind.

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?

Two short clauses, front-loaded with the capability and followed by the operational rule. The rationale sentence earns its place by explaining why a caller should bother, and there is no padding or repetition.

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 single-enum-parameter toggle with no output schema and no annotations, the definition covers purpose, when to set each state, and the key side effect. The remaining gap is the unaddressed "status" mode and what state it reports, which matters because there is no output schema to describe the return value.

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 defines the semantics of "on" and "off", including the restore-on-off behavior. However the enum also accepts "status", which the description never explains or even alludes to, leaving one of three values undocumented in both schema and prose.

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: turn Do Not Disturb on/off on the phone, plus the reason (a notification banner cannot take a tap). An agent can immediately tell this is a device-state toggle rather than an app/tap/scroll action like the sibling tools. It stops short of naming any sibling it might be confused with, which keeps it from a 5.

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?

"on" before the work, "off" when it is done gives explicit sequencing guidance a caller can act on, and it flags that turning off restores the Focus that was previously active. No exclusions or failure conditions are mentioned, and the "status" mode is never addressed as a usage path.

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