Skip to main content
Glama

phone_release_owner

Idempotent

Releases this session's phone lease when a task ends so another session can take control. Frees the device by stopping the automation runner unless a viewer, hold, or recording keeps it active.

Instructions

Release this session's phone lease when its task ends so another session can drive. Also frees the phone: a daemon-managed runner stops at once (the phone leaves automation mode) unless a live viewer, an active phone_hold or a recording keeps it; the next phone tool brings it back. Unlike phone_hold(secs=0) this gives up ownership. Sends no input, returns owner=null; releasing an unowned phone succeeds; another session's lease returns phone_owned and is never taken over.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "phone_release_owner"
  }
}

Input Schema

NameRequiredDescriptionDefault
instanceNodaemon instance name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.29.0
    • 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"
  2. 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"
      +}
  3. First observedv0.21.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare non-read-only, non-destructive, idempotent, closed-world; the description adds real behavioral context: the daemon-managed runner stops immediately, the phone leaves automation mode unless a live viewer, active phone_hold or recording retains it, and the next phone tool restores it. It also discloses the return value (owner=null) and the ownership-conflict outcome (phone_owned), consistent with destructiveHint=false since the effect is reversible.

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?

Front-loaded with the core purpose in the first clause, and every subsequent clause carries distinct information (automation-mode exit, retention conditions, distinction from phone_hold, return value, edge cases). The second sentence is a dense run-on with nested parentheticals and semicolons that could be broken into bullets, but 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 one-optional-param mutation with no output schema, the description covers side effects, reversibility, return value, idempotency behavior, and the cross-session ownership conflict resolution. Nothing an agent needs to invoke it safely 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?

The single `instance` parameter is 100% described in the schema as 'daemon instance name', so the schema carries the burden. The description adds no meaning about the instance parameter (e.g., default instance behavior when omitted, or what happens with an unknown instance), 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?

Opens with a specific verb and resource ('Release this session's phone lease') plus the motivation ('so another session can drive'), and explicitly contrasts itself with phone_hold(secs=0). An agent can distinguish it from the hold/lease family without reading any schema.

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 the triggering condition ('when its task ends'), names the alternative behavior to avoid (phone_hold(secs=0) 'gives up ownership' as opposed to this), and states the when-not case: another session's lease returns phone_owned and is never taken over. Releasing an unowned phone succeeding is also spelled out.

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