Skip to main content
Glama

type_text

Types text into the focused mobile input field, including Unicode characters and emoji; on Android, non-ASCII text is inserted via clipboard paste.

Instructions

Type text into the currently focused input field. Full Unicode support: non-ASCII text (accents, emoji) is delivered via clipboard paste on Android.

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": {
      "text": "<text>"
    },
    "name": "type_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesText to type
verifyNoRe-read the focused field afterwards and warn if the text did not land. Default: true
observeNoCapture screen state after the action. "on_change" returns the first tree that differs — catches a toast a fixed delay would miss. Default: none
platformNoTarget platform. Inferred if omitted.
device_idNoDevice ID. Omit for the connected device.
observe_delay_msNoMs to wait before observing. Default: 500
observe_stabilizeNoWait for the UI to settle instead of a fixed delay. Default: false

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only but non-destructive interaction, so the safety profile is known. The description adds genuinely non-obvious behavior: non-ASCII text is delivered via clipboard paste on Android, which implies a clipboard side effect that is not disclosed, nor is the no-focus error case.

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 tight sentences: the core action first, then the non-obvious Unicode/Android mechanism. Nothing is redundant or padded.

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?

With no output schema and full schema coverage, the description only needs to cover what structured fields cannot. It handles the non-obvious platform behavior but omits failure behavior when no field is focused and the clipboard side effect.

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 100%, so all seven parameters including verify, observe modes, and observe_delay_ms are already documented with defaults. The description adds no parameter-level meaning beyond the schema, so baseline 3 applies.

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 target ("Type text into the currently focused input field"), which cleanly separates it from siblings like clear_text, tap, or set_clipboard. It does not explicitly name an alternative, but the action and its precondition are unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied through the precondition "currently focused input field" — an agent can infer it must focus a field first, but nothing says when to prefer this over set_clipboard or tap_element, nor what happens if no field is focused.

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