Skip to main content
Glama

mumu_root_restore_system

Restore an Android emulator's /system partition to stock by deleting its overlay diff image; stop the instance first and confirm the permanent deletion.

Instructions

Reset /system to stock by deleting the overlay diff image.

The stock system image was never modified, so removing <vm>/system-diff.vdi on the host is a complete restore and reclaims the space the overlay used.

Stop the instance first — the image is mapped while it runs. Requires confirm=True; the file is deleted, not archived.

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": "mumu_root_restore_system"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
vmindexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations to lean on, the description carries real weight: it discloses that the file is deleted rather than archived, that this is a complete restore because the stock image is untouched, and that the running instance must be stopped because the image is mapped. Only minor gaps remain, such as what happens when confirm is false.

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?

Three short paragraphs, front-loaded with the action and rationale, followed by the precondition and the safety gate. Every sentence contributes: the mechanism explains why deletion is sufficient, and the mapping note explains the stop requirement.

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?

For a destructive two-parameter tool with no annotations and no output schema, the description covers the destructive nature, irreversibility, prerequisite, and confirmation gate. The unaddressed vmindex parameter is the one notable hole for a tool that can target multiple VMs.

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 description coverage is 0%, so the description must define both parameters. It handles confirm well (explains the True requirement and why), but vmindex is never mentioned in either the description or schema beyond a title and default, leaving its meaning and acceptable range unexplained.

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?

States a specific verb and target (reset /system to stock) and explains the mechanism (deleting the overlay diff image), which cleanly separates it from siblings that push, pull, or remount system content. An agent can tell what this does without opening the schema.

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?

Gives a hard operational precondition ('Stop the instance first') and the confirm requirement, and the framing implies usage when overlay changes should be discarded. However, it never routes the agent away from alternatives such as keeping changes via a push tool or fixing permissions via remount, so selection guidance is inferred rather than stated.

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

Deploy Server

Other Tools