Skip to main content
Glama

type_text

Types text into the currently focused Android field; tap the target first. Escapes spaces and shell metacharacters automatically.

Instructions

Type into the currently focused text field. Tap the field first. Spaces and shell metacharacters are escaped automatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
deviceNoDevice serial from list_devices (omit when exactly one device is connected).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries full burden. It usefully discloses that spaces and shell metacharacters are auto-escaped, which affects how callers pass input, but omits whether text replaces or appends to existing content and what happens when no field is focused.

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 short imperative sentences, front-loaded with the action and immediately followed by the prerequisite and the escaping caveat. No filler.

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, no-output tool, the description covers the action, the prerequisite step, and an important input-handling behavior. Only edge cases (no focused field, replace vs append) are missing.

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 required 'text' parameter has no schema description. The description partially compensates by noting escape handling, but says nothing about expected text format, length limits, or newline behavior, so it adds only marginal meaning.

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 and target: 'Type into the currently focused text field.' This clearly separates it from tap_text (which taps an element) by scoping it to an already-focused field, though it doesn't name a sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Tap the field first' gives an actionable prerequisite that tells the agent the required prior step, implicitly routing it to tap/tap_text. It stops short of explicit when-not guidance (e.g., 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.