Skip to main content
Glama

input_text

Types text into the focused Android field through ADB with best-effort escaping, enabling form entry and UI automation on devices or emulators.

Instructions

Type text into the focused field (best-effort escaping for ADB input text).

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
textYes
serialNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden, and it does add one genuine trait: escaping is best-effort for ADB input text, warning that special characters may not survive. It omits failure behavior when nothing is focused, whether the call is synchronous, and any permission or device-state requirements.

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?

One front-loaded sentence with no filler; the core action leads and the escaping caveat is parenthetical. It is efficient, though the brevity comes partly at the cost of the missing parameter and failure-mode detail.

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?

Return values are covered by an existing output schema, and the tool is a simple single-action input primitive, so the description does not need to explain results. What it omits — serial semantics and no-focus behavior — is modest for a tool of this complexity.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It conveys that 'text' is the string to type, but the 'serial' parameter — clearly a device selector in a multi-device adb context — is never explained, leaving a meaningful gap for a two-parameter tool.

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?

The description gives a specific verb and target: type text into the focused field, which implicitly separates it from siblings like input_tap, input_swipe, and input_keyevent. It does not name those siblings explicitly, so the differentiation is inferred from the verb rather than stated.

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?

The phrase "into the focused field" implies a precondition (a field must already have focus) but gives no explicit when-to-use guidance, no pointer to input_keyevent for key presses, and no note about what to do if no field is focused. Usage is implied rather than stated.

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