Skip to main content
Glama

input_text

Types ASCII text into the focused Android field via ADB, with an option to press Enter and submit.

Instructions

Type text into the focused field (uses 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
textYesText to type (ASCII; no newlines)
submitNoPress ENTER afterwards

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does add value by naming the underlying mechanism ('uses adb input text') and by surfacing the focus prerequisite, but it omits what happens on failure, whether a device connection is required, and whether the text is typed into the currently active app or a specific target.

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?

A single tight sentence with the mechanism in parentheses, front-loaded with the action. Nothing is wasted, though there is very little content overall.

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 simple two-parameter input tool with a fully described schema and no output schema, the definition covers the essentials. The only material gap is the absence of any failure or prerequisite context, which is minor given the tool's simplicity.

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 both parameters ('text' with its ASCII/no-newlines constraint, and 'submit' for pressing ENTER) are already fully documented in the schema. The description adds no parameter meaning beyond that, so the baseline of 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?

The description states a specific verb and target: 'Type text into the focused field'. An agent knows exactly what the operation is and that it applies to a focused input, though it does not explicitly distinguish itself from siblings like key_event or tap_text.

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 prerequisite (something must already have focus), which gives an agent a usage cue. However, there is no explicit when-to-use guidance, no comparison to alternatives such as key_event for special keys, and no statement about what to do 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.