Skip to main content
Glama

type_text

Types text into a focused iOS text field after tapping it, with options to press return or delete characters before typing.

Instructions

Type into the focused text field (tap the field first). Use \n for return.

Input Schema

NameRequiredDescriptionDefault
textYes
deviceNoDevice UDID or name substring. Defaults to the select_device choice, then IOS_DEVICE_MCP_DEVICE, else the single USB-connected device.
submitNoPress return after typing
deleteCountNoPress delete this many times before typing, e.g. to clear a field

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It usefully discloses the focus prerequisite and the newline-to-return behavior, but says nothing about whether text is appended to existing content, what happens when no field is focused, or any error/return behavior.

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, front-loaded with the action and its prerequisite, then the one formatting gotcha. Nothing wasted and nothing buried.

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 4-parameter, no-annotation, no-output-schema tool, the schema already covers device selection and the submit/deleteCount options, and the description covers the focus precondition and newline behavior. The main remaining gap is append-vs-replace semantics, which is only hinted at by deleteCount.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 75% and the schema documents device, submit, and deleteCount well. The description adds genuine semantics the schema lacks: the text parameter's newline handling ("Use \n for return"), which is non-obvious and affects how the agent constructs the payload.

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?

Specific verb (type) plus resource (focused text field), which cleanly separates it from tap/tap_element (used to focus) and from press_button. It doesn't name a sibling explicitly, but the parenthetical prerequisite does the routing work implicitly.

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 a concrete precondition for correct invocation, effectively pointing the agent at tap_element/tap before calling this. No explicit when-not cases or named alternatives, so it stops short of a 5.

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