Skip to main content
Glama

type_text

Types text into the currently focused Android field, optionally replacing existing content; tap the target field first. Supports Unicode input for agent-driven emulator automation.

Instructions

Type into the focused field (tap the field first). Unicode is fine. clear=True replaces existing text.

Input Schema

NameRequiredDescriptionDefault
textYes
clearNo
max_wait_msNo
observe_afterNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does disclose useful traits: focus requirement, Unicode acceptance, and that clear=True replaces rather than appends. It says nothing about what max_wait_ms or observe_after do behaviorally, nor about typing into non-editable targets, which is a meaningful gap for an unannotated mutation tool.

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 sentences, front-loaded with the core action and its precondition, with zero filler. Every clause conveys actionable information.

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?

An output schema exists, so return values need not be described, and the core action and clear semantics are covered. But half the parameters are unexplained and there is no failure-mode context (no focused field, non-editable target), which is thin for a four-parameter interaction tool.

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, and it only explains text and clear. The two timing/observation parameters (max_wait_ms, observe_after) get no meaning at all from either schema or description.

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 resource ('Type into the focused field') and distinguishes itself from a plain tap by noting the field must be focused first. It does not explicitly name the tap_text sibling it competes with, so routing still requires inference.

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 parenthetical '(tap the field first)' gives a concrete precondition for use, which is genuine when-to-use guidance. However, it never states when to prefer this over tap_text or what to do if no field is focused, leaving the main alternative unaddressed.

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