Skip to main content
Glama
webdriverio

WebDriverIO MCP Server

Official

swipe

Performs a full-screen gesture to scroll content in a specified direction on mobile devices. Use for navigating pages or lists.

Instructions

Performs a full-screen swipe gesture. Direction is content movement — "up" scrolls content upward (finger moves down). For browser scrolling use scroll; for dragging a specific element use drag_and_drop. No error if content cannot scroll further. Mobile-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
directionYesSwipe direction
durationNoSwipe duration in milliseconds (default: 500)
percentNoPercentage of screen to swipe (0-1, default: 0.5 for up/down, 0.95 for left/right)
Behavior5/5

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

Discloses that direction is content movement, full-screen swipe, mobile-only, and no error on impossible scroll. Annotations indicate non-destructive (destructiveHint: false), consistent with description. No contradictions.

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?

Three sentences, tightly written with no extraneous information. Front-loaded with the core action, then usage guidelines and behavior in subsequent sentences.

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

Completeness5/5

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

For a simple gesture tool, the description covers purpose, usage alternatives, parameter details, and behavioral notes. No output schema needed; everything is well-addressed.

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

Parameters5/5

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

Schema has 100% coverage with descriptions for all parameters. Description adds context about direction meaning and default percent values, enhancing understanding beyond schema.

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 it performs a full-screen swipe gesture, specifies direction meaning (content movement), and distinguishes from sibling tools like scroll and drag_and_drop. It also notes mobile-only usage.

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?

Explicitly tells when to use alternatives: 'For browser scrolling use scroll; for dragging a specific element use drag_and_drop.' Also mentions no error if content cannot scroll further, guiding appropriate usage.

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/webdriverio/mcp'

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