Skip to main content
Glama

iphone_set_clipboard

Idempotent

Writes text to the iPhone clipboard so it can be pasted into fields, including long text and line breaks. Use it to transfer formatted text to the device for manual pasting.

Instructions

Put text on the iPhone's clipboard, so it can be pasted (long-press a field → Paste).

Faster than iphone_type for long text and keeps formatting such as line breaks. It replaces what the user
had copied. iOS only lets the automation agent write the clipboard while it is in front, so the screen
switches to it for about a second and then back to the app that was open. Reading the clipboard is
deliberately not offered: it often holds passwords or private text.

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

Input Schema

NameRequiredDescriptionDefault
textYesText to put on the iPhone's clipboard (up to 100,000 characters).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

A4.7/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: it discloses that existing clipboard content is replaced, that the agent's screen comes to the foreground for about a second and then returns to the prior app, and why reading is excluded for privacy. The only mild tension is that overwriting the user's clipboard is arguably destructive while destructiveHint=false, but the description surfaces this explicitly rather than contradicting the annotation.

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?

Front-loads the core action, then layers in the sibling comparison, side effects, and privacy rationale in short sentences. Every sentence carries information an agent would otherwise have to guess.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A side-effecting tool with an output schema and rich annotations, and the description still covers the things structured fields cannot: clipboard overwrite, the transient screen switch, and formatting preservation. Nothing needed to invoke it correctly is missing.

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% and the single text parameter is documented with its 100,000-character limit. The description adds meaning the schema does not: line breaks and formatting are preserved through the clipboard, which affects how an agent should construct the string.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Put text on the iPhone's clipboard") and immediately distinguishes itself from the sibling iphone_type by positioning itself as the faster option for long text. An agent can tell exactly what this does without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly names the alternative (iphone_type) and the condition that selects this tool: long text and formatting such as line breaks. It also states the practical follow-up (long-press a field then Paste) and rules out a related capability by noting clipboard reading is deliberately not offered.

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