Skip to main content
Glama
0x-Professor

Android Forensics ADB MCP Server

by 0x-Professor

capture_dmesg

Capture the kernel ring buffer from an Android device to collect hardware events, driver messages, and security-related logs for forensic investigation.

Instructions

Capture kernel ring buffer (dmesg). Contains hardware events, driver messages, and security-related logs.

Args: output_file: Path to save dmesg output device_id: Optional device serial number

Note: May require root access on some devices.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_idNo
output_fileYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It adds meaningful information that the tool may require root access and describes the content of the captured data. However, it does not explicitly state whether the operation is read-only, potential side effects, or output handling, leaving some gaps.

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?

The description is concise and well-structured: a one-line summary, a brief explanation of log content, a clearly labeled args list, and a note about root access. Every sentence adds value, and the structure is front-loaded with the main purpose.

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?

The tool is simple with only two parameters and an output schema is present, so the description need not explain return values. It covers purpose, parameters, and a key caveat (root access). Minor gaps exist regarding when to use versus alternatives, but overall it is sufficiently complete for this tool.

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 schema has no parameter descriptions (0% coverage), so the description fully compensates by explaining both parameters: output_file as the path to save dmesg output, and device_id as an optional device serial number. This is clear and actionable, though it lacks examples or format details.

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?

The description clearly states the tool captures the kernel ring buffer (dmesg) and lists the types of logs it contains (hardware events, driver messages, security-related logs). The verb 'Capture' plus the specific resource 'kernel ring buffer' makes the purpose unambiguous and distinct from sibling capture_logcat.

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 description implies usage for kernel/hardware/security log investigation, but it does not explicitly state when to use this tool over alternatives like capture_logcat. No direct 'when to use' or 'when not to use' guidance is provided, only inferable context from the log types.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/0x-Professor/DroidForensics-Suite'

If you have feedback or need assistance with the MCP directory API, please join our Discord server