Skip to main content
Glama

ui_swipe

Perform swipe gestures on an iOS Simulator by providing start and end coordinates, with options for duration and step size.

Instructions

[ios-simulator-mcp] Swipe on the screen in the iOS Simulator

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
udidNoUdid of target, can also be set with the IDB_UDID env var
deltaNoThe size of each step in the swipe (default is 1)
x_endYesThe ending x-coordinate
y_endYesThe ending y-coordinate
x_startYesThe starting x-coordinate
y_startYesThe starting y-coordinate
durationNoSwipe duration in seconds (e.g., 0.1)
Behavior2/5

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

With no annotations provided, the description carries the full burden for behavioral transparency. It only says 'Swipe on the screen' without disclosing coordinate system details, duration behavior, or any effects of the swipe. Key behavioral aspects such as swipe granularity and default duration are left to the schema, making the description insufficient on its own.

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?

The description is a single, clear sentence with no unnecessary words or repetition. It is concise and front-loaded with the action, though it could be argued that the brevity borders on under-specification rather than deliberate conciseness.

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?

The tool has 7 parameters, 4 required, and no output schema. The description gives no usage guidance, no coordinate system explanation, and no indication of return behavior. This is insufficient for an agent to fully understand invocation context and expectations.

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?

The input schema has 100% descriptive coverage for all seven parameters, so the baseline score is 3. The description adds no parameter-specific semantics beyond what the schema already provides, so no additional credit is warranted.

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 uses the specific verb 'Swipe' with the resource 'the screen in the iOS Simulator', clearly distinguishing it from sibling tools like ui_tap and ui_type. It unambiguously states what the tool does.

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?

The description gives no guidance on when to use this tool versus alternatives, nor any prerequisites or exclusions. It simply states the action without any contextual cues.

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/atz-dsampath/rn-sim-mcp'

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