Skip to main content
Glama
Derrors

iphone-control

iphone_swipe

Swipe between screen coordinates on a connected iPhone to scroll or navigate, optionally returning UI elements or a screenshot after the screen stabilizes.

Instructions

从一点滑到另一点(点坐标)。向上滑看下面的内容:from_y 大、to_y 小。

Input Schema

NameRequiredDescriptionDefault
thenNo操作后等界面稳定,再顺带返回界面:elements=元素列表(最多 80 个),screenshot=截图。省一次单独的调用none
to_xYes
to_yYes
from_xYes
from_yYes
secondsNo
then_filterNothen=elements 时只列包含这段文字的元素
then_regionNothen=screenshot 时只返回这块区域的放大图 [x, y, width, height](点),例如游戏棋盘
then_settleNo顺带返回界面前最多等几秒让界面稳定(不超过 10)。游戏、地图按画面是否静止判断,消除连锁等长动画可调大,画面一静止就返回

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does little: it never says whether the swipe is instant or flings with inertia, what coordinate space the points live in (screen points vs pixels), or that the swipe acts on whatever is currently on screen. The 'then'-chaining behavior is only disclosed in the schema, not the description.

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?

Two short sentences with the core action first and the directional tip second; nothing is wasted. It is terse to the point of being sparse, but every sentence earns its place.

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?

For a 9-parameter gesture tool with conditional follow-up behavior and no annotations or output schema, the description covers the action and one scrolling recipe but omits gesture dynamics, coordinate frame, and screen-state assumptions. The schema fills in the 'then*' parameters, which keeps this from being inadequate.

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 coverage is 44% and the four coordinate parameters have empty schema descriptions, so the description's note that from_y > to_y means swiping up adds real meaning beyond the schema. However it leaves seconds (gesture duration) and the x-axis untouched, so it only partially compensates for the coverage gap.

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 states a specific verb and resource: swipe from one point to another, with point coordinates. It is clearly distinguishable from siblings like iphone_tap and iphone_long_press by the gesture type, though it never names those siblings explicitly.

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?

It gives one concrete usage recipe (to scroll down, make from_y large and to_y small), which is genuinely helpful directional guidance. It offers no when-not guidance, no prerequisites (app must be foreground?), and no comparison to alternative gestures such as tap or press_button.

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