Skip to main content
Glama

system_diagnostics

Read Android device diagnostics for battery, memory, storage, thermal, logcat, or filtered dumpsys to inspect system health and troubleshoot issues.

Instructions

Read Android host diagnostics (battery, memory, storage, thermal, logcat, or filtered dumpsys).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>"
    },
    "name": "system_diagnostics"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
linesNo
filterNoOptional substring filter for kind=logcat.
serviceNoService name for kind=dumpsys.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, and it does little beyond the word 'Read'. It does not say whether diagnostics require root/adb privileges, whether logcat is a bounded snapshot or a stream, whether any call has side effects, or how large or slow the output might be for each kind.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with a parenthetical enumeration — no filler and no repetition of the schema. The density is appropriate, though the parenthetical list largely restates the enum, which is a minor redundancy.

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?

With no annotations and no output schema, the description must stand alone, and it names all six modes, which is the core need. However, for a multi-mode multiplexed tool it omits mode-specific semantics (which parameters apply to which kind, what the returned data looks like) and any note on privilege requirements, leaving real gaps for an agent calling it blind.

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 coverage is 50%: filter and service are documented inline, and kind is fully enumerated, but 'lines' has only a default of 100 with no stated meaning or which kinds it applies to. The description's phrase 'filtered dumpsys' adds a little context linking filter/service to dumpsys, but it never explains the line-limit parameter that most affects output size.

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 description gives a specific verb ('Read') and resource ('Android host diagnostics') and enumerates the six diagnostic kinds, so an agent knows exactly what domain it covers. It stops short of distinguishing itself from siblings like root_shell or settings_get, which an agent might otherwise consider for the same host-level information.

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 only implied by the enumerated kinds; there is no explicit statement of when to prefer this over root_shell or other siblings, and no exclusions. An agent can infer that 'battery' or 'thermal' requests map here, but the routing decision is left to inference.

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