Skip to main content
Glama

reset_app

Clears an Android or iOS app's data and cache without uninstalling it, helping restore a fresh app state for testing or troubleshooting.

Instructions

Reset the application state (clear data/cache) without uninstalling

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "reset_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idNoPackage name or Bundle ID. Defaults to config.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses that data/cache are cleared, but says nothing about irreversibility, whether login/session or user files are lost, whether the app must be stopped first, or whether it is relaunched afterwards — all critical for an operation that destroys state.

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?

A single front-loaded sentence with zero filler; the scope-limiting clause is attached directly to the action, so nothing needs to be skimmed for.

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 simple one-optional-parameter tool with no output schema, the description covers the action but omits the post-state and destructiveness details an agent needs to decide safely. The remaining gap is meaningful because there are no annotations to fall back on.

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?

There is one optional parameter (app_id) and schema description coverage is 100%, including the default-to-config behavior, so the schema does the work. The description adds no meaning about app_id (e.g. what happens if the package is not installed), so the baseline of 3 applies.

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+resource ("Reset the application state") and immediately qualifies what is cleared (data/cache) and what is not done (uninstalling), which effectively separates it from the uninstall_app sibling. It stops short of naming that sibling or other alternatives 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?

The phrase "without uninstalling" implies the use case (clear state while keeping the app installed), but there is no explicit when-to-use / when-not guidance and no pointer to alternatives such as uninstall_app + install_app or check_app_status.

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