Skip to main content
Glama

type_text

Enters text into the focused field on a virtual device, enabling automated form filling and input testing in apps and games.

Instructions

Type text into the focused text field.

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": {
      "device": "<device>",
      "text": "<text>"
    },
    "name": "type_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNoApp id: Android package, Apple bundle identifier; on "mac" the bundle identifier or app name (required there)
textYes
deviceYesDevice id (or exact name) from the devices tool

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.1/5.0
Behavior2/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 and falls well short. It doesn't say whether existing text is replaced or appended, whether an Enter/submit follows, what happens when no field is focused (error vs silent no-op), or how the operation behaves across iOS/Android/mac.

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?

One short, front-loaded sentence with no filler. It is efficient but borders on under-specification rather than tight, purposeful detail.

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 interaction tool with no annotations and no output schema, the definition leaves key agent-relevant questions unanswered: the focus prerequisite, the app parameter's role on 'mac', and failure behavior. It is not complete enough for confident invocation on the first try.

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 67%: device and app have descriptions, but the text parameter is undocumented in the schema, and the description only implies it is the literal string to type. Nothing is added about encoding, special characters, or length limits, so the description adds marginal value over the schema.

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 text into the focused text field.' That distinguishes it from siblings like key (keystroke events) and tap (pointer input) well enough to select it, though it never names those alternatives explicitly.

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 'focused text field' implies a prerequisite that a field must already have focus, presumably via tap or tap_element, but that workflow is left implicit. No when-not-to-use guidance or explicit routing to siblings is given.

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