Skip to main content
Glama
Mobile Device Farm MCP

Mobile Device Farm MCP

adb_input_text

Type text into the currently focused field on an Android device via ADB to automate form entry and text input during UI testing or bug reproduction.

Instructions

Input text into the currently focused field (ADB).

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

Input Schema

NameRequiredDescriptionDefault
textYesText to type (spaces must be escaped or use %s)
deviceIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and delivers almost nothing: it does not say whether text is appended or replaces content, what happens when no field is focused, whether Unicode/special characters are supported, or how failures are surfaced. The one useful caveat about escaping spaces lives in the schema, not the description.

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 front-loaded sentence with no filler or redundancy. Brevity is achieved at the cost of substance, but nothing in the sentence itself is wasted.

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

Completeness2/5

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

For an unannotated mutation-style input tool with an undocumented deviceId and no output schema, the definition leaves key gaps: focus precondition, escaping rules, device targeting, and failure behavior. An agent could call it, but not reliably or correctly on the first attempt.

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?

At 50% schema coverage only 'text' is documented (with an escaping note) and 'deviceId' has no description anywhere. The description adds no meaning beyond the schema for either parameter, and notably omits the space-escaping constraint that would most affect successful invocation.

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 ('Input text') and target ('the currently focused field') and tags it '(ADB)', which separates it from siblings like adb_key_event and adb_tap. It stops short of explicitly naming those siblings, so an agent must still infer the boundary between typing text and sending key events.

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 'currently focused field' implies a precondition (something must already have focus) but never states it as a requirement or explains how to establish focus. No alternative is named, so an agent gets implied rather than explicit routing guidance.

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