Skip to main content
Glama

adb_perf_snapshot

Capture memory, frame stats, and CPU usage for any Android app in a single performance snapshot.

Instructions

Capture a performance snapshot for a package: memory usage, frame stats, and CPU info in one call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packageNameYesPackage name to profile (e.g., 'com.example.app')
deviceNoDevice serial
Behavior2/5

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

No annotations are provided, and the description only lists captured metrics without disclosing side effects, permissions required, output format, or whether the operation is read-only. For a tool with no output schema, this is insufficient behavioral context.

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 12-word sentence conveys the tool's purpose and included metrics with no extraneous information. The description is front-loaded and efficient.

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?

Given the tool has no output schema and no annotations, the description should explain the return format or default behavior for the device parameter. It lists metrics but not their structure. The sibling context indicates adb tools, but completeness is moderate.

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 100% with both parameters documented. The description does not add meaning beyond what the schema already provides (package name and device serial), so a baseline score of 3 is appropriate.

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 uses a specific verb ('capture') and resource ('performance snapshot for a package'), lists included metrics (memory, frame stats, CPU), and distinguishes from sibling tools like adb_snapshot_capture that likely handle other snapshot types.

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?

The description implies a convenient single-call alternative to collecting metrics individually, but does not explicitly state when to use this tool versus others like adb_top or adb_heap_dump. No exclusion criteria are provided.

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/fullread/DeepADB'

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