Skip to main content
Glama
oddlyspaced

Ultimate Android MCP

by oddlyspaced

input_swipe

Simulate a swipe gesture on a connected Android device by specifying start and end coordinates and an optional duration, enabling UI navigation and interaction testing.

Instructions

Simulates a swipe gesture from (x1, y1) to (x2, y2) with an optional duration on the connected Android device. Requires x1, y1, x2, y2 parameters for the start and end coordinates, and an optional duration_ms parameter for the swipe duration in milliseconds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
x1Yes
x2Yes
y1Yes
y2Yes
duration_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/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 states that the action simulates a swipe, but does not mention prerequisites like screen state or device connection details, potential side effects, failure modes, or what happens when duration is omitted.

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 compact and front-loaded, stating the action before the parameter details. It is a single sentence with no filler, though the explicit 'Requires x1, y1, x2, y2' listing slightly overlaps with the schema's required fields.

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 that this is a relatively simple swipe gesture tool with five parameters and no output schema, the description covers the essential calling contract: coordinates, duration, and the target device. It could be improved by clarifying coordinate units and duration default behavior, but it is broadly sufficient for correct invocation.

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 0%, so the description must compensate by explaining the parameters. It does add meaningful semantics: x1/y1/x2/y2 are labeled as start and end coordinates, and duration_ms is specified as an optional duration in milliseconds. However, it omits details like coordinate units or bounds, and partially repeats schema information.

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 is clear and specific: it simulates a swipe gesture from (x1, y1) to (x2, y2) with optional duration on the Android device. The verb and resource are well defined, though it does not explicitly differentiate itself from sibling input tools like input_tap or input_roll.

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?

There is no guidance on when to use this tool versus alternatives such as input_tap or input_roll. The description only explains what the tool does, leaving the agent to infer usage context without exclusions or decision criteria.

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