Skip to main content
Glama
Derrors

iphone-control

iphone_terminate_app

Terminate an app by Bundle ID or display name, then optionally wait for the interface to stabilize and return its elements or a screenshot.

Instructions

结束 App 进程。app 可以是 Bundle ID 或显示名。

Input Schema

NameRequiredDescriptionDefault
appYes
thenNo操作后等界面稳定,再顺带返回界面:elements=元素列表(最多 80 个),screenshot=截图。省一次单独的调用none
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?

No annotations are provided, so the description carries the full behavioral burden. It conveys that the process is ended (a destructive action) but gives no detail on what happens if the app isn't running, whether it is a hard kill or background, or any side effects on app state or user data.

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?

Two short sentences, front-loaded with the action and then the key parameter detail; no wasted wording.

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

Completeness2/5

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

For a five-parameter tool with no annotations, no output schema, and a significant 'then' chaining feature (returning elements/screenshot to save a call), the description is too thin. The core purpose is covered but the post-action chaining behavior and preconditions are left undocumented.

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 description adds genuine meaning for the 'app' parameter (Bundle ID vs display name), which the schema leaves as a bare string. However, it says nothing about the four 'then*' chaining parameters, so it only partially compensates and relies on the 80% schema coverage for the rest.

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?

States a specific verb and resource: ending an app process, and clarifies the app parameter accepts either a Bundle ID or display name. It is clearly distinguishable from iphone_launch_app, though it doesn't explicitly name the sibling.

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?

Usage is implied by the name and verb (terminate a running app), but there is no explicit when-to-use guidance, no mention of iphone_launch_app as the complementary tool, and no preconditions such as the app needing to be running.

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