Skip to main content
Glama

iph_swipe

Swipes up, down, left, or right across an iPhone screen or between two points to navigate apps and gestures, with optional drag and duration control.

Instructions

Swipe the finger up, down, left or right across the middle of the screen, or between two points.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "iph_swipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNo
dragNoSlow to a stop before lifting (a drag) instead of flicking.
fromNo
directionNo
duration_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It describes the gesture itself but says nothing about preconditions, whether the swipe is synthesized on a connected device, what happens when both direction and from/to are supplied, or default timing/duration behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler, but 'across the middle of the screen' is vague about the start point and could be tightened to reference the from/to alternative more explicitly.

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

Completeness2/5

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

Five optional parameters at 20% schema coverage, no annotations, and no output schema means the description must explain how to select between the two swipe modes, coordinate conventions, and timing. It covers only the surface gesture description, leaving the agent guessing on parameter interaction.

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

Parameters2/5

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

Schema description coverage is only 20% (only 'drag' is documented in the schema), so the description should compensate. It repeats the direction enum values and implicitly references from/to via 'between two points', but leaves duration_ms, the coordinate system/units for from/to, and whether direction and from/to are mutually exclusive entirely unexplained.

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 (swipe) and resource (finger on screen) and distinguishes two invocation modes: a directional swipe from the middle of the screen, or a swipe between two points. An agent can separate it from iph_tap or iph_pinch, though the phrasing 'between two points' is a hint rather than a stated parameter mapping.

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

Usage Guidelines2/5

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

No guidance on when to choose this over iph_scroll (content scrolling), iph_tap, or iph_pinch, and no preconditions such as requiring an active device connection. The only usage clue is implicit in the four cardinal directions.

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