Skip to main content
Glama
nemanjavlahovic

InstrumentsMCP

ui_swipe

Perform a swipe gesture between two specified coordinates on the iOS simulator. Use ui_snapshot to capture coordinates for targeted interactions.

Instructions

Swipe between two points on the simulator screen. Use ui_snapshot to get coordinates, then swipe between them. For common gestures like scrolling, prefer ui_gesture instead.

Requires AXe CLI: brew tap cameroncooke/axe && brew install axe

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceNoDevice UDID, name, or 'booted'booted
start_xYesStart X coordinate
start_yYesStart Y coordinate
end_xYesEnd X coordinate
end_yYesEnd Y coordinate
durationNoSwipe duration in seconds
Behavior3/5

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

No annotations provided, so description carries full burden. It mentions swipe between points and duration, but lacks details on error handling, return values, or side effects. For a simple gesture, the description is adequate but not fully transparent.

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?

Concise three sentences: action, how-to, alternative, requirement. Front-loaded and efficient with no unnecessary words.

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?

Covers the main aspects: purpose, coordinate acquisition, alternative tool, and installation requirement. Missing details on return behavior or error cases, but sufficient given the tool's simplicity and lack of output schema.

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?

Schema description coverage is 100%, so the description adds little beyond confirming the purpose. It mentions coordinates and duration but does not provide additional meaning.

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 explicitly states 'Swipe between two points on the simulator screen,' using a specific verb and resource. It distinguishes from sibling tools by referencing ui_gesture for common scrolling gestures.

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?

Provides clear guidance: use ui_snapshot to get coordinates, and prefer ui_gesture for common gestures. Also includes a prerequisite for AXe CLI installation.

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/nemanjavlahovic/instruments-mcp-server'

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