Skip to main content
Glama

Clear app state

clear_app_state

Reset an app's state on Android and iOS. Android performs a full data wipe; iOS resets permissions, with a full wipe requiring app reinstall.

Instructions

Reset app state. Android: full data wipe (pm clear). iOS: resets permissions (full data wipe needs reinstall).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_idYes
device_idYesDevice id from list_devices (adb serial like 'emulator-5554', or an iOS simulator UDID)
Behavior5/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 disclosure. It transparently states the destructive nature on Android ('full data wipe') and the limited scope on iOS ('resets permissions'), and even notes that a full data wipe on iOS requires reinstall. This is thorough and honest behavioral disclosure.

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 extremely concise: a single sentence plus a platform breakdown. It front-loads the core purpose ('Reset app state') and adds only necessary platform-specific details. Every word earns its place with no repetition or fluff.

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?

The description adequately covers the key contextual aspect—platform-specific behavior and destructive consequences. It does not mention return values or prerequisites, but with no output schema and only two parameters, the description is reasonably complete for a reset operation. A minor omission is lack of guidance on side effects like whether user data is recoverable, but overall it is sufficient.

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

Parameters2/5

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

Schema description coverage is only 50%: device_id has a helpful description, but app_id has none. The description adds no parameter semantics at all, leaving the agent to guess the format or purpose of app_id beyond its name. Despite device_id being well-described, the lack of effort to explain app_id or tie it to the action is a clear gap.

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 the tool resets app state, with specific verbs and resources: 'Reset app state' and platform-specific actions (full data wipe on Android, permissions reset on iOS). This distinguishes it from siblings like stop_app or launch_app, which have different purposes.

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

Usage Guidelines4/5

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

The description provides clear context for when to use the tool (when resetting app state is needed) and explains platform-specific behavior. However, it does not explicitly mention alternatives or exclusions, such as 'use stop_app to just stop the app,' so it misses the higher bar for sibling differentiation.

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/ryanperkins/Manos-MCP'

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