Skip to main content
Glama

ios_type

Destructive

Types text into a focused UI field on an iOS device or simulator. Specify a ref or target to focus first, optionally clear existing content and press submit.

Instructions

Type into a field, focusing it first when a ref or target is given.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refNoA ref from the last observation, such as 'e7'. Preferred.
textYesText to type. Never a password; see ios_type_secret.
submitNoPress return afterwards.
targetNoPlain description of the element, e.g. 'the Send button'. Used if no ref.
approveNoSignature returned by a previous action_requires_approval error.
idem_keyNoOptional key making a retry a no-op. Pass the same key when repeating an action you are unsure completed.
clear_firstNoReplace the field's contents.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already signal destructiveHint=true and readOnlyHint=false, so the mutating nature is covered. The description adds a useful behavioral detail: it focuses the field first when a ref or target is given. This goes beyond the structured annotations and aligns with them.

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?

The description is a single sentence with no wasted words. The core action is front-loaded and the focusing condition is stated efficiently.

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?

With a complete input schema, output schema, and annotations, the description does not need to repeat parameter or return details. The only notable gap is that the password-related routing to ios_type_secret is not surfaced in the tool description itself, but it is present in the schema.

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 100%, so the baseline is 3. The description adds value by specifying that focusing happens first when a ref or target is provided, which describes the interaction between those parameters. Other parameter details are already well documented in 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?

The description uses a specific verb and resource: 'Type into a field', and adds the focusing behavior when a ref or target is given. This makes the tool's basic purpose clear. It does not, however, explicitly differentiate itself from sibling tools like ios_type_secret or ios_set_value within the description itself.

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 description implies use for typing into a field and clarifies the ref/target focusing condition, but it does not explicitly say when to prefer this over ios_type_secret (for passwords) or ios_set_value. The password guidance appears only in a parameter description, not in the tool description.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/emazaheri/ios-agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server