Skip to main content
Glama

mumu_set_battery

Override an Android emulator's reported battery level, status, or temperature to test low-battery and charging behaviors, or reset it to return battery reporting control to the guest system.

Instructions

Override the reported battery, or reset=True to hand control back to the guest.

Useful for exercising low-battery paths. status: 2 charging, 3 discharging, 4 not charging, 5 full.

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_set_battery"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNo
resetNo
statusNo
vmindexNo
temperatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose that this is a mutation (an override) and that `reset=True` returns control to the guest, which is valuable. However, it says nothing about persistence, whether the value takes effect immediately, permission or device-state prerequisites, or how `level` and `temperature` are validated.

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 sentences, front-loaded with the primary action and the escape hatch, followed by the use case and the code table. Every sentence carries information that is not repeated elsewhere.

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 five-parameter mutation tool with no annotations, no output schema, and zero schema descriptions, the definition covers the reset and status semantics well but leaves three parameters and all operational prerequisites unexplained. It is adequate to invoke the tool in the common case but incomplete for anything beyond that.

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 0%, and the description only explains 2 of the 5 parameters: the `status` codes and the `reset` flag. `level` (presumably battery percentage and its valid range), `temperature` (units are ambiguous for an integer), and `vmindex` (multi-instance targeting) are entirely undocumented in both the schema and the description, leaving the agent to guess.

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 phrase "Override the reported battery" names both a specific verb and a specific resource, and the `reset=True` clause states the inverse operation up front. It is clearly distinguishable from the read-only `mumu_battery` sibling by implication, though no sibling is named explicitly.

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?

"Useful for exercising low-battery paths" provides a concrete scenario for when to call, and the reset clause tells the agent how to undo the override. It stops short of explicit exclusions or prerequisites (such as requiring a booted device), so it falls short of a 5.

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