Skip to main content
Glama

screen_swipe

Swipe on an Android screen using exact coordinates or a directional preset (up, down, left, right), with optional duration and change verification.

Instructions

Perform a bounded native coordinate or deterministic directional swipe.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_xNo
end_yNo
start_xNo
start_yNo
directionNo
duration_msNo
verify_changeNo
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only hints at boundedness and determinism, but does not explain side effects, failure modes, duration behavior, or the role of verify_change. This is insufficient for a swipe operation.

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

Conciseness3/5

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

The description is a single, front-loaded sentence with no wasted words. However, it is under-specified; the brevity comes at the cost of missing critical information, so it earns a mid score for conciseness.

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

Completeness1/5

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

This is a complex tool with 7 parameters, no output schema, and no annotations. The description provides only one line, omitting return behavior, edge cases, and parameter usage. It is far from complete for an agent to use correctly.

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

Parameters1/5

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

Schema description coverage is 0%, so the description must compensate by explaining parameters. It does not mention start_x, end_y, direction, duration_ms, or verify_change at all. The description adds no meaning beyond what the schema structurally provides.

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?

The description clearly identifies the action (swipe) and resource (screen), and distinguishes two modes: coordinate-based and directional. However, the terms 'bounded' and 'deterministic' are vague and not elaborated, slightly reducing clarity.

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 is provided on when to use this tool versus alternatives like screen_tap or screen_long_press, nor when to prefer coordinate versus directional swipes. There is no mention of exclusions or prerequisites.

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/EF-Code/scrcpy-mcp'

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