Skip to main content
Glama

iph_key

Presses a single key or key combination, such as return, esc, arrows, or cmd+a, on a physical iPhone to automate keyboard input.

Instructions

Press a key: return, esc, tab, space, backspace, delete, arrows, or a combination like cmd+a.

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": {
      "key": "<key>"
    },
    "name": "iph_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden. It never states where the keystroke is delivered (foreground app, focused field), whether a device connection must exist first, whether the call blocks, or what a failed key name does — only the value domain is disclosed.

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?

One sentence, front-loaded with the action, followed immediately by the value domain and an example — nothing redundant or padded.

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 single-parameter input tool the value domain is covered adequately and no output schema needs explaining. However, with zero annotations the description should also establish targeting context and any preconditions, which it omits.

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 0% and the schema is a bare {"key": string}, so the description does real work by listing the accepted key names and showing the modifier syntax. The only remaining gap is that unrecognized values and case sensitivity are not addressed.

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 names a specific verb and resource ("Press a key") and enumerates the accepted key set plus the modifier-combination form ("cmd+a"), so the effect is unambiguous. It does not distinguish itself from nearby input siblings such as iph_type or iph_tap, leaving that inference to the agent.

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 only implied: the enumerated keys and the "cmd+a" example suggest when this is the right tool, but there is no explicit when-to-use, when-not, or routing to iph_type for free text. The agent must reason about the boundary itself.

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