Skip to main content
Glama

Input text

input_text

Types text into the focused Android input field via IME; tap the field first and dismiss the keyboard before tapping lower buttons. For native PIN pads, use enter_pin instead.

Instructions

Type text into the currently focused input field via the IME. Tap the field first so it has focus. Afterwards the soft keyboard may cover buttons lower on screen — dismiss it with press_key escape (or back) before tapping them. For native non-IME PIN pads this does nothing; use enter_pin instead.

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": "input_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesText to type into the focused field.
serialNoTarget device serial (adb -s). Optional when exactly one device is attached.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare openWorldHint=false and destructiveHint=false, so the description carries most of the burden — and it does, disclosing the visible side effect (soft keyboard covering lower buttons) and the silent-no-op failure mode on non-IME PIN pads. It stops short of stating whether existing field content is replaced or appended, and whether a failure is reported, which keeps it from a 5.

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?

Three tight sentences: action first, then the focus prerequisite, then the side-effect workaround and the alternative tool. No filler and no repetition of schema details.

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 2-parameter, non-destructive input tool with no output schema, the definition covers the prerequisite, the side effect, the mute failure case, and the sibling to use instead. The main remaining gap is append-vs-replace behavior on a field that already has content.

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% and both parameters (text, serial) are already documented, so the baseline applies. The description only mildly enriches "text" by tying it to the focused field; it adds no format, length, or escaping guidance.

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 text into the currently focused input field via the IME") plus the mechanism (IME), which distinguishes it from press_key, input_key_combo, and enter_pin without needing the 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 an explicit prerequisite ("Tap the field first so it has focus"), a named exclusion (native non-IME PIN pads), and the alternative to use instead (enter_pin). It even prescribes the follow-up action (dismiss keyboard with press_key escape/back) before tapping lower buttons.

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