Skip to main content
Glama

phone_hold

Idempotent

Pauses the task to keep the phone available for a person, such as entering a PIN or code, and can optionally hide the screen while they sign in.

Instructions

Keep the phone through a bounded human-in-the-loop pause inside the current task (a PIN, a prompt, a code): the idle watchdog will not release it for secs seconds (0 clears; max 14400). When the person signs in (passcode, Face ID, a code) pass private=true: the screen is not read or streamed until the hold is cleared; pass private=true again when extending, a hold without it lifts the privacy. Not for initialization, health checks or keeping the phone ready; clear it when done.

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": {
      "secs": "<secs>"
    },
    "name": "phone_hold"
  }
}

Input Schema

NameRequiredDescriptionDefault
secsYesSeconds to keep the phone (0 clears the hold; at most 14400).
privateNoThe person is signing in (passcode, Face ID, a code): nothing reads the screen until the hold ends or is cleared — screenshots, elements and live views are refused with `screen_private`.
instanceNodaemon instance name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.29.2
    • removedInput schema / description
      Removed value: -"Parameters for [`PhoneHandler::phone_hold`]."
  2. Changed3 schema fields changedv0.29.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / instance / description
      Previous value: -"Installed local instance name, such as i13 or default. Omit to use the configured daemon. No fallback on failure."New value: +"daemon instance name"
    • changedInput schema / properties / private / type
      Previous value: -[
      -  "boolean",
      -  "null"
      -]New value: +"boolean"
  3. Changed1 schema field changedv0.27.34
    • addedInput schema / properties / secs / minimum
      Added value: +0
  4. Changed1 schema field changedv0.27.3
    • addedInput schema / properties / instance
      Added value: +{
      +  "description": "Installed local instance name, such as i13 or default. Omit to use the configured daemon. No fallback on failure.",
      +  "type": "string"
      +}
  5. First observedv0.21.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare mutation/idempotency/destructiveness, so the description carries real weight here and does so: it explains the idle-watchdog interaction, the 14400-second cap, that private=true suppresses screen reads and causes screenshots/elements/live views to fail with `screen_private`, and that a later hold without private lifts the privacy. The nuance about re-passing private=true when extending is valuable. It stops short of describing what a call returns or what happens when a hold expires mid-task.

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?

The core behavior and the privacy rule are front-loaded, and the parenthetical examples make the abstract phrasing concrete. Some content duplicates the schema (0 clears, max 14400), and the clause about passing private=true again when extending is dense enough to require re-reading.

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 three-parameter mutation tool with annotations and no output schema, the definition covers the safety-relevant behavior an agent needs: how long the hold lasts, how to clear it, what privacy mode blocks, and the error code returned when the screen is private. Nothing essential to calling it correctly 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 coverage is 100%, so the schema already documents all three parameters including the 0-clears and 14400 cap. The description restates those bounds and adds one genuinely new rule: private must be re-passed when extending or the privacy is lifted. That is a modest but real addition beyond the schema, fitting a baseline-plus score.

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 and resource: keeping the phone held through a bounded human-in-the-loop pause in the current task. It distinguishes the tool from near neighbors by scoping it to a pause for PIN/prompt/code and by explicitly excluding initialization, health checks, and keeping the phone ready.

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?

Gives explicit when-to-use (a person must enter a passcode, Face ID, or a code mid-task), explicit when-not-to-use (initialization, health checks, keeping the phone ready), and a closing instruction to clear the hold when done via secs=0. The alternative behaviors are named rather than left to inference.

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