Skip to main content
Glama
expoli

android-phone-mcp-server

by expoli

scroll_until

Scrolls an Android screen incrementally until a specified element (by text, description, or ID) becomes visible, or until the scrollable container reaches its end.

Instructions

Scroll until a semantic target appears (or the scroll reaches its end).

Uses one-viewport-page scrolling and stops as soon as the container boundary is reached (no useless swipes at the end).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceNoADB serial; omit with a single connected device.
targetYes{"by": "text"|"desc"|"id", "value": str} — the element to find.
directionNo"down" (default) | "up" | "left" | "right" — *content* direction ("down" searches content below the fold).down
max_scrollsNoscroll attempts before giving up (default 10).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description carries the burden. It does disclose a useful behavior: one-viewport-page scrolling and early stopping at container boundary to avoid useless swipes. However, it omits the max_scrolls fallback behavior and does not mention other side effects or failure modes.

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 two concise sentences: the first states the purpose, the second adds a behavioral detail. No wasted words, front-loaded with the main action. It is perfectly sized.

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

Completeness3/5

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

The description covers the core scroll-until semantics and the container-boundary stop condition, but it does not mention the max_scrolls fallback or what happens if neither the target nor the end is reached. With an output schema present, return details are likely covered, but the stop conditions are partially incomplete.

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?

The input schema provides descriptions for all 4 parameters, so the baseline is 3. The description adds no extra parameter-specific context beyond what is already in the schema, so a score of 3 is appropriate.

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 states a specific action (scroll until target appears) and the resource (semantic target). It distinguishes itself from general swipe/scroll tools by focusing on semantic target discovery, but it does not explicitly differentiate from the sibling tool 'scroll_page'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies a use case: scroll until a semantic target is found. However, it does not explicitly state when to use this tool versus alternatives like swipe or scroll_page, nor does it provide exclusion criteria 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/expoli/android-phone-mcp-server'

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