Skip to main content
Glama

Type safe text on Android

android_type_text

Types text into an Android device through ADB, accepting only letters, digits, spaces, and @ . _ + - / : , to help ensure safe input.

Instructions

Type text through ADB. For safety, only letters, digits, spaces, and @ . _ + - / : , are accepted.

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

Input Schema

NameRequiredDescriptionDefault
textYes
deviceNoADB serial. Omit when exactly one device is ready.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the safety profile is mostly covered. The character allowlist is real added context beyond the hints, but the description never says what happens when disallowed characters are supplied, where the text lands, or whether a focused field is required.

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 short sentences, no filler, with the action stated first and the constraint immediately after. Every clause carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter tool with annotations and no output schema, this is adequate but incomplete: an agent still doesn't know whether a text field must be focused, whether the device must be unlocked, or how invalid characters are reported. Adding those would make the definition self-sufficient.

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 50%: the `device` parameter is documented in the schema, but `text` has only length bounds. The description partly compensates by stating the accepted character set for the text value, though it adds nothing about the device parameter or the 2000-char ceiling.

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 resource ("Type text") plus the transport ("through ADB"), which is clearly distinct from siblings like android_press_key or android_tap. It never explicitly contrasts itself with those siblings, which keeps it short of a 5.

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: an agent can infer this is for entering text into the currently focused input on a device. There is no statement of prerequisites (e.g., the device must be unlocked with a field focused) and no when-not guidance or named alternatives.

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