Skip to main content
Glama
YPYT1

frida-ios-mcp

by YPYT1

swipe

Swipes a direction or path on an iOS device screen. Uses duration in milliseconds to prevent lock traps; resnapshot after swipe unless disabled.

Instructions

Swipe direction or path. Prefer durationMs (e.g. 280). Agent uses seconds; duration>10 is treated as ms (avoids 280→280s lock traps). Clamped ~0.15–2.5s. resnapshot default true (feed browse: set false then one snapshot).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
x0No
x1No
y0No
y1No
durationNoSeconds if ≤10; values >10 treated as ms. Prefer durationMs.
directionNo
durationMsNoPreferred: milliseconds, e.g. 280 → ~0.28s
resnapshotNoDefault true
Behavior4/5

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

With no annotations, the description carries full burden. It discloses key behaviors: duration conversion logic (seconds vs ms), clamping (0.15–2.5s), and resnapshot default. Does not mention destructiveness or side effects, but sufficient for a gesture tool.

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?

Extremely concise; 5 sentences covering purpose, preference, mechanism, clamping, and a use case. No redundant information, front-loaded with clear purpose.

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?

Given 8 parameters and no output schema, the description covers the critical behavioral aspects (duration, resnapshot, use case). Could mention return value or effect on screen, but sufficient for a gesture tool.

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 38% (duration, durationMs, resnapshot have descriptions). The description adds clarity: 'Prefer durationMs (e.g. 280)' and explains the duration handling logic, which goes beyond schema. Other parameters like coordinates are not elaborated, but the main ones are covered.

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?

The description clearly states 'Swipe direction or path', which specifies the verb and resource. It distinguishes itself from sibling tools like tap and double_tap by implying a continuous gesture.

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

Usage Guidelines4/5

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

Provides guidance on preferring durationMs, handling of duration in seconds vs ms, and a specific use case for resnapshot. However, it lacks explicit comparisons to alternatives like tap or when not to use swipe.

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

Install Server

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/YPYT1/frida-ios-mcp'

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