Skip to main content
Glama

phone_type

Destructive

Type Unicode text into the focused iPhone field after tapping the target element, then verify the field before submitting to prevent text landing in the wrong place.

Instructions

Type Unicode text into the focused field (focus it with phone_tap_element first; phone_key for editing keys). Text may replace a selection or land in the wrong field if focus moved. Long text is chunked; budget_ms (6000..15000) may stop at a safe boundary and return a single-use continue_token: continue with only that token. On partial failure read characters_confirmed and remaining_text; never resend the whole value blindly. Verify the field before submitting; unknown outcome ≠ nothing typed.

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_type"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoUnicode text to start typing, up to 20000 scalars. Omit when continuing.
clearNoClear the bound field first. Never combine with continue_token.
observeNoDefault true: reply with the settled screen (delta since your last look, or the full tree); false = bare action, fastest.
instanceNodaemon instance name
budget_msNoOptional typing budget, 6000..15000 ms, requiring a named owner and inputContinuation.
continue_tokenNoSingle-use token from a safe chunk boundary. Pass without text, clear or budget_ms.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.29.2
    • removedInput schema / description
      Removed value: -"Parameters for [`phone_type`]."
  2. Changed8 schema fields changedv0.29.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / budget_ms / type
      Previous value: -[
      -  "integer",
      -  "null"
      -]New value: +"integer"
    • changedInput schema / properties / clear / type
      Previous value: -[
      -  "boolean",
      -  "null"
      -]New value: +"boolean"
    • changedInput schema / properties / continue_token / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • 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 / observe / description
      Previous value: -"Default true: return the settled screen change after a completed action."New value: +"Default true: reply with the settled screen (delta since your last\nlook, or the full tree); false = bare action, fastest."
    • changedInput schema / properties / observe / type
      Previous value: -[
      -  "boolean",
      -  "null"
      -]New value: +"boolean"
    • changedInput schema / properties / text / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
  3. Changed8 schema fields changedv0.27.34
    • addedInput schema / properties / budget_ms
      Added value: +{
      +  "description": "Optional typing budget, 6000..15000 ms, requiring a named owner and inputContinuation.",
      +  "maximum": 15000,
      +  "minimum": 6000,
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / clear
      Added value: +{
      +  "description": "Clear the bound field first. Never combine with continue_token.",
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / continue_token
      Added value: +{
      +  "description": "Single-use token from a safe chunk boundary. Pass without text, clear or budget_ms.",
      +  "maxLength": 64,
      +  "minLength": 64,
      +  "pattern": "^[0-9a-f]{64}$",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • removedInput schema / properties / observe / default
      Removed value: -null
    • changedInput schema / properties / observe / description
      Previous value: -"Default true: return what the screen settled to (as on phone_tap).\n`false` for the fastest bare action."New value: +"Default true: return the settled screen change after a completed action."
    • changedInput schema / properties / text / description
      Previous value: -"Unicode text to send through the device-side input service. Focus the\nintended field and verify it before typing. Up to 20000 characters;\ntext over 200 is typed in chunks (about a minute per 3000 characters),\nand a failure part-way reports `characters_confirmed` and\n`remaining_text` with retry_safe=false — then type only the rest."New value: +"Unicode text to start typing, up to 20000 scalars. Omit when continuing."
    • changedInput schema / properties / text / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / required
      Removed value: -[
      -  "text"
      -]
  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. Changed1 schema field changedv0.22.4-glama.1
    • addedInput schema / properties / text / maxLength
      Added value: +20000
  6. First observedv0.21.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare the destructive, non-idempotent, open-world profile, and the description adds substantive context: text may replace a selection or land in the wrong field if focus moved, long text is chunked, budget_ms can halt at a safe boundary, and partial failures surface characters_confirmed/remaining_text. The only gap is that these return fields are never formally documented anywhere (no output schema), so their shape must be inferred.

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-loads purpose and primary alternative in the first clause, then layers caveats in decreasing priority. Dense with parentheticals and semicolons, but nearly every clause carries operational information; slightly more compressed than it needs to be for easy scanning.

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 destructive, non-idempotent input tool with no output schema, the description covers focus preconditions, chunking, budget limits, continuation tokens, partial-failure recovery, and verification before submit. An agent has enough to call it safely and to recover from an ambiguous outcome.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description goes further by explaining the mutual exclusivity of text/clear/budget_ms with continue_token and that continuation takes only the token. Much of this restates the schema property descriptions, particularly the budget_ms owner/inputContinuation requirement, which limits the added value.

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 target ('Type Unicode text into the focused field') and immediately distinguishes itself from siblings by naming phone_tap_element as the focusing prerequisite and phone_key for editing keys. An agent can pick between these tools from the description alone.

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?

Explicit when-to-use and when-not-to-use guidance: focus first with phone_tap_element, use phone_key for editing keys, use continue_token rather than resending text, and never resend the whole value blindly after a partial failure. The continuation protocol is spelled out rather than implied.

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