Skip to main content
Glama

swipe

Perform a touch drag from one screen point to another by specifying start and end coordinates and duration. Enables testing gestures like scrolling or navigation on an Android emulator.

Instructions

Swipe from one point to another (pixels)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
x1Yes
x2Yes
y1Yes
y2Yes
serialNoDevice serial (e.g. emulator-5554). Optional when exactly one device is connected.
duration_msNoSwipe duration in milliseconds

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

B3.2/5.0
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 of behavioral disclosure. It only mentions the action and pixel coordinates, but does not reveal side effects, device requirements, or whether it simulates user input in a way that could affect the UI. This is a significant gap 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?

The description is a single, efficient sentence that front-loads the action and key unit detail. No redundant or filler content; it earns its place.

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?

Given the tool has six parameters, no output schema, and no annotations, the description is minimal. It omits essential context like device selection (serial), duration default, and potential side effects. An agent cannot fully understand how to correctly invoke this tool from the description alone.

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 low (33%), so the description must compensate. It clarifies that coordinates are in pixels and implies start and end points, but it does not explicitly map to x1,y1,x2,y2 or explain the role of serial and duration beyond what the schema already states. It adds some value but not comprehensive parameter semantics.

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 the action (swipe) and its target (from one point to another) with the unit (pixels). It is specific and distinguishes itself from sibling gesture tools like tap or long_press by indicating a continuous movement. No tautology or ambiguity.

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 offers no guidance on when to use this tool instead of alternatives, nor does it mention any exclusions or prerequisites. It simply states the operation without contextualizing its selection among the sibling tools.

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

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/Sajinthan/android-emulator-mcp'

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