Skip to main content
Glama

type_text

Insert text into a focused field or targeted iOS UI element via keyboard input or clipboard paste, including targets from screenshots or element lists.

Instructions

Insert text at the focused field or at a target from take_screenshot or list_elements. Physical keyboard input needs the US layout. Clipboard paste requires approval.

Input Schema

NameRequiredDescriptionDefault
textYes
targetNo
device_idNo
timeout_msNo
input_methodNokeyboard
field_contextNo
keyboard_layoutNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare it is not read-only, not idempotent, open-world, and not destructive. The description adds two behaviors not in the annotations: physical keyboard input requires a US layout, and clipboard paste requires approval. Those are real permission/constraint disclosures that materially affect whether an agent can call it unattended.

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 sentences, no filler, with the core action and target sources front-loaded before the constraint notes. Every clause carries information an agent needs.

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?

For a 7-parameter, non-idempotent input tool with no output schema and zero schema-level descriptions, the definition covers the main path but omits semantics for device_id, timeout_ms, and field_context, and says nothing about failure behavior if the target is stale. Adequate but with clear gaps.

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 description coverage is 0%, so the description must carry parameter meaning. It explains the target's provenance and the keyboard_layout/input_method constraint ('physical keyboard input needs the US layout', 'clipboard paste requires approval'), but leaves device_id, timeout_ms, and field_context unexplained, and does not restate the schema rule that clipboard mode forbids keyboard_layout.

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: 'Insert text at the focused field or at a target from take_screenshot or list_elements.' This tells an agent exactly what it does and where the target reference comes from. It does not differentiate from siblings like fill or tap_text, which keeps it below a 5.

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?

Usage is implied by describing the two target modes (focused field vs. a ref from a prior screenshot/element listing), which is genuinely useful routing information. However, it gives no explicit guidance on when to prefer this over sibling tools such as fill or tap_text, and no exclusion criteria.

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