Skip to main content
Glama

android_doctor_battery

Read Android battery level, state of health, cycle count, temperature, voltage, and charging state to diagnose battery condition without making changes.

Instructions

Read-only battery diagnostics (level, SOH, cycles, temp, voltage, charging state).

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
okYes
errorNo
healthNo
statusNo
pluggedNo
presentNo
voltage_mvNo
cycle_countNo
level_percentNo
temperature_cNo
full_capacity_mahNo
design_capacity_mahNo
state_of_health_percentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden, and it does declare 'Read-only' – usefully substituting for readOnlyHint=true and ruling out mutation. It does not disclose prerequisites (does android_connect need to run first?), permissions, or failure behavior, and it says nothing about cost or latency. The field list adds some value but the operational context is thin.

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 the read-only guarantee first and the returned fields in a tight parenthetical. No filler, no restatement of the tool name, nothing that could be cut without losing information.

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 zero-parameter read-only probe with an output schema covering the return payload, the description supplies everything essential: the safety profile and the scope of data. The only gap relevant to an agent is the missing note about needing an active device connection, which matters given the adjacent connect/disconnect tools.

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

Parameters4/5

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

The tool takes zero parameters, so there is nothing for the description to disambiguate; the 4 baseline applies. The enumerated metric list usefully previews what the empty-argument call will yield, which is slightly above baseline.

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 ('Read-only battery diagnostics') and enumerates the exact metrics returned (level, SOH, cycles, temp, voltage, charging state), which makes it clearly distinguishable from android_doctor_radio or android_doctor_system by subject matter. It stops short of explicitly naming a sibling as an alternative, so it lands at 4 rather than 5.

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 the metric list – an agent can infer this is the tool for battery/charging questions. There is no explicit when-to-use or when-not-to-use statement, and no mention of whether a device connection must already exist, which is a meaningful precondition in a doctor/connect/disconnect family.

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